Re: [PATCH 3/3] tty: Use the preferred form for passing the size of a structure type

From: Jiri Slaby
Date: Wed Jul 29 2020 - 03:55:34 EST


On 24. 07. 20, 0:34, Gustavo A. R. Silva wrote:
> Use the preferred form for passing the size of a structure type. The
> alternative form where the structure type is spelled out hurts
> readability and introduces an opportunity for a bug when the object
> type is changed but the corresponding object identifier to which the
> sizeof operator is applied is not.
>
> Signed-off-by: Gustavo A. R. Silva <gustavoars@xxxxxxxxxx>
Acked-by: Jiri Slaby <jirislaby@xxxxxxxxxx>

The other 2 ones are already acked by me.

thanks,
--
js