[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZmNc0cwc6yzl3_7H@google.com>
Date: Fri, 7 Jun 2024 12:17:37 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Erick Archer <erick.archer@...look.com>
Cc: Russell King <linux@...linux.org.uk>,
"James E.J. Bottomley" <James.Bottomley@...senpartnership.com>,
Helge Deller <deller@....de>,
"K. Y. Srinivasan" <kys@...rosoft.com>,
Haiyang Zhang <haiyangz@...rosoft.com>,
Wei Liu <wei.liu@...nel.org>, Dexuan Cui <decui@...rosoft.com>,
Chen-Yu Tsai <wens@...e.org>,
Jernej Skrabec <jernej.skrabec@...il.com>,
Samuel Holland <samuel@...lland.org>,
Stephen Chandler Paul <thatslyude@...il.com>,
Michal Simek <michal.simek@....com>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
"Russell King (Oracle)" <rmk+kernel@...linux.org.uk>,
Suzuki K Poulose <suzuki.poulose@....com>,
Krzysztof Kozlowski <krzk@...nel.org>,
Rob Herring <robh@...nel.org>, Ruan Jinjie <ruanjinjie@...wei.com>,
"Ricardo B. Marliere" <ricardo@...liere.net>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
"Jiri Slaby (SUSE)" <jirislaby@...nel.org>,
Mark Brown <broonie@...nel.org>,
Yang Li <yang.lee@...ux.alibaba.com>,
Kees Cook <keescook@...omium.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>,
Justin Stitt <justinstitt@...gle.com>, linux-input@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-parisc@...r.kernel.org,
linux-hyperv@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linux-sunxi@...ts.linux.dev, linux-hardening@...r.kernel.org
Subject: Re: [PATCH] Input: serio - use sizeof(*pointer) instead of
sizeof(type)
On Fri, Jun 07, 2024 at 07:04:23PM +0200, Erick Archer wrote:
> It is preferred to use sizeof(*pointer) instead of sizeof(type)
> due to the type of the variable can change and one needs not
> change the former (unlike the latter). This patch has no effect
> on runtime behavior.
>
> Signed-off-by: Erick Archer <erick.archer@...look.com>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists