[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200924134024.GA239773@sol>
Date: Thu, 24 Sep 2020 21:40:24 +0800
From: Kent Gibson <warthog618@...il.com>
To: Bartosz Golaszewski <bgolaszewski@...libre.com>
Cc: Andy Shevchenko <andy.shevchenko@...il.com>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"open list:GPIO SUBSYSTEM" <linux-gpio@...r.kernel.org>,
Linus Walleij <linus.walleij@...aro.org>
Subject: Re: [PATCH v7 07/20] gpiolib: cdev: support GPIO_V2_GET_LINE_IOCTL
and GPIO_V2_LINE_GET_VALUES_IOCTL
On Thu, Sep 24, 2020 at 03:36:24PM +0200, Bartosz Golaszewski wrote:
> On Sun, Sep 20, 2020 at 1:12 PM Kent Gibson <warthog618@...il.com> wrote:
> >
> > >
> > > Can we use static_assert() at the top of the file? Presumably after
> > > inclusion block.
> > >
> >
> > Good idea - will do.
>
> Thanks Andy for bringing this to my attention, the amount of kernel
> interfaces I still don't know after all these years still amazes me.
>
And don't forget it was originally Andy's idea to use the BUILD_BUG_ON()
as well ;-).
Cheers,
Kent.
Powered by blists - more mailing lists