Re: [PATCH 2/3] iio: buffer: industrialio-triggered-buffer: fix includes with IWYU

Andy Shevchenko
2026-04-27T09:59:15Z

On Sun, Apr 26, 2026 at 06:18:01PM -0300, Caio Morais wrote:

...

> -#include <linux/kernel.h>
> -#include <linux/export.h>
> +#include <linux/errno.h>

> +#include <linux/linkage.h>

Hmm... This one rarely appears in the drivers. What do we get from it here?

> #include <linux/module.h>
> +#include <linux/stddef.h>

This one for NULL, for example, which is fine.

--
With Best Regards,
Andy Shevchenko