Re: [PATCH v1 1/4] iio: light: Unshadow error codes in ->store()
From: Andy Shevchenko
Date: Thu Aug 13 2026 - 16:47:56 EST
On Thu, Aug 13, 2026 at 8:52 PM Maxwell Doose <maxwell@xxxxxxxxxxx> wrote:
> On Thu Aug 13, 2026 at 2:16 AM CDT
> Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> 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