Messages in this thread | | | Subject | Re: [PATCH 3/3] tty: Use the preferred form for passing the size of a structure type | From | Jiri Slaby <> | Date | Wed, 29 Jul 2020 09:55:29 +0200 |
| |
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@kernel.org> Acked-by: Jiri Slaby <jirislaby@kernel.org>
The other 2 ones are already acked by me.
thanks, -- js
| |