[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zl1I65i4CkCHzdJ7@google.com>
Date: Sun, 2 Jun 2024 21:39:07 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Erick Archer <erick.archer@...look.com>
Cc: Pali Rohár <pali@...nel.org>,
Henrik Rydberg <rydberg@...math.org>,
Javier Carrasco <javier.carrasco.cruz@...il.com>,
Jeffery Miller <jefferymiller@...gle.com>,
José Pekkarinen <jose.pekkarinen@...hound.fi>,
Uwe Kleine-König <u.kleine-koenig@...gutronix.de>,
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-hardening@...r.kernel.org
Subject: Re: [PATCH] Input: mouse - use sizeof(*pointer) instead of
sizeof(type)
On Sun, Jun 02, 2024 at 06:59:01PM +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