linux-next: build failure after merge of the pinctrl-renesas tree
Hi all,
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.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen,
Quoted 12 lines · Stephen Rothwell
After merging the pinctrl-renesas tree, today's linux-next build (
x86_64allmodconfig) 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
Quoted 5 lines
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 -- [email protected]
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