[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMuHMdWnbAPN4rSsquF4GA=i1anay2+y5y46of255a5Y9O1qnw@mail.gmail.com>
Date: Mon, 3 Jun 2024 09:52:57 +0200
From: Geert Uytterhoeven <geert@...ux-m68k.org>
To: Erick Archer <erick.archer@...look.com>
Cc: Andy Shevchenko <andy@...nel.org>, Kees Cook <keescook@...omium.org>,
"Gustavo A. R. Silva" <gustavoars@...nel.org>, Justin Stitt <justinstitt@...gle.com>,
linux-kernel@...r.kernel.org, linux-hardening@...r.kernel.org,
Uwe Kleine-König <ukleinek@...nel.org>
Subject: Re: [PATCH] auxdisplay: Use sizeof(*pointer) instead of sizeof(type)
On Sun, Jun 2, 2024 at 10:49 AM Erick Archer <erick.archer@...look.com> 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>
Reviewed-by: Geert Uytterhoeven <geert@...ux-m68k.org>
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@...ux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
Powered by blists - more mailing lists