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

Andy Shevchenko andriy.shevchenko at intel.com
Mon Apr 27 02:59:01 PDT 2026


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





More information about the linux-arm-kernel mailing list