From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 811FCC4740A for ; Tue, 10 Sep 2019 14:16:17 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 55C7D2081B for ; Tue, 10 Sep 2019 14:16:17 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="k6ltvEvs" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 55C7D2081B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=VG7sErn4Q4jwfFkE+ImCcgctsVIhLTLWy1oV99Y39rU=; b=k6ltvEvseHw5uN qhRxul8C1IeOQGoCnbZT7sFnJ1IZuY+vxdFq6ydTvLpMIoFhUueUk3+H2GaaxhcHsZ7Qp+G/WnLPF jX9iWsdZ+a6/K+ppC9Ot+brg5QmKHe779+Gnjlhl6IvlEWlHk3zRySKUnw8+5POXfx6ZPtwRGKGZE 8y5ofbsQHhLVrypU37tCg/9Q30SMtydM+3bFr3avPxwKPTvetueq83o7L7DrMUEoYHdgsIWr9FtVS wH6tuamWdn1nKDug3K3AylCgu+zAzZgetCxbZNKFSkHOxielrFiDnAYgbaOoZgEMyIxqV/RJI5Qhf K3pK/y7eCBtS1EEQtMjQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i7gwG-0001AE-Iv; Tue, 10 Sep 2019 14:16:12 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i7gwD-00014z-6S; Tue, 10 Sep 2019 14:16:11 +0000 Received: from localhost (unknown [148.69.85.38]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 9604424001D; Tue, 10 Sep 2019 14:16:00 +0000 (UTC) Date: Tue, 10 Sep 2019 16:15:57 +0200 From: Alexandre Belloni To: Arnd Bergmann Subject: Re: [PATCH] rtc: meson: mark PM functions as __maybe_unused Message-ID: <20190910141557.GU21254@piout.net> References: <20190906152438.1533833-1-arnd@arndb.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190906152438.1533833-1-arnd@arndb.de> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190910_071609_498916_90CD5059 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-amlogic@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, Alessandro Zummo , Neil Armstrong , Kevin Hilman , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-amlogic" Errors-To: linux-amlogic-bounces+linux-amlogic=archiver.kernel.org@lists.infradead.org On 06/09/2019 17:24:29+0200, Arnd Bergmann wrote: > The meson_vrtc_set_wakeup_time() function is only used by > the PM functions and causes a warning when they are disabled: > > drivers/rtc/rtc-meson-vrtc.c:32:13: error: unused function 'meson_vrtc_set_wakeup_time' [-Werror,-Wunused-function] > > Remove the #ifdef around the callers and add a __maybe_unused > annotation as a more reliable way to avoid these warnings. > > Signed-off-by: Arnd Bergmann > --- > drivers/rtc/rtc-meson-vrtc.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id E1B54C4740A for ; Tue, 10 Sep 2019 14:16:03 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id C19902081B for ; Tue, 10 Sep 2019 14:16:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730568AbfIJOQD (ORCPT ); Tue, 10 Sep 2019 10:16:03 -0400 Received: from relay10.mail.gandi.net ([217.70.178.230]:48755 "EHLO relay10.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbfIJOQD (ORCPT ); Tue, 10 Sep 2019 10:16:03 -0400 Received: from localhost (unknown [148.69.85.38]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 9604424001D; Tue, 10 Sep 2019 14:16:00 +0000 (UTC) Date: Tue, 10 Sep 2019 16:15:57 +0200 From: Alexandre Belloni To: Arnd Bergmann Cc: Alessandro Zummo , Kevin Hilman , Neil Armstrong , linux-rtc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] rtc: meson: mark PM functions as __maybe_unused Message-ID: <20190910141557.GU21254@piout.net> References: <20190906152438.1533833-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190906152438.1533833-1-arnd@arndb.de> User-Agent: Mutt/1.12.1 (2019-06-15) Sender: linux-rtc-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rtc@vger.kernel.org On 06/09/2019 17:24:29+0200, Arnd Bergmann wrote: > The meson_vrtc_set_wakeup_time() function is only used by > the PM functions and causes a warning when they are disabled: > > drivers/rtc/rtc-meson-vrtc.c:32:13: error: unused function 'meson_vrtc_set_wakeup_time' [-Werror,-Wunused-function] > > Remove the #ifdef around the callers and add a __maybe_unused > annotation as a more reliable way to avoid these warnings. > > Signed-off-by: Arnd Bergmann > --- > drivers/rtc/rtc-meson-vrtc.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.5 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_SANE_1 autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id B2590C4740A for ; Tue, 10 Sep 2019 14:16:21 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 892B12081B for ; Tue, 10 Sep 2019 14:16:21 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="uhNAZ8oh" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 892B12081B Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bootlin.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=iDEGDINDi/eXAa8ukGAU96waUhqmqgTqK3Fc53hlYKs=; b=uhNAZ8ohpAU/I/ zs6CpmAqRSA1dmkMdbTvgZN7XYGeA2ajhBQhvk/caCTwo9mPgj4hBhujsBshwcImGiTOa+R7Hh7wj Je3TjsvVZtb/JzgGDA5l4uzRb4Jkl/2xjKX/m6fZf+sDZxCUlQ9m6VN2up8WRpuXDVjqOOifAzq0Q ToNAie/x3Y5N0CNdln4y/e9Yk1/BNzj8XDNSy+JfaFbFZtE2+ggo3Y09Z/Ci61gE4B5GPS9Zs1NVZ 3/ue08BCBH/8jwg4YxJIZ2hT5prG+b0A31DhfQGBKJFeYAu561IAtdAlWT30VvmlMyZ25t6t6YnK9 gdDtmIEwkL8RBZAm4HzA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1i7gwJ-0001BZ-DD; Tue, 10 Sep 2019 14:16:15 +0000 Received: from relay10.mail.gandi.net ([217.70.178.230]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i7gwD-00014z-6S; Tue, 10 Sep 2019 14:16:11 +0000 Received: from localhost (unknown [148.69.85.38]) (Authenticated sender: alexandre.belloni@bootlin.com) by relay10.mail.gandi.net (Postfix) with ESMTPSA id 9604424001D; Tue, 10 Sep 2019 14:16:00 +0000 (UTC) Date: Tue, 10 Sep 2019 16:15:57 +0200 From: Alexandre Belloni To: Arnd Bergmann Subject: Re: [PATCH] rtc: meson: mark PM functions as __maybe_unused Message-ID: <20190910141557.GU21254@piout.net> References: <20190906152438.1533833-1-arnd@arndb.de> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20190906152438.1533833-1-arnd@arndb.de> User-Agent: Mutt/1.12.1 (2019-06-15) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190910_071609_498916_90CD5059 X-CRM114-Status: UNSURE ( 9.68 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-rtc@vger.kernel.org, Alessandro Zummo , Neil Armstrong , Kevin Hilman , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 06/09/2019 17:24:29+0200, Arnd Bergmann wrote: > The meson_vrtc_set_wakeup_time() function is only used by > the PM functions and causes a warning when they are disabled: > > drivers/rtc/rtc-meson-vrtc.c:32:13: error: unused function 'meson_vrtc_set_wakeup_time' [-Werror,-Wunused-function] > > Remove the #ifdef around the callers and add a __maybe_unused > annotation as a more reliable way to avoid these warnings. > > Signed-off-by: Arnd Bergmann > --- > drivers/rtc/rtc-meson-vrtc.c | 7 +++---- > 1 file changed, 3 insertions(+), 4 deletions(-) > Applied, thanks. -- Alexandre Belloni, Bootlin Embedded Linux and Kernel engineering https://bootlin.com _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel