Re: [PATCH] pwm: rcar: include linux/bitfield.h
From: Uwe Kleine-König
Date: Thu Apr 03 2025 - 10:46:12 EST
Hello Arnd,
On Thu, Apr 03, 2025 at 03:23:59PM +0200, Arnd Bergmann wrote:
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> The use of FIELD_MAX() breaks in some configurations because of
> a missing header:
>
> drivers/pwm/pwm-rcar.c:114:12: error: call to undeclared function 'FIELD_MAX'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
> 114 | if (tmp > FIELD_MAX(RCAR_PWMCNT_CYC0_MASK))
> | ^
>
> Fixes: edd549f4956b ("pwm: rcar: Improve register calculation")
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
I already fixed that in my pwm/for-next branch. I did exactly what you
did and squashed that in the offending commit.
Thanks for caring
Uwe
Attachment:
signature.asc
Description: PGP signature