Re: [PATCH] gpio: kerneldoc fixes for excess members

From: Krzysztof Kozlowski
Date: Tue Aug 27 2024 - 09:55:46 EST


On 26/08/2024 19:25, Andy Shevchenko wrote:
> On Mon, Aug 26, 2024 at 06:18:50PM +0200, Krzysztof Kozlowski wrote:
>> Drop kerneldoc descriptions of struct members which do not exist to fix
>> W=1 warnings:
>>
>> drivers/gpio/gpio-pch.c:101: warning: Excess struct member 'lock' description in 'pch_gpio'
>> drivers/gpio/gpio-syscon.c:46: warning: Excess struct member 'compatible' description in 'syscon_gpio_data'
>
> I prefer on per-driver basis, but since it's simple and I have nothing
> in my queue,

These are so trivial without impact on the code, even if W=1 reports
them, that it would be quite a churn to handle multiple patches.

Best regards,
Krzysztof