Re: linux-next: build failure after merge of the pinctrl-renesas tree

From: Geert Uytterhoeven
Date: Thu Jun 30 2022 - 05:25:20 EST


Hi Stephen,

On Thu, Jun 30, 2022 at 7:15 AM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
> After merging the pinctrl-renesas tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/pinctrl/renesas/pinctrl-rzv2m.c: In function 'rzv2m_dt_subnode_to_map':
> drivers/pinctrl/renesas/pinctrl-rzv2m.c:37:33: error: implicit declaration of function 'FIELD_GET' [-Werror=implicit-function-declaration]
> 37 | #define MUX_FUNC(pinconf) FIELD_GET(MUX_FUNC_MASK, (pinconf))
> | ^~~~~~~~~
> drivers/pinctrl/renesas/pinctrl-rzv2m.c:306:31: note: in expansion of macro 'MUX_FUNC'
> 306 | psel_val[i] = MUX_FUNC(value);
> | ^~~~~~~~
> cc1: all warnings being treated as errors
>
> Caused by commit
>
> 1e18476c392f ("pinctrl: renesas: Add RZ/V2M pin and gpio controller driver")
>
> I have used the pinctrl-renesas tree from next-20220629 for today.

Thanks for the report. This was missing an include of <linux/bitfield.h>,
which is included implicitly on arm64.

Fixed and updated.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds