Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2328856rdg; Mon, 16 Oct 2023 00:12:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEe4l3lA1Id6VoWK5JEJE3V0I+TmEHNciQ6GNnG6KP4NgqUKHQhZbLACdoDa87QZ/EoF1Ae X-Received: by 2002:a17:902:e20c:b0:1c9:fdf0:f69 with SMTP id u12-20020a170902e20c00b001c9fdf00f69mr6918924plb.63.1697440339864; Mon, 16 Oct 2023 00:12:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697440339; cv=none; d=google.com; s=arc-20160816; b=P8zzPB8RiBC28kTBRLBuupjtcQIZF6FwS2k0EtUl3tQ/Mk4v0FLDwDa57yiuMkeKZ4 VQsfEq4C13tVHNF72ocXoAMH643qaN6wmJ93+7+GExRq9NlAk99bGHOl3K2TYtH8bTBE yCyLmGQAUuBtKQ2OSAtyy2sj2GLNxr/Uil+L0waDshSmXLBqiiJSvmWuErVcPooNjyG3 /NK6qAqi93TYwnVj5BdO/lN0RWTLhUZon74mG+LZRKsVEMyFT5ZcB0wejg2ZwCJfq8Q2 RQA9n5k6uEfAErEwk2d5I7DVAg6HHvosVSKAheVVMpdxHjatwTi8eJwLQN/NARclMXFN 3XJg== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=kCNCodJySxMQZxuxpI+srDHjxEtZnqf1zxSZYWaBH/I=; fh=LCT9G9eQQ7EEMfCnVqgMwVzZkpnFvYjr92WIozNwCpk=; b=uCAdBR/Evddj3O1DAqZqhUFta1bkdBUXknAGacEQ2y3qgIe27IiDvoZ7CNsR1BcFt/ g383Nt+bKPyigz4BiwiM0R0xZaYllP5Iw5fv+4nBEQqf0pFP4dcw3b2ac1HWRWfr809g xB6ViIoByfpxvf0ZtU8omkM1GslhHFD53SCDZq2d7E78gVYpKAPPC3Y+ZIQip0/hSrCJ PgNpG2p2LMWBEpb2cmbb+aeSOmgKHNtjodSfsaCHq1pCPhGY8Y+Vy108WySzQDh0PcuP yVa0OBI4CmARhZr1+kccq+QDB7zPQYo52peWTV4b+r7xE6IUfktBY6N1CJ6JNGaj+j2S xPoA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from groat.vger.email (groat.vger.email. [23.128.96.35]) by mx.google.com with ESMTPS id t10-20020a170902bc4a00b001bde0b58abesi9623773plz.161.2023.10.16.00.12.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Oct 2023 00:12:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) client-ip=23.128.96.35; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.35 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by groat.vger.email (Postfix) with ESMTP id 5E83580613BC; Mon, 16 Oct 2023 00:12:16 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at groat.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232039AbjJPHMB (ORCPT + 99 others); Mon, 16 Oct 2023 03:12:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39672 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231679AbjJPHLz (ORCPT ); Mon, 16 Oct 2023 03:11:55 -0400 Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [IPv6:2a0a:edc0:2:b01:1d::104]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEF24D9 for ; Mon, 16 Oct 2023 00:11:51 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qsHlV-0000n2-Mj; Mon, 16 Oct 2023 09:11:49 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qsHlV-0021r9-0P; Mon, 16 Oct 2023 09:11:49 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1qsHlU-00GxgF-Nc; Mon, 16 Oct 2023 09:11:48 +0200 Date: Mon, 16 Oct 2023 09:11:44 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Stephen Rothwell , Alexandre Belloni Cc: Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the rtc tree Message-ID: <20231016071144.7nklsco5tszvgotw@pengutronix.de> References: <20231016151522.06839671@canb.auug.org.au> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="rvsjrlvlvktkge5m" Content-Disposition: inline In-Reply-To: <20231016151522.06839671@canb.auug.org.au> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-0.8 required=5.0 tests=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 groat.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 (groat.vger.email [0.0.0.0]); Mon, 16 Oct 2023 00:12:16 -0700 (PDT) --rvsjrlvlvktkge5m Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Mon, Oct 16, 2023 at 03:15:22PM +1100, Stephen Rothwell wrote: > After merging the rtc tree, today's linux-next build (powerpc > allyesconfig) failed like this: >=20 > drivers/rtc/rtc-at91rm9200.c:561:13: error: 'at91_rtc_remove' defined but= not used [-Werror=3Dunused-function] > 561 | static void at91_rtc_remove(struct platform_device *pdev) > | ^~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors >=20 > Caused by commit >=20 > 48bc8830fbed ("rtc: at91rm9200: Convert to platform remove callback ret= urning void") Ah, yes, sorry I missed that. That's what my coccinelle patch does (for reasons unknown to me). For some other patches I noticed that, but this one slipped through. > This function lost its __exit attribute (which includes a "used" > attribute) and exit_p(x) is NULL when not being built with > CONFIG_MODULE set. This build has CONFIG_RTC_DRV_AT91RM9200=3Dy The better fix is to add the __exit again and I see that's what Alexandre did in his rtc-next already. Thanks for cleaning up after me, Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --rvsjrlvlvktkge5m Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmUs4i8ACgkQj4D7WH0S /k7hXwgArrKoKYfLJLvcl5mj5813lgHjY9Fy00tjhBTZ2Hj2bHx/8rAcECwg0cj1 R1FkqOgRC5NEfP6ubCt1a+1WmPYzJ20NiP2M2wWkpuXrR/6gHCb6Djs3xzQbC+Sb n6s0Ij1iqylbCmoAtyNLNPbHs2igbXpmPItvdUTq0K22AF4oAnAifojTCC4bu/tr 3jsUORj4zWb4cZ1/Nr85yUgHZlzQ1BOWbrQ1bJATuHGG4LrtMQt5u/BIH0I8Ue5i hv/FCPNxRLVbcTXwMIhZ35I7Qs2vzRo5qRZAm8SvRWCaIj0AnogAecOS0pl1zOZq E8LKa/Zzbt0aWoMugAn2kZ7ygtgBrA== =e5GS -----END PGP SIGNATURE----- --rvsjrlvlvktkge5m--