Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp805679lqc; Fri, 8 Mar 2024 12:08:20 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCUOp8jw0CFB+ZHlJyvH6ynl7mzK0wR5lqXhsu82SLE6IwmvatMPnwDKoPvwfnINhceCGfQRNGY2r94SThVlNsM7v/azHa5Ekj3/MjUgAg== X-Google-Smtp-Source: AGHT+IHZ2FUT67ME4/O7IFNezI2H/RSXFmkE7NE4Xn3w8b2fL8UviSLOL0OjZnZy/obNG9wTLwDP X-Received: by 2002:a17:90b:1883:b0:29b:242d:b123 with SMTP id mn3-20020a17090b188300b0029b242db123mr212683pjb.33.1709928500425; Fri, 08 Mar 2024 12:08:20 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709928500; cv=pass; d=google.com; s=arc-20160816; b=Mk+qLGeJKTY+gEX0qLUJCVVOFc6MAsWWqqZRCKmwuC13/gcKYnDWJ8SxkoVlHeBtDo zSV19WD9RvFLYp9vi1PWK3Vefnd4Rwucz5oXUq0KYrnvWcM1+Gl8z2ddFPHdxgEyg8lA LBdKYq6BPjlgWiB63uN5bdTbgnEoyUwl4vt9KRwlzHG9OYjizyeLHUsV4n6XpZU4OxU9 JQpYy2ELeYYh3EAv7XTR41mcJA3VfsFDmnesfDh+w80xNv8IZC4LM3xCIjbQgZXfcGF4 rs3Y7tIXl/V5pCYKZRAh2xiG4+6absx4yaD7AUGUOql8AuS2UeYFDl7ySpJCpBAEVNdq 8D+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=He/UK3oqyjgGWmXjpK0wImcsBcgiNZLdqiQiyB3AFhU=; fh=kOGUd5RihIS3D9KWC642uwNb/8NYH1nn7SscoJ4IiSU=; b=qRFl5QwjKj2GLtIuA7jJMJrEU8J+8yE+hIlXnR+yvEnHWJFPp2q9KiE6abJzeGkXPO jc23GoFgxn+HuFEPfPkzsvGCGXjuFEu4yn+PaA4+3BkxT4VVrJ3i5/BDlhglqLieAfF1 5P3vIwd8xf6ajqE3vCgGy4FLdlVruaWLyj4TRa3uEwKOn/wt+KeKQbc4TlsL46xfeGP7 eSSC7PVdTVEWytqBFNOGxuuUy54PftGjbwujPNmlvFEjjowDINp1psKpVfIwCdR23FOn N6Kcx9lM+2TAtx7+sWUJmDRPd069YAcCbnFDuP2nh4h5M2k7Bhg586/sR21Z9UVVscEx FMRA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=a2Giue5x; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-97533-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id r10-20020a17090a2e8a00b0029b0e894748si4288056pjd.166.2024.03.08.12.08.20 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 08 Mar 2024 12:08:20 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-97533-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=a2Giue5x; arc=pass (i=1 spf=pass spfdomain=gaisler.com dkim=pass dkdomain=gaisler.com dmarc=pass fromdomain=gaisler.com); spf=pass (google.com: domain of linux-kernel+bounces-97533-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-97533-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=gaisler.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id CA5202834C8 for ; Fri, 8 Mar 2024 20:08:09 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C85225B5D5; Fri, 8 Mar 2024 20:08:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="a2Giue5x" Received: from smtp-out3.simply.com (smtp-out3.simply.com [94.231.106.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3FE615B5BF; Fri, 8 Mar 2024 20:08:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.231.106.210 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709928482; cv=none; b=XjyHdp3keUBWKqqdWGupKur12LTip9XNShOnhpvnHMSvEssBr0lfmjoANT0a7Jk0pxb3N5cX7ewVB+as2dBYRSArllSegjKY1sQ/tWtMb3+17pdruMSf6wOG2xz5Iqxz9LN3/8VIZxgsRQ8JH/n5lfUWAELQZtFbgcHQpHYSJBg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709928482; c=relaxed/simple; bh=xAERMgCujrfifEteuSUDjxAfd4XIhWAnKbg9DxQgEOc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=d5qTzd36n76bZVXX2uO84AvnSL+96Tp+nADrVjE53uutRvkwdYkkOpR5GXuslJZp86LIdg3nwHI8koMw84oS7VUmnP1i68EDCX4XCjGE5787e0WUYMP0LUcJmnjstEAKsKIMvbU9FkNkqMQ0zd6IqHz/av83Ht3qEeVpMTcg5ow= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com; spf=pass smtp.mailfrom=gaisler.com; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b=a2Giue5x; arc=none smtp.client-ip=94.231.106.210 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=gaisler.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gaisler.com Received: from localhost (localhost [127.0.0.1]) by smtp.simply.com (Simply.com) with ESMTP id 4Trxzy4tCwz6832; Fri, 8 Mar 2024 21:07:58 +0100 (CET) Received: from [10.10.15.2] (h-98-128-223-123.NA.cust.bahnhof.se [98.128.223.123]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by smtp.simply.com (Simply.com) with ESMTPSA id 4Trxzm3bdGz684f; Fri, 8 Mar 2024 21:07:47 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1709928478; bh=He/UK3oqyjgGWmXjpK0wImcsBcgiNZLdqiQiyB3AFhU=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=a2Giue5xXMen8T06EOdnB+qokmVCZyIE15Bda/dK7fd9KtxVT8E5Km0saQ/YjnVDb NY/oKqS7V5xmmg/Jd6DPs5RbXMtkHTVK7usXg8sP5r/J078V5/aA9OxuaG1sSU8Rdj 9BUPXsTr5egvIkOk+OwSD0q/7nXNevTJSj/Ykg6A= Message-ID: <248d38bd-c116-47fd-af57-3379d1770aee@gaisler.com> Date: Fri, 8 Mar 2024 21:07:47 +0100 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2 7/7] sparc32: Fix section mismatch in leon_pci_grpci Content-Language: en-US To: sam@ravnborg.org, "Maciej W. Rozycki" , sparclinux@vger.kernel.org, Randy Dunlap Cc: Miquel Raynal , linux-parport@lists.infradead.org, "David S. Miller" , Arnd Bergmann , linux-kernel@vger.kernel.org References: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@ravnborg.org> <20240224-sam-fix-sparc32-all-builds-v2-7-1f186603c5c4@ravnborg.org> From: Andreas Larsson In-Reply-To: <20240224-sam-fix-sparc32-all-builds-v2-7-1f186603c5c4@ravnborg.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-02-24 18:42, Sam Ravnborg via B4 Relay wrote: > From: Sam Ravnborg > > Passing a datastructre marked _initconst to platform_driver_register() > is wrong. Drop the __initconst notation. > > This fixes the following warnings: > > WARNING: modpost: vmlinux: section mismatch in reference: grpci1_of_driver+0x30 (section: .data) -> grpci1_of_match (section: .init.rodata) > WARNING: modpost: vmlinux: section mismatch in reference: grpci2_of_driver+0x30 (section: .data) -> grpci2_of_match (section: .init.rodata) > > Signed-off-by: Sam Ravnborg > Cc: "David S. Miller" > Cc: Andreas Larsson > --- > arch/sparc/kernel/leon_pci_grpci1.c | 2 +- > arch/sparc/kernel/leon_pci_grpci2.c | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) Reviewed-by: Andreas Larsson Tested-by: Andreas Larsson Picking this up to my for-next. Thanks, Andreas