Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1608082lqa; Mon, 29 Apr 2024 13:31:00 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCV/qtYSm6XqQtF5YKrPvgcNVO65v0EU3uuVaGpQcSGJAdmlGatgULQBzS6nv5+B/FQ/U+xbWqT3pyhdvvreDnsIQTmAYt2mt1tZ0DOmYw== X-Google-Smtp-Source: AGHT+IEMBtFDdR/hpmz9UvaKA9/nv1WooxIf/byYX2xJccbnidzWu1EJ0Hj9Le6W7xxjGdXCbec/ X-Received: by 2002:a25:ac59:0:b0:de3:cce6:5dce with SMTP id r25-20020a25ac59000000b00de3cce65dcemr12979768ybd.36.1714422659894; Mon, 29 Apr 2024 13:30:59 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714422659; cv=pass; d=google.com; s=arc-20160816; b=e7xb+u3lM1jadfM6hg0+dKo/I+o8sAHbtbjG1koZmJr25yhpMpiWr0zmrX1e8vgfVt +xVsJJhwpODGFaV17KZJvu13DNTKvEyqHT62uLxWuOc7jvaJmXyhmkahlCyztaaUVEoy hc7Kk+a0N/Mj7888wReWVNI4eXKuVClqEYLoU23Bp99IQP63aWoaf37V5Kj2adYFJOYs +f5CG5nmGKOJfbv1iALs2PPX3WuLVBDilYvWtywz4VIZVUEC/7Xz4XnDYDhPjM1nTTWr 8Fb+F4tp/ZUW1lu6O3GBepeqNH/a6WkdAySDcXKha3iOvMIi8IdsruzYoNDYXnNSR05/ 0eMA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date; bh=PviQ4jkMEcmv8Nz8KYG4pDo4ro5jKR+yAn8QLaldvzY=; fh=qQ4FtTPKwM7HOKJRvNp72pkarmD+w/odfHO9ehsI1Hc=; b=0zYOtXMNAzx2tzR4BjqbwevqlN83QK4SGzuGgBBWeoWsRsJuZT33Tv7G9Zaap5Fs7k 3e9IHwdciXVHGp7E5f2NVZJ/rYcwJ5fi4EXrYJDKPxzVwJtSKPFz6S7TmPxtyVpt927z 9YVoCZ5/A9+1Bn1x3k1ysmg3PEtfYYhWUoJ4ZLjp/hcKECrT/JQQ9ZXZWt1t0paQOKi6 226RjtyT1ew9rfFFP1frVzwlEXdB4W8eQRT6PDfFUodp96swxf0cqdMTBE9MQfLVozYB SCgp2Sj1/Ueq7eJ5gS7Oxmk+JUzM8AWqB1h3qhUvl03Ir/REIHr7Tn37yRwmjHT8A06R 5THg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-163018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163018-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ea8-20020a05622a5b0800b00436969a8c4csi24545511qtb.572.2024.04.29.13.30.59 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 13:30:59 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-163018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-163018-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-163018-linux.lists.archive=gmail.com@vger.kernel.org" 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 6474D1C22241 for ; Mon, 29 Apr 2024 20:30:59 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EE5B115B560; Mon, 29 Apr 2024 20:30:51 +0000 (UTC) Received: from metis.whiteo.stw.pengutronix.de (metis.whiteo.stw.pengutronix.de [185.203.201.7]) (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 025A315B572 for ; Mon, 29 Apr 2024 20:30:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=185.203.201.7 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714422651; cv=none; b=rejHv9abrUqGmhoToZlVK4qY/DMg+sc9/kV4BukREXxSiSh11ZjB2q0PbEPl4HIdEOqRiuVcKCtJlqKgqFtDLQHbXk+5WHQptcLTJakzPiuVJgN3BtQgB9q4jAr1iLomHCg13a16LLaOHqpRk0fZ0lYEDQSCeGuGRTe7G8kAcC8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714422651; c=relaxed/simple; bh=pBhVrD24rhjqUw6MC3m/vF5Vnl9vshYrCWZYtDq6rWY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=bok23laTNy+O27PdmcZR3MG1lSQlWvLZ4U1arJXk3f5CaWWZ4aWwGWvL5iYU4VegNVsAyWuu0cv7xjNBXeXtA61uY2ZxKSw0n/G+bP6rXrtz4p244ruUKq4vhioKRnu5VSUdESQ7zGU9O32/UDUDauzTBU+YgyIRYfgSAb6/ROs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de; spf=pass smtp.mailfrom=pengutronix.de; arc=none smtp.client-ip=185.203.201.7 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=pengutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=pengutronix.de Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1s1XeC-0001t4-6i; Mon, 29 Apr 2024 22:30:48 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1s1XeB-00F2hq-Jj; Mon, 29 Apr 2024 22:30:47 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1s1XeB-00BjCv-1i; Mon, 29 Apr 2024 22:30:47 +0200 Date: Mon, 29 Apr 2024 22:30:47 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Sudip Mukherjee Cc: linux-kernel@vger.kernel.org, kernel@pengutronix.de, linux-kbuild@vger.kernel.org Subject: Re: [PATCH] parport: amiga: Mark driver struct with __refdata to prevent section mismatch Message-ID: References: <2e3783106bf6bd9a7bdeb12b706378fb16316471.1711748999.git.u.kleine-koenig@pengutronix.de> <49ab91032bf9b57cd5fb6d306c38884d059dce2f.1711748999.git.u.kleine-koenig@pengutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="b52gwbzzlhss6bj4" Content-Disposition: inline In-Reply-To: X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org --b52gwbzzlhss6bj4 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Mon, Apr 15, 2024 at 04:37:44PM +0200, Uwe Kleine-K=F6nig wrote: > On Fri, Mar 29, 2024 at 10:54:39PM +0100, Uwe Kleine-K=F6nig wrote: > > As described in the added code comment, a reference to .exit.text is ok > > for drivers registered via module_platform_driver_probe(). Make this > > explicit to prevent the following section mismatch warning > >=20 > > WARNING: modpost: drivers/parport/parport_amiga: section mismatch in r= eference: amiga_parallel_driver+0x8 (section: .data) -> amiga_parallel_remo= ve (section: .exit.text) > >=20 > > that triggers on an allmodconfig W=3D1 build. > >=20 > > Signed-off-by: Uwe Kleine-K=F6nig >=20 > I'd like to enable these warnings even for W=3D0 builds, so it would be > great to get it into the main line soon. >=20 > If you apply it, please notice that I fat-fingered the parameters to git > send-email and it was sent in a thread. So (assuming you're using b4) > you'd need: >=20 > b4 am -P _ -v1 49ab91032bf9b57cd5fb6d306c38884d059dce2f.171174899= 9.git.u.kleine-koenig@pengutronix.de Gentle ping!? It would be great to get this patch in during the upcoming merge window. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --b52gwbzzlhss6bj4 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYwA3YACgkQj4D7WH0S /k5pQggAuUhMdZby1efDy4qLEUMK5QAKYv7ihaz58M7snwC5aD7Vdrru9jCiVivX Zl0aESQnHD1P/BZqkIK6U8kzCRlzQXhvXt+l0gQrknvuTHnVnjwpao6VrMiZSUuZ 1HMVVY/XGj0GvcjzU4DNWm/g2q+GRIzkh+Xwra89Tvc/1t0lw6nHXb9I03ZCHQKa fTSznBcxRp1zz3tezSul4xm3eF7/ivCUS+xF1oFw7KjJC4qzo7Tzadma6lHVzkmd UDIu7k+lC2K3QvVRjTMuSDS3PfAs34a4q1/aEHXvFFWXhaabEttwM5P/tWFbN4gT EFXmtQGxMatwg0PuEaOVypBC+jWu5A== =ef66 -----END PGP SIGNATURE----- --b52gwbzzlhss6bj4--