Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1601924lqa; Mon, 29 Apr 2024 13:16:50 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCURReRyX7YcIIjfUzOryQ5nIYxq7v6LKHXFYrdNDX6sqZsaxpI6/2fD+6DVFDDiotAtcnJloSOLz6HmUASwEWSvtkQk0Ob1Ml5EfyMHbQ== X-Google-Smtp-Source: AGHT+IElM/CjGmTd9sEoiKfMd8YHLv5jYPrQuM4eQcsogh8w7y6y7PS4YrvyzkP2Az5uW9of+T5+ X-Received: by 2002:a05:620a:904:b0:790:fcca:a61a with SMTP id v4-20020a05620a090400b00790fccaa61amr1176548qkv.11.1714421810168; Mon, 29 Apr 2024 13:16:50 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714421810; cv=pass; d=google.com; s=arc-20160816; b=zuBSUt9LJEOa95JQoS01kh2y+So7ivVdTAl7AwW1wogm53oz70g4D6NcGByhc0BovG TbXKvmAi8b/pZEdB41UryAheNUESgUlcaciSfHmQkHPCQgMQb6nHKkTgxlySmTyIQGCc ZTL6wW3L6obD4QhcDcYxNDvLJM13Kc93OOtrlwW8npwnM5sE36ElT7Wvx8QphmFcGRYt 2+MPeghOZ/eimYiOmaruEKyh+ptR7ipp+gPbcSK4sekD3lWLuv0ZWh50QgNrMli7LnLP ZdopMHNl3hRtmmXKGe72UGSqlOoVb/3aIVm915wi6Bec03uKUQyPD0bytjPNxkjnscHo qwUg== 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=MYrEEczrf5yxxe67w55/4hJl5WD3mSBUmh/+TRBdPJ8=; fh=wB0DK55qIzRFRgu19lbmPsNt6mh45Q+q/jPLxvpEDwc=; b=CvsxaBhIfOAJ5MzkFidIW7r3iv0MRFEVLenWUuMDn85PDcUz2di5e8vJ7Xli+jw/0k hdJ9QzY0MtgraC0GN4yctN3to2BakpXhTAyVCrC3IW2Gs/bbvizdyGdm8XQfmlMq+aT7 yUHurS008xDVtG4KsxlL9AknZUCQCqfHlQ4S/Mai6exGhJ8f+yad8UoD0raMoPOHv/kk Q9kFAsia7YJqj9IrGuV7oOCel1dndDHiHr0o50G8R1+l85jl9ZjDqhjxeCfzyJkfhFnx BQ9KPLFcsFyQ39zZxCbwOeULRckfQeRkEuwmrhZA1w5LlBKG/Jv26dqq7UE2GH5HqbVh 4wzA==; 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-crypto+bounces-3939-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3939-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 wg26-20020a05620a569a00b007907c3d9293si16822233qkn.715.2024.04.29.13.16.49 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 13:16:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto+bounces-3939-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-crypto+bounces-3939-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-crypto+bounces-3939-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 DEF7F1C21837 for ; Mon, 29 Apr 2024 20:16:49 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 28A8C1411E1; Mon, 29 Apr 2024 20:16:46 +0000 (UTC) X-Original-To: linux-crypto@vger.kernel.org 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 259221119B for ; Mon, 29 Apr 2024 20:16:42 +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=1714421806; cv=none; b=oSi+P1zivCWgevOi5ItkkKM1XMsK/4lfZY0VW8Mi02WMBjxgiQNv6zp33LnMd1E0FDTODSBkdGYvqiA3Kemc2C4PAxSQStBXJoNcwEfII+5id/wZfqA86edD22cBmzgcig9oF+BvnGqHdqqQqo8cxy20odDI0kKVgw8r2vXysTs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714421806; c=relaxed/simple; bh=9Z6hwUBZ/WEOq+foMsWJii18o0YOvzDHqJrltxy4GkM=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TmTI8r0iPgD9IUMsddLUCHJxvXveOi1PYTTYyh5yfhIUC8jx9Z0ZRDKkIGzrLW9KlsPqYUAnvxsHo2WlmwyCaNbiQp2/xZ09onV6lHwmuf5GZMCkH1f1yENbPoz9GvEcnvDE3xKyJXeVZsjLusdtc4sRXtYnFoZcYnpcakOSlxs= 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 1s1XQT-00079z-Au; Mon, 29 Apr 2024 22:16:37 +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 1s1XQQ-00F2gc-Ht; Mon, 29 Apr 2024 22:16:34 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1s1XQQ-00Bitk-1X; Mon, 29 Apr 2024 22:16:34 +0200 Date: Mon, 29 Apr 2024 22:16:34 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Olivia Mackall , Herbert Xu Cc: linux-crypto@vger.kernel.org, kernel@pengutronix.de, linux-kbuild@vger.kernel.org Subject: Re: [PATCH] hwrng: mxc-rnga: Drop usage of platform_driver_probe() Message-ID: References: <20240324103759.228009-2-u.kleine-koenig@pengutronix.de> Precedence: bulk X-Mailing-List: linux-crypto@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="lqy4jh7losfpq2te" Content-Disposition: inline In-Reply-To: <20240324103759.228009-2-u.kleine-koenig@pengutronix.de> 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-crypto@vger.kernel.org --lqy4jh7losfpq2te Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Sun, Mar 24, 2024 at 11:37:59AM +0100, Uwe Kleine-K=F6nig wrote: > There are considerations to drop platform_driver_probe() as a concept > that isn't relevant any more today. It comes with an added complexity > that makes many users hold it wrong. (E.g. this driver should have mark > the driver struct with __refdata.) >=20 > Convert the driver to the more usual module_platform_driver(). >=20 > This fixes a W=3D1 build warning: >=20 > WARNING: modpost: drivers/char/hw_random/mxc-rnga: section mismatch in r= eference: mxc_rnga_driver+0x10 (section: .data) -> mxc_rnga_remove (section= : .exit.text) >=20 > with CONFIG_HW_RANDOM_MXC_RNGA=3Dm. >=20 > Signed-off-by: Uwe Kleine-K=F6nig Gentle ping?! Who is the one to pick up this patch (or give feedback to it)? I want to change modpost to emit this type of warning also for W=3D0 builds. For that it would be good to have this patch applied first. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --lqy4jh7losfpq2te Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmYwACEACgkQj4D7WH0S /k70fwf+MTI/7Nuhap7iK+foJCAwx6AArL0Sw1WSAS/yVv2kQ1Q4KKd0D4HMS/cd gViIqcb0Iu7JVJRui//DdbXkgzMRjkoceZELDMM/yHx+YiAKQAdRFMlq1sspphQ9 mxEDcS8WoBFK6maAuevBwKt9rgiF7l6CtBKYgIQAITP584xUV572+EXv35tag1Dl zHOiIr7D8MJkwUQEIYb1pbBmbXoFv9otFjL88Xoi3yRDbkuXSK4IT5fVt3f0EJct e2Dr0uUv/07w4fsR4qqhbAPS1Mu9GlMj6hZZGdkImGT18XO4YsSV+4A4a9a17Td9 +tUTpo3wPvw6bVxdllnTD3nUVuIHbQ== =+L3M -----END PGP SIGNATURE----- --lqy4jh7losfpq2te--