[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zl4ec7IUyKNFSn53@smile.fi.intel.com>
Date: Mon, 3 Jun 2024 22:50:11 +0300
From: Andy Shevchenko <andy@...nel.org>
To: Geert Uytterhoeven <geert@...ux-m68k.org>
Cc: Erick Archer <erick.archer@...look.com>,
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 Mon, Jun 03, 2024 at 09:52:57AM +0200, Geert Uytterhoeven wrote:
> 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>
Pushed to my review and testing queue, thanks!
--
With Best Regards,
Andy Shevchenko
Powered by blists - more mailing lists