Received: by 2002:a05:7412:cfc7:b0:fc:a2b0:25d7 with SMTP id by7csp1348135rdb; Mon, 19 Feb 2024 12:15:55 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCV8gq0wSjLUQZDCQpN+YTk+s9R4/nPZ1XR6RC9oXj/aa9cHIUPUjwPMo1fk9URWS9Nuwxh9A1F8AjuKPZhDYyGEJqpgCEXcclhpsaobTg== X-Google-Smtp-Source: AGHT+IFgjQK40mSQWNpyuyWhKA6tc2tfwNLuxkIZaUSAaG/4+Az5zWtHFMOT+wb2xB0vtGh33dZ3 X-Received: by 2002:aa7:dccf:0:b0:564:8da5:f6b5 with SMTP id w15-20020aa7dccf000000b005648da5f6b5mr1928472edu.20.1708373755281; Mon, 19 Feb 2024 12:15:55 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708373755; cv=pass; d=google.com; s=arc-20160816; b=KEPQyyOhBbBHHxUqhKpMz7cRIkssTOu+n6jcMuyH6zV9/0fqwXAZS5mvkJzENdNk3s Svj7i3zJgF75R94NEGW2WBWzAcWMnupvUx+iSATWerwMIoBZzM/qwwMigNJl2XetsldC tD6jhamTM7H6wFTGzFX9DW234HgSALssAPiw81nJnTZN7qsq6CYndj+GpnsjU3JkIxu5 CZ5zt09HaEp5UA9zNyqIpPEdUmBwrPqjgbTGmbX+on6LYu3c/3E/Ya/NlezljjhvCx9X etxRj8ggf1dB8u62qPXZT1vCo+VxNLqEJjoL9x1rGc+ZNdOxUPemU+o2D9/NRW5J+LRK JbvA== 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=VbA2yuYcA38JvdrDmFHI1hurN2UwRnyq8E4acbRwH80=; fh=Oeq1Ms5JxMJR3l36RbQkdqOY++n4SqZP78S1l0LrYu4=; b=dy+7KZq22QVFsJ26qi+1V4hE8e8HPJ6ytjzYowm5038Y2hkDtzDfG/MUD0KhVzBqlj VvrpU3aElJERCul4mW5xBk5yu8zPLq97SUJxcpcAuqwFdQXgURMbQhqEWFspuLnOagDj Qr3yKOLdAe7YQY7yCWkGmuHV+GyTCMSApT08YdqArCaT5PJMtg6ImJegpSI4P/1TOhYz i97Pnjah6tAAdG1Fj2SoB1XNJbI34R6+d53IlgpAMGX0SrvLM+tNa0ZZhqKY/u5RRYDY KCtv8E6HRZVUbWK6o9BlOJt/dWbakLZlk+85R+I01j/acomUSodDvzuZZdgXiOkgqvTw 52/Q==; 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-71948-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71948-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id s13-20020a056402520d00b005645c5baa63si1661513edd.195.2024.02.19.12.15.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Feb 2024 12:15:55 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-71948-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; arc=pass (i=1 spf=pass spfdomain=pengutronix.de); spf=pass (google.com: domain of linux-kernel+bounces-71948-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-71948-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 0E1B71F238FC for ; Mon, 19 Feb 2024 20:15:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13037374DD; Mon, 19 Feb 2024 20:15:38 +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 27F9F535DC for ; Mon, 19 Feb 2024 20:15: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=1708373737; cv=none; b=cdeAX3vr+zf4ld5oh7z/3J40jJ5glI+zO0H55JERNHHWRPOe02BuQ2XMGtiVfBTW/P5YwxJLvaAw6Y2N4zCAgGglKBCEzhKR/UDMiP/JDElm7Y4YyTXzbJcFbDnJ25vX7KBiK2kLNjwq32zkgo5JG+5jx87SEFhy5Yn4fGX0Rsc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708373737; c=relaxed/simple; bh=Z0zoMA6BItC2WPeNFekvXIMWJ7fJdIN0623jFMu87Gk=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=c029PlbXYEgVLbnI87XA55ZQT2m2SsZp84aRoDxH9TaAo90E8lN/l46A2JM6xVswprY5JO+jAcaLMylwX/o1X8LQNrqjRfXx4i/vdAyLAyoGoRIPIkk8GpBXSPrnXAMqzzk0q94b6V6evnZSOSL9n9XocLSOu/v6/L7PeHjL+gU= 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 1rcA31-0007Po-QD; Mon, 19 Feb 2024 21:15: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 1rcA31-001iOx-1P; Mon, 19 Feb 2024 21:15:31 +0100 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.96) (envelope-from ) id 1rcA30-0083tg-35; Mon, 19 Feb 2024 21:15:30 +0100 Date: Mon, 19 Feb 2024 21:15: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] siox: constify the struct device_type usage Message-ID: References: <20240219-device_cleanup-siox-v1-1-eb32ca2b0113@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="kgkvkqtj2ucxfnn2" Content-Disposition: inline In-Reply-To: <20240219-device_cleanup-siox-v1-1-eb32ca2b0113@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 --kgkvkqtj2ucxfnn2 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, On Mon, Feb 19, 2024 at 04:49:30PM -0300, Ricardo B. Marliere wrote: > Since commit aed65af1cc2f ("drivers: make device_type const"), the driver > core can properly handle constant struct device_type. Move the > siox_device_type and siox_master_type variables to be constant structures > as well, placing it into read-only memory which can not be modified at > runtime. >=20 > Cc: Greg Kroah-Hartman > Signed-off-by: Ricardo B. Marliere LGTM Acked-by: Uwe Kleine-K=F6nig Best regards and thanks, Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --kgkvkqtj2ucxfnn2 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEP4GsaTp6HlmJrf7Tj4D7WH0S/k4FAmXTtuEACgkQj4D7WH0S /k4ODwf/dkIkmwjhfRXYcXVw6nnsdMbokJwpoTb9zqTbiVPOO6oGvg98UshJFWDq lreApTIs9VCC7jq0lEUL/q5yaEURLhwkvVxYDOLcS7POOSSc4iRU+tRzC9nDcp0l xZAuNJoLKHc0t+uJoSNhoIDTjmJC7aIPA/XIOFLdU/hXXg4DgrzTt/HXT5bq2kIn ZJbdrJfS33jN180b2VHURHF3VD0Tuk5dwCMpJKzdiGWJrMmfzLXkhZsuqhNrbS7D JbZB6crjoXZxnwHIxyvYZu6at/OUJGX7RJuESBQtKQ2JtaTZAepH+E2R8lI46cw8 xDBiDRcVvn2cWksZ8HIEbzFap10m6g== =5Z/Y -----END PGP SIGNATURE----- --kgkvkqtj2ucxfnn2--