Re: [PATCH] thermal/drivers/armada: Fix missing bitfields include

From: Miquel Raynal

Date: Tue Aug 11 2026 - 09:15:35 EST



On 11/08/2026 at 11:47:47 +02, Daniel Lezcano <daniel.lezcano@xxxxxxxxxxxxxxxx> wrote:

> From: Daniel Lezcano <daniel.lezcano@xxxxxxxxxxxxxxxx>
>
> Add the missing include leading to the error:
>
> error: implicit declaration of function ‘FIELD_GET’ [-Werror=implicit-function-declaration]
> 184 | if (FIELD_GET(MON_FAULT_STATUS_MASK, val) == MON_FAULT_LVL1_UPR)
> | ^~~~~~~~~
> cc1: all warnings being treated as errors
>
> Fixes: cbe31d5ce498 ("thermal/drivers/armada: Use bitfield and bitmask macros")
> Reported-by: kernel test robot <lkp@xxxxxxxxx>
> Closes: https://lore.kernel.org/oe-kbuild-all/202608082242.drjXuzsN-lkp@xxxxxxxxx/
> Signed-off-by: Daniel Lezcano <daniel.lezcano@xxxxxxxxxxxxxxxx>

Reviewed-by: Miquel Raynal <miquel.raynal@xxxxxxxxxxx>