Re: [PATCH v1 1/4] iio: light: Unshadow error codes in ->store()

Andy Shevchenko <[email protected]>
Newsgroups org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel
Message-ID <CAHp75VdDgBcieBdd9q2u75oFCu+w5tAF_L3YNHV5Ra5biHxcsg@mail.gmail.com>
On Thu, Aug 13, 2026 at 8:52 PM Maxwell Doose <[email protected]> wrote:
> On Thu Aug 13, 2026 at 2:16 AM CDT
> Andy Shevchenko <[email protected]> wrote:

...

> > -#include <linux/kernel.h>
> >  #include <linux/i2c.h>
> >  #include <linux/errno.h>
> >  #include <linux/delay.h>
> > +#include <linux/kernel.h>
>
> Stray change? The ordering's messed up (seems to be case for many of
> these drivers) so perhaps we can send a patch to fix the ordering.

Not really. I understand what you mean, but I took a step just for the
k*.h letter to group them. It's slightly easier to follow with
kernel.h being moved. Note, that kernel.h shouldn't be there at all,
but that is definitely out of scope here.

> > +#include <linux/kstrtox.h>
> >  #include <linux/string.h>
> >  #include <linux/mutex.h>
> >  #include <linux/unistd.h>

Thanks for the review!

-- 
With Best Regards,
Andy Shevchenko
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.