Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp15795851rwd; Mon, 26 Jun 2023 01:10:47 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7DLiXFKvANT5Pm4VQKCH535gkAt28cTmJMch35QQRn7kq3+hG8qXX4gGcWNnINOFb2nYQL X-Received: by 2002:a05:6402:1258:b0:51d:93c2:b3fb with SMTP id l24-20020a056402125800b0051d93c2b3fbmr2316425edw.32.1687767047771; Mon, 26 Jun 2023 01:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687767047; cv=none; d=google.com; s=arc-20160816; b=PFQ+PRKIBD+LBDBhKCDzOAJvpGWAZ4NVO+wc1+gBoJPk37is3n1FULd+FMwaFE42Vq u5faWgCFzWYCrBSQa5I55Q1G3cR+lQI9iDCtU0gKR1eD1O2qUwxr4XKcNnP4xeURd9iP 7dvUpd9SSk8ll3Wops13HqqWqXz9asDPAqZCggQrX6jkfxxRozJXT7ds9hOvGvZnvjSq p4kQz/E6UJCBtXIPUWZ7hpQCkoXbKR4TA6whM6PqzvyJLs0NoSBhxgOqe+E4S2OLJiXw vOFACNjxdOLurmGb/YIdYMBBoLuA2rZCHQd4jPmb5xYU2/n0DmnhEEPQKa0g1+8GUeUP 2t8Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=VRm0vm/1KR8H4jU1pnw/DCSPkP8cwe3eTmH6kWiale4=; fh=J805dj+CcABVDFU/gnQrdQFhmPoYojA6SqGqLwBHD+4=; b=ZO136kWKKnIw69MD7e4JZO2B2ZhjPGVJfB+KJ3ztClEbW5N0gryJB/576XJ5r1ypkw BfrM4/l6EgluvpbSxmDrcDuwvjmQxmXHQe+Op9aRDdzxGcaoEoStRKsqn07gh18pCGnn SzH4gLpsHOO/BzdqZ5mrLXrSFyzYVQKj0kZ2Qta3EL4pmF9hPlt68sBaCszho79F9ZZ2 RGX7W/vhTq1xk++1pUqA2w62j6RRZsfh8zpVA5L2wnY+JscF5I5HS0w64JOnXhV0f8xg KqXAiqDnesjlIQ0TnvPWg52glQKZHB3lAGmtRdjZWjcLWda3MdM06fg21l+rPRfLxe2M LNZw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a50ea87000000b0051bfd0b38e0si2285055edo.589.2023.06.26.01.10.23; Mon, 26 Jun 2023 01:10: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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229875AbjFZHxc (ORCPT + 99 others); Mon, 26 Jun 2023 03:53:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41596 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229573AbjFZHxb (ORCPT ); Mon, 26 Jun 2023 03:53:31 -0400 Received: from verein.lst.de (verein.lst.de [213.95.11.211]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A5F6196; Mon, 26 Jun 2023 00:53:30 -0700 (PDT) Received: by verein.lst.de (Postfix, from userid 2407) id 72B8C67373; Mon, 26 Jun 2023 09:53:25 +0200 (CEST) Date: Mon, 26 Jun 2023 09:53:25 +0200 From: Christoph Hellwig To: Guenter Roeck Cc: Christoph Hellwig , Jens Axboe , Greg Kroah-Hartman , "Rafael J. Wysocki" , Mike Snitzer , Joern Engel , Miquel Raynal , Richard Weinberger , Vignesh Raghavendra , Pavel Machek , Loic Poulain , dm-devel@redhat.com, linux-kernel@vger.kernel.org, linux-block@vger.kernel.org, linux-mtd@lists.infradead.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 08/24] init: pass root_device_name explicitly Message-ID: <20230626075325.GA26851@lst.de> References: <20230531125535.676098-1-hch@lst.de> <20230531125535.676098-9-hch@lst.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.17 (2007-11-01) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE,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 Fri, Jun 23, 2023 at 05:08:59PM -0700, Guenter Roeck wrote: > Hi, > > On Wed, May 31, 2023 at 02:55:19PM +0200, Christoph Hellwig wrote: > > Instead of declaring root_device_name as a global variable pass it as an > > argument to the functions using it. > > > > Signed-off-by: Christoph Hellwig > > This patch results in the following build error when trying to build > xtensa:tinyconfig. > > WARNING: modpost: vmlinux: section mismatch in reference: strcpy.isra.0+0x14 (section: .text.unlikely) -> initcall_level_names (section: .init.data) > ERROR: modpost: Section mismatches detected. I can reproduce these with gcc 13.1 on xtensa, but the report makes no sense to me. If I disable CONFIG_CC_OPTIMIZE_FOR_SIZE it now reports a similar warning for put_page intead of strcpy which seems just as arcance.