[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAMpxmJUu2g7qORShk8C2WpGyh2btcyZsRqrQwP1JwKAhUW+CCA@mail.gmail.com>
Date: Wed, 24 Jun 2020 16:13:43 +0200
From: Bartosz Golaszewski <bgolaszewski@...libre.com>
To: Kent Gibson <warthog618@...il.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
linux-gpio <linux-gpio@...r.kernel.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH 12/22] gpio: uapi: define GPIO_MAX_NAME_SIZE for array sizes
wt., 23 cze 2020 o 06:02 Kent Gibson <warthog618@...il.com> 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@...il.com>
>
Reviewed-by: Bartosz Golaszewski <bgolaszewski@...libre.com>
Powered by blists - more mailing lists