Received: by 2002:a05:7412:d8a:b0:e2:908c:2ebd with SMTP id b10csp2280771rdg; Sun, 15 Oct 2023 21:35:13 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHPGvQ4FOLLKo3GJ40WkLBBR6QqHhB8DU8rdPseTJPF8ifPJ4vmmkpiFzhEPV05EGw5M4ND X-Received: by 2002:a17:90a:190f:b0:27d:4d6d:8379 with SMTP id 15-20020a17090a190f00b0027d4d6d8379mr3726995pjg.48.1697430913180; Sun, 15 Oct 2023 21:35:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697430913; cv=none; d=google.com; s=arc-20160816; b=nL4gj6DYmn39u4A5jHKVxpPS6/jlNMZtbYL4Rz7A8FiXatcYUEEzAdWThmSiKpezQu oHBZtmmAuJmEGwSNouElyiCDg400zjZzdoF5rp9ix6bcDgz57zrH6DhNlX1P2bW8dENF KOr54HA24N2kXY64W80HDSrpfTQKjprB0tQcYUU9DNpu0SJ0HKaiijM/Ll6f8sq9XqgV 8wTCJhfuMmKI3sAHKNNn9hsDsEbBQYOztRvawJ4x78pzGm6ewTlgo0+gF8M6lX+nTByW 06hgl1aiKr67wn1svj4beYvbGIQJl0MiVPMUh/VEK8faY1d3y2BOwhio68Z+Q92vLWih g3gQ== 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:dkim-signature; bh=bSd0iZihleDxvFOZsaxICx+5Gnpmhq4IMdOHjX7bja4=; fh=Jy5w/bZ1gfm3t53BmKjTjY4dJyedVdmSgRZL8tWTJNw=; b=J2WqNOYfS+0plfy7owKkhTgnVZZKr2vB5r6ra+ls8RIFB2kj4tEAKc5bE5SBksVmwM 4yQvBdSFvBkYPdIYlON9NK5DhtzluFfDA8eDiVWzq66DVeYxqSq0/Vin622ldfz+yjwh FhMmFy3GoMXl1ws1muXOSk/PyovEEME7ryWQq6WDgOretnL1IYBIZAMfKOtsUNtj9oZN wc1yl2ghv1potHhqR2ayLhMnNfPCKiReTp7EOmIgiTGx+T7CWtns34uKLspd84ibLuq3 YnErwNETmKTawnKlEeYLw9k4EaDGBwsX9J7NR4okWJsUyvLVsa7Sm6XGA/0AxVABGlnJ hz4A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=U0Ci1BHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Return-Path: Received: from pete.vger.email (pete.vger.email. [2620:137:e000::3:6]) by mx.google.com with ESMTPS id 8-20020a17090a004800b00263c4af31f2si3532731pjb.157.2023.10.15.21.35.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 15 Oct 2023 21:35:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) client-ip=2620:137:e000::3:6; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=U0Ci1BHZ; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:6 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id D31B4805DC61; Sun, 15 Oct 2023 21:35:10 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231570AbjJPEeW (ORCPT + 99 others); Mon, 16 Oct 2023 00:34:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231510AbjJPEeV (ORCPT ); Mon, 16 Oct 2023 00:34:21 -0400 Received: from relay5-d.mail.gandi.net (relay5-d.mail.gandi.net [217.70.183.197]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0D6B3D9; Sun, 15 Oct 2023 21:34:12 -0700 (PDT) Received: by mail.gandi.net (Postfix) with ESMTPSA id 940341C0006; Mon, 16 Oct 2023 04:34:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1697430847; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=bSd0iZihleDxvFOZsaxICx+5Gnpmhq4IMdOHjX7bja4=; b=U0Ci1BHZPreo5znGClSqST82AMAFtTX0MsnRBTM7zwqLPx47gVfEPgWBXMrdBXC9POU2R7 uXvi33tyj5xr7hT5yWI4ZoqOC14jHvaYNqOgHCfdX36qhucjzVkFSTESzvipBHMos7MYcL JYxDGBqd5TEEjLikCP9EdzZ/2S9p0f06pIgo066ci27EtJCn8NQX9ATALsqgbtFoq5TlFi zj4Wfp1cdHaXBfGxbAxJLEw3vo3yjN8UIjixbF9tRq7mwOf5Xu2sUrm7ntc4AdOS8Tr/9w hQXqRIOf3AcDg7UrZarf43zTPE4ymGRUaXkiYtxdTVVULbSJICk3dzQKzeBMuQ== Date: Mon, 16 Oct 2023 06:34:05 +0200 From: Alexandre Belloni To: Stephen Rothwell Cc: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the rtc tree Message-ID: <20231016043405279f25d0@mail.local> References: <20231016151522.06839671@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231016151522.06839671@canb.auug.org.au> X-GND-Sasl: alexandre.belloni@bootlin.com X-Spam-Status: No, score=-0.8 required=5.0 tests=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 pete.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 (pete.vger.email [0.0.0.0]); Sun, 15 Oct 2023 21:35:11 -0700 (PDT) On 16/10/2023 15:15:22+1100, Stephen Rothwell wrote: > Hi all, > > After merging the rtc tree, today's linux-next build (powerpc > allyesconfig) failed like this: > > drivers/rtc/rtc-at91rm9200.c:561:13: error: 'at91_rtc_remove' defined but not used [-Werror=unused-function] > 561 | static void at91_rtc_remove(struct platform_device *pdev) > | ^~~~~~~~~~~~~~~ > cc1: all warnings being treated as errors > > Caused by commit > > 48bc8830fbed ("rtc: at91rm9200: Convert to platform remove callback returning void") > > 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=y > > I have reverted that commit for today. > Thanks for the report, this is fixed now. -- Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com