Re: [PATCH] input: misc: use sizeof(*pointer) instead of sizeof(type)

Dmitry Torokhov
2024-06-03T04:38:59Z

On Sun, Jun 02, 2024 at 06:32:58PM +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@outlook.com>

Applied, thank you.

--
Dmitry