Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp2276126rdb; Mon, 5 Feb 2024 01:03:44 -0800 (PST) X-Google-Smtp-Source: AGHT+IHfMikGOmPaoUHNOGvPEWks9NSs3ayxtcMuCBuc98TSzATF+ckTaL1DcEBBHRkNXNbhKUZ6 X-Received: by 2002:a05:620a:5594:b0:783:d13c:cfa7 with SMTP id vq20-20020a05620a559400b00783d13ccfa7mr13110754qkn.22.1707123823771; Mon, 05 Feb 2024 01:03:43 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707123823; cv=pass; d=google.com; s=arc-20160816; b=qJ//zAqz7ZNQBCL3VqkZCKekMwwM76l+pxZuhonZqRvYdAvNLo6s+3LIkoIlUTOtk/ 1E93tpVN16i20ich+ykZknlgbLpM5B5mSutOdCtujMDOcVZMoQwYtqUWnldya/8uTxe1 iO/MSNxlqjntLkCJqT9iBNW1PJG/IAGB38BSNaC6DtjEV6OkOdKm19OZbLYiFf7h16bQ ffW/30EPpde+qyIEb4PL76P3EiVKfQPS737OReJNidl8uvfWQhY+LlgUwj6g1GFA8EU8 7vNhHXZEuz9kTLsE7nD7ptnGmcb0zig/IHdgDF2Qf2IyjaUUQQYteUeBvx0Sv1EVFrIx 6ciA== 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=rqVvnIGn3B/hvQ3sQ5UZdrV+S3anyt6koAdiy+kU4zA=; fh=N9/T7ed9CEsNG0kuNZy9Oxo5ZBHbfLvQzNenfh2JXhw=; b=0mS9Q6/fv+VL/3isur9u5s9X8xxBu9CnU9iW5yYm1ydKkdky9Lg9+KI25GqtRb2fNp j9KPyApdHoPQA4QUt1w2TJBCpV1LtYazLUfBCq8SGn9nGoIJhzbcerPQePHGzh6fiKT0 obt3HHYJzVyE8t5PF4MJmEH0Cl7//Gtu6kXoqb63tU4pMTM6hOpDFTVcuVuSPBm+gsEb Zj20CQ6Tdhy6yhYKu2lt5opehOOxBC+M/AOje9VP5A1r21zpFWdmpkvdRNgsxjMDeqqq WVUjwS9BkOE+LXGyOJAEQwg0rDZctE0bvyOqUFO3iRaWzoGc2JniQOb3XqgaRXVmT7Vs Bi9A==; 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-52240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52240-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=1; AJvYcCWlYtRDhyFk75G4jmMOK1VKBDH45zMGrL39nOwOQWpV3LmkXL5bK8yiWZwFmbrgo7bCNIVEfrDA9o07y5g/9O5uNVvzP1sbIq7IE9LtxQ== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id i24-20020a05620a145800b00781706eb820si7697603qkl.196.2024.02.05.01.03.43 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 05 Feb 2024 01:03:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-52240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-52240-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-52240-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 7E6E71C23F2D for ; Mon, 5 Feb 2024 09:03:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E3C20125A2; Mon, 5 Feb 2024 09:03:37 +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 0BAED1173A for ; Mon, 5 Feb 2024 09:03:34 +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=1707123817; cv=none; b=LS5wzNFviCXkXA5s8oYe/6GOm3hBTEcOJ6ZUkQOqBPE7+MutZQ++5lG/bGrQj8UONcGov9Rlexm2WvE9byEltlLkZXiFMzA7iSNn37M73e5edP46WLu43UXL37x52wufoNPHSm9NBg3/+irfcbDb47w/yGsfeOzvkeJ2U0aNyB4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707123817; c=relaxed/simple; bh=pGJESLMO1IwzNYCOL2xCBZdT6xXtl1ti30ZNlzDvHm0=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tKaWd5tAYxXNMBO04OB9nsSVCDvuEQIM4n51rv/qTNiWvb9m/PLg8B1nMvdQd+mKyb36kBHUrS1Rs2KTLopBP85hS4XE4Lbpy737rmF31+yTg1p2M22/NshkDgKx+ff/m5/dorj07Q/XmJigaBTVnN4MuWnErg1XuDaKvsnwXKc= 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 1rWut1-0007pG-Bc; Mon, 05 Feb 2024 10:03:31 +0100 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 1rWut0-004b25-Dh; Mon, 05 Feb 2024 10:03:30 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rWut0-00FKAQ-16; Mon, 05 Feb 2024 10:03:30 +0100 Date: Mon, 5 Feb 2024 10:03:30 +0100 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: "Ricardo B. Marliere" Cc: Thorsten Scherer , Pengutronix Kernel Team , Greg Kroah-Hartman , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] siox: make siox_bus_type const Message-ID: <5zjixnsaylidn7t65thchwg5aa2igpwr34bmlfdtevvn4bgx2e@txzz36fi7rqz> References: <20240204-bus_cleanup-siox-v2-1-3813a6a55dcc@marliere.net> 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="e7n4nsuqdj5xioo3" Content-Disposition: inline In-Reply-To: <20240204-bus_cleanup-siox-v2-1-3813a6a55dcc@marliere.net> 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 --e7n4nsuqdj5xioo3 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Ricardo, On Sun, Feb 04, 2024 at 07:26:42PM -0300, Ricardo B. Marliere wrote: > Since commit d492cc2573a0 ("driver core: device.h: make struct bus_type > a const *"), the driver core can properly handle constant struct > bus_type. Move the siox_bus_type variable to be a constant structure as > well, placing it into read-only memory which can not be modified at > runtime. >=20 > Cc: Greg Kroah-Hartman > Suggested-by: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere I currently have no setup to test this, but compilation is fine, and I don't expect any surprises. Acked-by: Uwe Kleine-K=C3=B6nig Thanks for your patch, Uwe PS: b4 gave me: =E2=9C=97 [PATCH v2] siox: make siox_bus_type const =E2=9C=97 No key: openpgp/ricardo@marliere.net =E2=9C=97 BADSIG: DKIM/marliere.net when applying your patch. I didn't check the details of the DKIM issue. I quickly tried to find your pgp key, but failed (wks, kernel-pgpkeys repo, keyserver). --=20 Pengutronix e.K. | Uwe Kleine-K=C3=B6nig = | Industrial Linux Solutions | https://www.pengutronix.de/ | --e7n4nsuqdj5xioo3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmXApGEACgkQj4D7WH0S /k7xxgf+LLjmbj64GabWDq+XrD+9ERrhY2sJzbZ3gpmKZQ+6LvwG96ZIIfR/6MqM R7qv8VxSjK+IvBlBMU1OHM9bRVoB8ScL0RiI53cXiI2nN/dMx5/G2gz8AEXahTzI 0sIz/rE/n6V4LX4fPpOwU/K55Pzq1S9ZH+OVcW0iHWqUifJ9ZjyTfMOMZdMYEgdW UJEYmDOQqmkWTd5p1u8tEx2U72GRVDBN0rdqrBhB2NWB0rK6J/d7nxLaKsOdXKqJ GRFdME4fmDx6hIj7xTiiq/VWDGMg+3a84/qe01P0LxHbmJ//0HA9dnPI+VslULM9 DknbvdG5qbVdbvprlxj0QNYSHVKZwg== =Zc7w -----END PGP SIGNATURE----- --e7n4nsuqdj5xioo3--