Received: by 2002:ab2:3319:0:b0:1ef:7a0f:c32d with SMTP id i25csp63906lqc; Thu, 7 Mar 2024 10:20:49 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWnKrBtcYEvnXq+DTR/uNoO8g4hze0m8mZdCjG34bF7usD4HZBT0n5ZlCfOwJa5dSn49hV2H9a01XXioww7yvZ/R5wvnpya2akjQ85eFw== X-Google-Smtp-Source: AGHT+IFzVH5QXIa3y6OrqnKb+nJk5rbGNa5xRd0MW4XHKIUd51OzBp67rvlmaJDgDItj4huJ0dD+ X-Received: by 2002:a05:6830:1087:b0:6e4:de0c:3ce9 with SMTP id y7-20020a056830108700b006e4de0c3ce9mr8346971oto.15.1709835648974; Thu, 07 Mar 2024 10:20:48 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709835648; cv=pass; d=google.com; s=arc-20160816; b=SgRfjaza8NhlxZhbVflr9FO7h1j9oapMzJBfr09552IveYRhuvebyHkVOSFRg/+C1j reNOdWDMCsQfsKxMEMyGld9D5Vv0YVycdSVWYsYrQtjSXAVLvq45ZH8pVsnlU2KwTLgf llYfzZQ1EGQYZ18lHEYfUQV/0ABYys1NMapOeGoib7OCL7jH32BPmj4eVtmyw4w5kP/W 9j8V9hOQ2yb8dFH0Wi0IFRjAm9a5feuGWmlylaRHTpt4Ov/X2GzqY+tBMfFgYuPEpWVA E2msEWsM+KDytOuU3+IiHhRyXHf/+3sHXs8FNS4dN6JzXHyYWAcgmKg945+b2FI08Kab kN/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:references:cc:to:from :content-language:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=PuM/TBOUHyQ36cC1eReWyFL59PuLO2Dm+PS5yf10Cfw=; fh=Uyvov59C/GYE7SzlTwt8N+9xdXcAPI+jjVhYyNcAuuo=; b=N7n6KccNX2kRm5/INUHJGzp4smcL2y72W21lyVYsbmLMkfBVfIBgg5PYncoJQt9sJH +/o+JWOhb7jUIPlh/2qiluOBVjojkTp4zBALOcE5fZpuu0mvpTT0fafXfbF+NcfMSkUb 16qC/eytf78ZD5SVznQggL55pdhRGhqvAepSGaCEIHK6Pf7/rrJo/X9A2YMND8nbrTYY DCIBipvK+hvvu5p/p1QsCzgleiHrv9YcnRbfnKHawoK3xJLEzQlNHjv3U6lAfuzUmqrH hB2/eTJvC5UvU2ElDw+rsP5QfDg3+hTM6P3jaBA6vqi9F/5aDB5jR9Xg7XfQiPRHcMo2 cJzQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gaisler.com header.s=unoeuro header.b=e6EJ1O7h; 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-96010-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96010-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 d2-20020a656b82000000b005d771540eb9si15574271pgw.206.2024.03.07.10.20.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Mar 2024 10:20:48 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-96010-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=e6EJ1O7h; 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-96010-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-96010-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 9D351283EBA for ; Thu, 7 Mar 2024 18:20:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6D28513473E; Thu, 7 Mar 2024 18:20:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=gaisler.com header.i=@gaisler.com header.b="e6EJ1O7h" 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 4E357130E3B; Thu, 7 Mar 2024 18:20:29 +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=1709835633; cv=none; b=i913RrES1Kep9x01JDbF5arfvEXdDu4AC41vDcMWWS/LLFvVO1zH6fHDeHjGJL2U4FGy3WA14nFamJKxHoMOnFjU6BlGFgnkHbOUTsJt1iKg+YW835F0Z4vqf1+JP0ZEZuNaYXxvq4Ysof75rLL/is7M6YrzLqvp3vnp6/w/DU0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709835633; c=relaxed/simple; bh=MQ07orCZLuAVz2SXJ+Q340+1S+7a9Vt0FAvrlO4XyU4=; h=Message-ID:Date:MIME-Version:Subject:From:To:Cc:References: In-Reply-To:Content-Type; b=KxZ9LdSqFXn0MHqZvdncJykP8AtH5AQ1/G6Z0IPlADqGtywVIa/koGCQIaPf9989XNGdptvFu9I/qYoubWdSUG5FNMV9a+jn5Ym2Dd2IPqsAJfvsE2wPrHAbLRVuWr0C7XviS5x7Pb1By8Y9ISLk5ljgD/w6CIIwMrTB2js6bHQ= 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=e6EJ1O7h; 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 4TrHfM3GKMz6833; Thu, 7 Mar 2024 19:20:27 +0100 (CET) Received: from [10.10.15.20] (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 4TrHf91SvTz6851; Thu, 7 Mar 2024 19:20:16 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gaisler.com; s=unoeuro; t=1709835627; bh=PuM/TBOUHyQ36cC1eReWyFL59PuLO2Dm+PS5yf10Cfw=; h=Date:Subject:From:To:Cc:References:In-Reply-To; b=e6EJ1O7hOg8LDh16/jsCKqsHOVVzDxr/sdUeM9Z6/9bz1GzwlT1YxdsgTRLa8QWjs p4a4eVPE+4DNPJetW3tPReXVNU+DnHrhJ6zSHxlFV5I+k/j7T8nP/91OHRcuOjLkS0 9TGGnyCdn2+lKwy6d6DAJkFCjrz7ATM3wp6AnU3k= Message-ID: Date: Thu, 7 Mar 2024 19:20:11 +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 From: Andreas Larsson 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, Arvind Yadav References: <20240224-sam-fix-sparc32-all-builds-v2-0-1f186603c5c4@ravnborg.org> <20240224-sam-fix-sparc32-all-builds-v2-7-1f186603c5c4@ravnborg.org> In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 2024-03-05 16:06, Andreas Larsson wrote: > 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 > > Could you also add > > Fixes: 4154bb821f0b ("sparc: leon: grpci1: constify of_device_id") > Fixes: 03949b1cb9f1 ("sparc: leon: grpci2: constify of_device_id") > > for these fixes in your v3 of the series as well as CCing stable? I'll pick up the whole series apart for the ZONE_DMA removal, so there is no other need for a v3. I can add the Fixes lines to this one, if it is ok with you Sam, or take it as is. Thanks, Andreas