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

Dmitry Torokhov dmitry.torokhov at gmail.com
Fri Jun 7 12:17:37 PDT 2024


On Fri, Jun 07, 2024 at 07:04:23PM +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 at outlook.com>

Applied, thank you.

-- 
Dmitry



More information about the linux-arm-kernel mailing list