Re: [PATCH v4 2/4] iio: light: add support for veml6031x00 ALS series

From: Javier Carrasco

Date: Tue Jun 02 2026 - 07:44:34 EST


On Tue Jun 2, 2026 at 1:21 PM CEST, Joshua Crofts wrote:
> On Tue, 2 Jun 2026 at 13:17, Andy Shevchenko
> <andriy.shevchenko@xxxxxxxxx> wrote:
>> > Do you know any tool to automate this beyond asking an AI? Manual
>> > auditing is not very reliablo and it is not that difficult to miss a
>> > header that has been indirectly included. Building with W=1 and similar
>> > stuff did not help.
>>
>> `iwyu`, but it needs a custom configuration. Even with that it's quite far from ideal.
>> The custom config had been shared in the linux-iio@ mailing list this year.
>
> Let me help with that.
>
> https://lore.kernel.org/all/20260512073505.1310-1-joshua.crofts1@xxxxxxxxx/

Thank you, Joshua. One question, though: maybe you remember that your
last driver was missing one header (which I am not criticizing at all,
as you can see I missed some too!), and I am wondering if it was because
iwyu missed it and if so, how that could be avoided.

Best regards,
Javier