lkml.org 
[lkml]   [2023]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFT PATCH v2] spi: bcm2835: reduce the abuse of the GPIO API
On Fri, Sep 01, 2023 at 02:15:39PM +0200, Linus Walleij wrote:
> On Fri, Sep 1, 2023 at 1:15 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:

> > + struct gpiod_lookup_table *lookup __free(kfree) = NULL;

> Whoa!
> This is really neat.
> As noted, it will confuse static checkers at no end, but they just have
> to adopt. (CC to Dan C if he now runs into this.)

It also doesn't look amazing for humans, it's very not C like...
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2023-09-01 14:31    [W:0.090 / U:0.164 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site