Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp1963093rwd; Mon, 15 May 2023 05:40:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ5X2aVGzKHGdhgMjZlqeYPSB0SiuqaLjItwEnNQpWHyKlhFEUcRP06OGwfwBEfIgWOgD65R X-Received: by 2002:a17:902:be01:b0:1a8:1c9a:f68 with SMTP id r1-20020a170902be0100b001a81c9a0f68mr33666769pls.36.1684154426803; Mon, 15 May 2023 05:40:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684154426; cv=none; d=google.com; s=arc-20160816; b=kpO+M3q2h4j2KwpQKfad2EYbl70Q3ABC376pcAyla2+qu1rXlXBPLChKaZvkgtcnIi vg5Rc+E69sj+ZjAKrIL8Rsjlqg9rR0+g8LUgkXvdkRoDTXRFuokpiavxpaC5+SgBwo2C 80sZEriuLxDpcaf1fg13MEaUhITY+14WmV8NpO4efdV8e2FuiPPPppXCa1ASLpomVNZs 6Ca1w420lHdUaiv/RaMoulQmGIwb9eyRp/kdFPCKMcdISTa2TGyc5rBXksonrIb4E/ht +HWTR4rscLi7v+4wRJy8eh7D5VD5zQJthkduGLZkDoN+teLGLJfAJNEaGdNfjHicDQz8 wWRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=6iDuQOxysAUotGk9sOgWNQxOXIn+g91pprAEjUdTh3c=; b=VF/bSuInMrnzfa8ciP2VjA4lJMqHv1DxDs1UB+WASGGIbTlJaGsb5RIrbepVUbzgwz qSKTaRTqMQgtR1dfPpjQXAMTDELN07Q13BhHQPNqT7K67uokPvfJPxYv58T3mQnoA4pt KxGqhnYcF1xER7xxYwAt+YQrlw2plR9ZtXHPAjhXe66XZjx4Uf6NlYCHCBwqykC25VLh kdFWl1b1jm6gVst1KOeSLnj8RMje9xDbPShhMb5GVawkQhXdGeGJC/fIVrfjJvV7T52j nPgZzgmf4hM301ZOS9c8rsUxRtJ66It31+TYlakQfElFt89oNIce0V1GTArbch9mpTKr kcmw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z6-20020a170903018600b001ab115a868esi17283708plg.49.2023.05.15.05.40.13; Mon, 15 May 2023 05:40:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241511AbjEOMYB (ORCPT + 99 others); Mon, 15 May 2023 08:24:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229679AbjEOMX7 (ORCPT ); Mon, 15 May 2023 08:23:59 -0400 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3882CE5A; Mon, 15 May 2023 05:23:58 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 48E6D80DE; Mon, 15 May 2023 12:23:57 +0000 (UTC) Date: Mon, 15 May 2023 15:23:56 +0300 From: Tony Lindgren To: Geert Uytterhoeven Cc: Greg Kroah-Hartman , Jiri Slaby , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] serial: 8250: omap: Move uart_write() inside PM section Message-ID: <20230515122356.GI14287@atomide.com> References: <20230515065706.1723477-1-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230515065706.1723477-1-geert@linux-m68k.org> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Geert Uytterhoeven [230515 06:57]: > If CONFIG_PM is not set (e.g. m68k/allmodconfig): > > drivers/tty/serial/8250/8250_omap.c:169:13: error: ‘uart_write’ defined but not used [-Werror=unused-function] > 169 | static void uart_write(struct omap8250_priv *priv, u32 reg, u32 val) > | ^~~~~~~~~~ > > Fix tis by moving uart_write() inside the existing section protected > by #ifdef CONFIG_PM. OK thanks for fixing it: Reviewed-by: Tony Lindgren