Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2483264rwb; Thu, 27 Jul 2023 07:51:47 -0700 (PDT) X-Google-Smtp-Source: APBJJlHe2gddh3nqXBsc37twGFjJubbC4gf8xuJwDq4ZtFWq6GBxahQhNS7Blrl6MXs+NkaiZDMe X-Received: by 2002:a17:902:b686:b0:1b6:9fec:8134 with SMTP id c6-20020a170902b68600b001b69fec8134mr4547240pls.46.1690469507450; Thu, 27 Jul 2023 07:51:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690469507; cv=none; d=google.com; s=arc-20160816; b=puKvIyQ6hjjCDRwf9bE/QokSoA0VDm0j2mOsbEc4aFeUOX7SD1O9cZqsrEIFS9ZAE9 0/DCLIBkYR9y/30U7d/EUmWIMeIGAdKBTXP+9jNsUukxNimcSrmWoZiNO9o3BpKhqf+H 28Ug2Y/rSCuj7dkg7qzbCLMjpi9a+GCRCdkdSlcmEY2Sm/qSLA0aqDdej0xnvyLqTHii i9OdKSxbx4n6fxYwsId+WfaH72r9w5cQmVkYYqqKNq0qNfQTKzHwJ4tUpFMYt3Pc7qpV drXRUopMQ7jmJnF98zmY/c4VAJcnUkxq1no/zUcDAyFCNl2aP/fiJHAZGI1kTGAsJ5Zi SwLQ== 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:reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Furtte2NRfocsvmSkEV44HCsZysk5nH9YgiVcQ7+Njo=; fh=NdZwJAkbCkWo2nktyTBqGqVlkbmjI00tTeBRULj97EM=; b=NhJJgdbp5ZBYBtrPADRDkgvc2/QWG32mP0csZYR08LnzZpphEMgcmmxTWiqnMpSTVB RIjRAm1TAdcd+/lh35PPojbabdJtaf1qgeEVSb8Wj8HhzBsZ5vxGm1qimPZLgQiyEngU k5ViR/UHd7rHsXgE/5Q5OXsHymXyyp+FpufLGV/xPxFjdp+CN75xRvgkiK4Y6lwVtqEe uyiyOtiFw+pRK2k1fD5yxL75WIgQNIEKBh45FaQ2oC6QN/Vnj8ZVEzSp/gNkyR/QTFVj +CFkAb6fvSkLUv4n4ZcuQ8ts+sE7rSiIJSw2vgH6hFC91AlLHZInl3RiLytlAgT2BV3S hXiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NJmgzL0Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l15-20020a170903120f00b001b1bf4c8688si1481798plh.231.2023.07.27.07.51.27; Thu, 27 Jul 2023 07:51:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=NJmgzL0Q; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232288AbjG0OIs (ORCPT + 99 others); Thu, 27 Jul 2023 10:08:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47336 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230182AbjG0OIr (ORCPT ); Thu, 27 Jul 2023 10:08:47 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C38D1739; Thu, 27 Jul 2023 07:08:46 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id EA89061E95; Thu, 27 Jul 2023 14:08:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4B664C433C7; Thu, 27 Jul 2023 14:08:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1690466925; bh=oHozzgJjJODG6N4sBuk7wbfyPhiG/dxr5SHrjfhfLzU=; h=Date:From:To:Cc:Subject:Reply-To:References:In-Reply-To:From; b=NJmgzL0QLzVjmI1D5o4AaanyFKdkVeRKoDQCYFSyckpD9qQAX+xO5BLBqxPFjWkKk twgVBQq8CzqjyqXhJxD4MKnX5FVWDKypIoRV7+bXUFQgrjaGj52llbaYF6++UBdV1r nwKOVivnDVIk1/cArJx3kMsvYZdewI2sqRPLaA5bLjeEh1W5QrPeAkClV09hLcBomF 4qebObbd093xD+m53EpsfbLntyd+UpARlPji5392UhTWu35MZr4Uz/R0H2wwrLjrra ZsG/ffyUCRxknV2NsgVWQDP2MTfKtyNVlJ+G19eWWcKaHWrMN7zpFuDMr2w7983soP Je75EtsfwOmOQ== Received: by paulmck-ThinkPad-P17-Gen-1.home (Postfix, from userid 1000) id D5BA0CE0AD3; Thu, 27 Jul 2023 07:08:44 -0700 (PDT) Date: Thu, 27 Jul 2023 07:08:44 -0700 From: "Paul E. McKenney" To: Stephen Rothwell Cc: Arnd Bergmann , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the rcu tree Message-ID: <8d9b7237-e7cf-4f4e-8190-6adf3ce8910a@paulmck-laptop> Reply-To: paulmck@kernel.org References: <20230727141930.0b5a3c40@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230727141930.0b5a3c40@canb.auug.org.au> X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 27, 2023 at 02:19:30PM +1000, Stephen Rothwell wrote: > Hi all, > > After merging the rcu tree, today's linux-next build (arm64 defconfig) > failed like this: > > In file included from arch/arm64/include/asm/alternative.h:9, > from arch/arm64/include/asm/lse.h:14, > from arch/arm64/include/asm/cmpxchg.h:14, > from arch/arm64/include/asm/atomic.h:16, > from include/linux/atomic.h:7, > from include/asm-generic/bitops/atomic.h:5, > from arch/arm64/include/asm/bitops.h:25, > from include/linux/bitops.h:68, > from arch/arm64/include/asm/cache.h:40, > from include/linux/cache.h:6, > from include/linux/slab.h:15, > from include/linux/resource_ext.h:11, > from include/linux/acpi.h:13, > from include/acpi/apei.h:9, > from include/acpi/ghes.h:5, > from include/linux/arm_sdei.h:8, > from arch/arm64/kernel/asm-offsets.c:10: > include/linux/init.h:149:33: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__ro_after_init' > 149 | extern char boot_command_line[] __ro_after_init; > | ^~~~~~~~~~~~~~~ > > Caused by commit > > de2f542cfbec ("fs/proc: Add /proc/cmdline_load for boot loader arguments") > > I have applied the following fix up (I have a faint memory that the > section setting attributes are only needed on the definition, not the > declaration): > > From 9f56e539ed7d9c402caa85d4f5f3f8cec8373b2f Mon Sep 17 00:00:00 2001 > From: Stephen Rothwell > Date: Thu, 27 Jul 2023 13:26:08 +1000 > Subject: [PATCH] fix up for "fs/proc: Add /proc/cmdline_load for boot loader > arguments" > > Signed-off-by: Stephen Rothwell Thank you, Stephen, I will adjust the commit as shown below. Thanx, Paul > --- > include/linux/init.h | 4 +--- > 1 file changed, 1 insertion(+), 3 deletions(-) > > diff --git a/include/linux/init.h b/include/linux/init.h > index e3ce68988e1b..c075983c5015 100644 > --- a/include/linux/init.h > +++ b/include/linux/init.h > @@ -113,8 +113,6 @@ > > #ifndef __ASSEMBLY__ > > -#include > - > /* > * Used for initialization calls.. > */ > @@ -146,7 +144,7 @@ struct file_system_type; > > /* Defined in init/main.c */ > extern int do_one_initcall(initcall_t fn); > -extern char boot_command_line[] __ro_after_init; > +extern char boot_command_line[]; > extern char *saved_command_line; > extern unsigned int saved_command_line_len; > extern unsigned int reset_devices; > -- > 2.40.1 > > -- > Cheers, > Stephen Rothwell