Re: [PATCH] Input: gameport - use sizeof(*pointer) instead of sizeof(type)

From: Dmitry Torokhov
Date: Fri Jun 07 2024 - 15:18:24 EST


On Fri, Jun 07, 2024 at 07:17:55PM +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@xxxxxxxxxxx>

Applied, thank you.

--
Dmitry