[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zl1I0KVbTEDaIPv-@google.com>
Date: Sun, 2 Jun 2024 21:38:40 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Erick Archer <erick.archer@...look.com>
Cc: Hans de Goede <hdegoede@...hat.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-hardening@...r.kernel.org
Subject: Re: [PATCH] Input: keyboard - use sizeof(*pointer) instead of
sizeof(type)
On Fri, May 24, 2024 at 07:33:08PM +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