Messages in this thread | | | Date | Thu, 24 Sep 2020 21:40:24 +0800 | From | Kent Gibson <> | 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@gmail.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.
| |