Re: [PATCH 12/22] gpio: uapi: define GPIO_MAX_NAME_SIZE for array sizes

From: Bartosz Golaszewski
Date: Wed Jun 24 2020 - 10:13:58 EST


wt., 23 cze 2020 o 06:02 Kent Gibson <warthog618@xxxxxxxxx> napisaÅ(a):
>
> Replace constant array sizes with a macro constant to clarify the source
> of array sizes, provide a place to document any constraints on the size,
> and to simplify array sizing in userspace if constructing structs
> from their composite fields.
>
> Signed-off-by: Kent Gibson <warthog618@xxxxxxxxx>
>

Reviewed-by: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>