Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp993283rdb; Fri, 20 Oct 2023 05:47:48 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEl1M+MyrV9WTRWZ85p+lJ44XQSmQ9oGUN4+TZlusBZzc692mp8jq98As03TBCm4XL7m8Tp X-Received: by 2002:a17:90a:7887:b0:27d:32d8:4683 with SMTP id x7-20020a17090a788700b0027d32d84683mr1828331pjk.5.1697806068027; Fri, 20 Oct 2023 05:47:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697806068; cv=none; d=google.com; s=arc-20160816; b=NSAeyiVnmymgaidJwFRBfAh5jKMvkas18U0ddAkyT96lq5xOFf8Xim5JbvuNVQJysV /vTz0480h2XAKXimkhESkutpP2M2VbCbYjU7XzJkuwcnXggLDBc5hlEj/jmFZSo+O9DA ttZvpS4hhDhIq6kwA2R6rjxYo1kq7EOgMPogHV7mlruu5yXfWZuTr02WEhcVdH5tcQJv vFkkRglKDdBYrbyYOjPr6MxRJOBHUJc0ea4RsBbRcpL8dfgnuGE2OTP5QorFAcW3SDj4 jnGlVDuq9wSDVF19Th5RRWxi305I7XeZQB4jy3yWL+iz3Vq2mmmEeOih64ln7vsydWQX YvmA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to :organization:from:references:cc:to:content-language:subject :user-agent:mime-version:date:message-id:dkim-signature; bh=JPLikp7IP3AaSNpydd+VWqS1R4OixNQ8B05M2j0WPM8=; fh=Nv2mHifAPJxOXTgmGdM9VaDzn7vocMYFv1x/0+klwh8=; b=n12cnyh66w3zOAO5V3IGVKsBIhAoGB0xU+8mR3whhrRebx0tAfRmOqovTNQVS8HtqI pCOX8aObWaVeDCmo02TMtxvYHHcC6c7oiKrgeO3VEC7h8M7Fay8/kQiQkLsn3As7GP/W EKIavskR2Rr2OB+tYWajllpK9QP0aUtdQvOzV7DTtKSQHhPEfvn3iSnEcn539hxE+NbW QaNErgphSPNInFiuoOA0vKX6NAaGueATIWUNZZC/f8WbIA72/Rq1R0OSeSbaEDhbFGmr 6LbKu0kbq++qNmuqUOemPiyv3rCaWOI6KcG2X+joTrX9BCAutjGXkiwDv27YlIg+1FN+ JsEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=eg5kLCVl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id s4-20020a17090ad48400b0027749a98350si4419045pju.159.2023.10.20.05.47.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 05:47:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@microchip.com header.s=mchp header.b=eg5kLCVl; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=microchip.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 4F27683C3F50; Fri, 20 Oct 2023 05:47:44 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377276AbjJTMrc (ORCPT + 99 others); Fri, 20 Oct 2023 08:47:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33160 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376956AbjJTMrb (ORCPT ); Fri, 20 Oct 2023 08:47:31 -0400 Received: from esa.microchip.iphmx.com (esa.microchip.iphmx.com [68.232.153.233]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4D7291; Fri, 20 Oct 2023 05:47:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1697806050; x=1729342050; h=message-id:date:mime-version:subject:to:cc:references: from:in-reply-to:content-transfer-encoding; bh=aXXmqAMTaJ9llNy54dgQduDOBZlBWnWwsrEn2k0KPf8=; b=eg5kLCVlCOr3dgpo9WjJh9IIJFJmumbk9VYowJyA9dkPsuUZFeFwEeYl 2yk1xe4OkVjiZJSAN3AfRJ6dMc9p6Pi+iUC7wKlwx3Red9f4Hasc5K93G j7MOZ+btxuN3lc/2lZeSV0L+pVmb9K4N7EAcJpNSCGv49b1UZrkTwAs4j PjPbpqNepjcwsZi3u5p/SE5lVX5/ZVxafCIwW5I7m2gVWba8/MsBxmmjs wnJbZKGXdw324vzB6x+WtQMNfKuP6KHgR8nVXNJHRccs+e449RBMgMg0r 83Sj/ieO7YiwULP+eSe3Drk630ECNK+9X3n9yR7aStY2G4VUvYNWMimrk w==; X-CSE-ConnectionGUID: j5zftE2fQGeYR+MQxGrMGg== X-CSE-MsgGUID: iEkiYNzOQ1W2SQf1bIdoew== X-ThreatScanner-Verdict: Negative X-IronPort-AV: E=Sophos;i="6.03,238,1694761200"; d="scan'208";a="10428489" X-Amp-Result: SKIPPED(no attachment in message) Received: from unknown (HELO email.microchip.com) ([170.129.1.10]) by esa3.microchip.iphmx.com with ESMTP/TLS/ECDHE-RSA-AES128-GCM-SHA256; 20 Oct 2023 05:47:29 -0700 Received: from chn-vm-ex01.mchp-main.com (10.10.85.143) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.21; Fri, 20 Oct 2023 05:47:11 -0700 Received: from [10.159.245.205] (10.10.85.11) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server id 15.1.2507.21 via Frontend Transport; Fri, 20 Oct 2023 05:47:10 -0700 Message-ID: Date: Fri, 20 Oct 2023 14:46:43 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] rtc: at91rm9200: annotate at91_rtc_remove with __exit again Content-Language: en-US, fr-FR To: , Alessandro Zummo , Claudiu Beznea CC: kernel test robot , , , References: <20231016041816.246426-1-alexandre.belloni@bootlin.com> From: Nicolas Ferre Organization: microchip In-Reply-To: <20231016041816.246426-1-alexandre.belloni@bootlin.com> Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Fri, 20 Oct 2023 05:47:44 -0700 (PDT) On 16/10/2023 at 06:18, alexandre.belloni@bootlin.com wrote: > From: Alexandre Belloni > > Without __exit, having the driver as a builtin after dropping the __exit > annotation results in: > >>> drivers/rtc/rtc-at91rm9200.c:561:13: warning: 'at91_rtc_remove' defined but not used [-Wunused-function] > 561 | static void at91_rtc_remove(struct platform_device *pdev) > | ^~~~~~~~~~~~~~~ > > Reported-by: kernel test robot > Closes: https://lore.kernel.org/oe-kbuild-all/202310160705.vlElNOGb-lkp@intel.com/ > Signed-off-by: Alexandre Belloni Acked-by: Nicolas Ferre Thanks Alexandre, best regards, Nicolas > --- > drivers/rtc/rtc-at91rm9200.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/rtc/rtc-at91rm9200.c b/drivers/rtc/rtc-at91rm9200.c > index 3f5ff9867c02..c16fe711a0d9 100644 > --- a/drivers/rtc/rtc-at91rm9200.c > +++ b/drivers/rtc/rtc-at91rm9200.c > @@ -558,7 +558,7 @@ static int __init at91_rtc_probe(struct platform_device *pdev) > /* > * Disable and remove the RTC driver > */ > -static void at91_rtc_remove(struct platform_device *pdev) > +static void __exit at91_rtc_remove(struct platform_device *pdev) > { > /* Disable all interrupts */ > at91_rtc_write_idr(AT91_RTC_ACKUPD | AT91_RTC_ALARM | > -- > 2.41.0 >