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=-3.8 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 autolearn=no 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 E7D37C43331 for ; Fri, 6 Sep 2019 16:56:28 +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 BE2A520838 for ; Fri, 6 Sep 2019 16:56:28 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="MeVjdiB6"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="fC8CMseB" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BE2A520838 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.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:MIME-Version:Message-ID:Date:References :In-Reply-To:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=gv4czL54NXQmlvWFz8BQxQvkAoIEjGdHxCBKwdC68ns=; b=MeVjdiB699K5im Dcx/6qsWGP+uQwDZK0eXYYp2tyFns+ndYGsqRnvaZTI5Xyb2K9Onjw0vwR9S2qU6R1TahfnmXNqvu +jvtWKyGQoIiTKcsoVFG9lF8Hv9C+UEIqR9M5+qoC69+R1ga7tbevZIiRy5+17SFvGUBPIVP5jxJG /zuGTq7ddfcZoZ6LigBIBN9/Ybrt0LzZ+gxtykBeNeJD1Vyj2qjY5RQDjZXVLN+brje5fB/HkrhMM thKNKY8fKpjCqzYWbyAwoW4DMu7cYCgYwBt6Xla6VMpNt/Gf//XXMkqBHozuGS7drEfqHGfv3aWEf pX+YLQhu8v5u4IRdOJQg==; 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 1i6HWz-0006mH-WA; Fri, 06 Sep 2019 16:56:18 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1i6HWw-0006lK-Bq for linux-amlogic@lists.infradead.org; Fri, 06 Sep 2019 16:56:16 +0000 Received: by mail-pg1-x541.google.com with SMTP id p3so3807383pgb.9 for ; Fri, 06 Sep 2019 09:56:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:in-reply-to:references:date:message-id :mime-version; bh=khSISmDs8BJQ4FTYTxZnbVWIBB1FiQsVmFwhUOKpZSM=; b=fC8CMseB6BVuogyR2ZnoGXAzlmprqs0RnjlaUVhsO9bmGmb0nKhxhAVrn3gPPV/PYP 56oRNaUcfjBU9HpWd/dakx4VbHzqZv8e6jsppXkCTh11JRPQsPZftZeTXfdktv60CR2T hyNO9VdPrZg6YjEphv1OthPcXOxKq00gdUin3fAbqosi206DNtuJIgb3OT6fqRDndBBq jeU/i7O5wrfUA7KmFi+CCNTJ3jkO2CFsoK/yN03UvvBtuzXSj68uz913/WegIDkpk+FU pc8OjttkDKFRwHI+dapGTtDmQlAieCTqq4rpwUgC+m5it3R1fLYRf1pPJ0sLGir4KMI8 D4Ug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version; bh=khSISmDs8BJQ4FTYTxZnbVWIBB1FiQsVmFwhUOKpZSM=; b=l1UAJ1oqogf92tKzubRUExKDyHqm5rQHIzPx6jWpqszZ/T/fZ6F7zsOlC1/vzK2E/n YSUB43IKUBJIkFWnOKpDMYFhJZysBmIGX23Ll5J2EBHyD24z0YzSUBF6jjDoQ01Y0W9X Fch5JOX+kYnMYwhZZ6yk1XVzOiKVQVxo+zaHuvb/0zQ5s6Fs8srzpn8fT5HXa+W5UGrz ehtVoh05zb/RLPo9nNIMQfwnQs8c11U+39CGBaThhTgpBDR8GJfU/ZfSUPiqrfznVOwR D2z7wPuo6StV2QcTVcTvj+zfenNusbspgxh8sAqltggmpn+RXnTwL+uqBTLmglyhv1T2 PCfA== X-Gm-Message-State: APjAAAXG5yPPdGD+eI4++C2peAK7e/LVfAimlRgOVg2ptAMuNS5YzQKr eKv6O4rKi2qT38UuyXJKGwHuYQ== X-Google-Smtp-Source: APXvYqxHMfju2ZwUAufiqyWRVABILob2U6DZ8JT+r0SfPfvsaI+o2zremKpT6Ldth18K0bYYbX6+NA== X-Received: by 2002:a62:524a:: with SMTP id g71mr11734144pfb.154.1567788972891; Fri, 06 Sep 2019 09:56:12 -0700 (PDT) Received: from localhost (c-71-197-186-152.hsd1.wa.comcast.net. [71.197.186.152]) by smtp.gmail.com with ESMTPSA id u9sm6435931pfn.29.2019.09.06.09.56.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 06 Sep 2019 09:56:12 -0700 (PDT) From: Kevin Hilman To: Arnd Bergmann , Alessandro Zummo , Alexandre Belloni Subject: Re: [PATCH] rtc: meson: mark PM functions as __maybe_unused In-Reply-To: <20190906152438.1533833-1-arnd@arndb.de> References: <20190906152438.1533833-1-arnd@arndb.de> Date: Fri, 06 Sep 2019 09:56:11 -0700 Message-ID: <7h1rwtict0.fsf@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190906_095614_433851_F737D105 X-CRM114-Status: UNSURE ( 7.07 ) 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, Arnd Bergmann , Neil Armstrong , 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 Arnd Bergmann writes: > 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 Reviewed-by: Kevin Hilman _______________________________________________ linux-amlogic mailing list linux-amlogic@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-amlogic