Re: [PATCH v3] iio: frequency: ad9834: clean up includes
From: Andy Shevchenko
Date: Fri Apr 17 2026 - 03:27:05 EST
On Fri, Apr 17, 2026 at 09:13:27AM +0200, Joshua Crofts wrote:
> On Fri, 17 Apr 2026 at 08:47, Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxx> wrote:
> > I'm wondering why in previous round the tool haven't noticed what I did...
>
> Yeah, the tool is pretty noisy unfortunately, even with tweaking it's
> not exactly 100%.
Yes, that's why one still needs to understand more about headers in the Linux
kernel to do such a "simple" change.
> > > +#include <linux/string.h>
> >
> > Hmm... What's used for here?
>
> sysfs_streq() is defined in linux/string.h.
Oh, surprise surprise :-), thanks for pointing this out!
--
With Best Regards,
Andy Shevchenko