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:
In file included from include/asm-generic/bug.h:22,
from arch/x86/include/asm/bug.h:87,
from include/linux/bug.h:5,
from include/linux/io.h:11,
from drivers/pinctrl/renesas/core.c:16:
drivers/pinctrl/renesas/core.c: In function 'sh_pfc_check_info':
include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Werror=format=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
418 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~include/linux/printk.h:489:9: note: in expansion of macro 'printk'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:489:16: note: in expansion of macro 'KERN_ERR'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
drivers/pinctrl/renesas/core.c:767:17: note: in expansion of macro 'pr_err'
767 | pr_err("%s: " fmt, drvname, ##__VA_ARGS__); \
| ^~~~~~
drivers/pinctrl/renesas/core.c:1186:33: note: in expansion of macro 'sh_pfc_err'
1186 | sh_pfc_err("drive_reg 0x%x:%u/0x%x:%u: pin conflict\n",
| ^~~~~~~~~~
include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Werror=format=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
418 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~include/linux/printk.h:489:9: note: in expansion of macro 'printk'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:489:16: note: in expansion of macro 'KERN_ERR'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
drivers/pinctrl/renesas/core.c:767:17: note: in expansion of macro 'pr_err'
767 | pr_err("%s: " fmt, drvname, ##__VA_ARGS__); \
| ^~~~~~
drivers/pinctrl/renesas/core.c:1186:33: note: in expansion of macro 'sh_pfc_err'
1186 | sh_pfc_err("drive_reg 0x%x:%u/0x%x:%u: pin conflict\n",
| ^~~~~~~~~~
include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Werror=format=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
418 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~include/linux/printk.h:489:9: note: in expansion of macro 'printk'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:489:16: note: in expansion of macro 'KERN_ERR'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
drivers/pinctrl/renesas/core.c:767:17: note: in expansion of macro 'pr_err'
767 | pr_err("%s: " fmt, drvname, ##__VA_ARGS__); \
| ^~~~~~
drivers/pinctrl/renesas/core.c:1206:33: note: in expansion of macro 'sh_pfc_err'
1206 | sh_pfc_err("bias_reg 0x%x:%u/0x%x:%u: pin conflict\n",
| ^~~~~~~~~~
include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Werror=format=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
418 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~include/linux/printk.h:489:9: note: in expansion of macro 'printk'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:489:16: note: in expansion of macro 'KERN_ERR'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
drivers/pinctrl/renesas/core.c:767:17: note: in expansion of macro 'pr_err'
767 | pr_err("%s: " fmt, drvname, ##__VA_ARGS__); \
| ^~~~~~
drivers/pinctrl/renesas/core.c:1206:33: note: in expansion of macro 'sh_pfc_err'
1206 | sh_pfc_err("bias_reg 0x%x:%u/0x%x:%u: pin conflict\n",
| ^~~~~~~~~~
include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Werror=format=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
418 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~include/linux/printk.h:489:9: note: in expansion of macro 'printk'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:489:16: note: in expansion of macro 'KERN_ERR'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
drivers/pinctrl/renesas/core.c:767:17: note: in expansion of macro 'pr_err'
767 | pr_err("%s: " fmt, drvname, ##__VA_ARGS__); \
| ^~~~~~
drivers/pinctrl/renesas/core.c:1210:33: note: in expansion of macro 'sh_pfc_err'
1210 | sh_pfc_err("bias_reg 0x%x:%u/0x%x:%u: pin conflict\n",
| ^~~~~~~~~~
include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 6 has type 'long unsigned int' [-Werror=format=]
5 | #define KERN_SOH "\001" /* ASCII Start Of Header */
| ^~~~~~include/linux/printk.h:418:25: note: in definition of macro 'printk_index_wrap'
418 | _p_func(_fmt, ##__VA_ARGS__); \
| ^~~~include/linux/printk.h:489:9: note: in expansion of macro 'printk'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~
include/linux/kern_levels.h:11:25: note: in expansion of macro 'KERN_SOH'
11 | #define KERN_ERR KERN_SOH "3" /* error conditions */
| ^~~~~~~~
include/linux/printk.h:489:16: note: in expansion of macro 'KERN_ERR'
489 | printk(KERN_ERR pr_fmt(fmt), ##__VA_ARGS__)
| ^~~~~~~~
drivers/pinctrl/renesas/core.c:767:17: note: in expansion of macro 'pr_err'
767 | pr_err("%s: " fmt, drvname, ##__VA_ARGS__); \
| ^~~~~~
drivers/pinctrl/renesas/core.c:1210:33: note: in expansion of macro 'sh_pfc_err'
1210 | sh_pfc_err("bias_reg 0x%x:%u/0x%x:%u: pin conflict\n",
| ^~~~~~~~~~cc1: all warnings being treated as errors
Caused by commit
be1a0d45cdd5 ("pinctrl: renesas: checker: Rework drive and bias pin iteration")
I have used the pinctrl-renesas tree from next-20220419 for today.
Signature · 2 lines
Cheers, Stephen Rothwell
Hi Stephen,
Quoted 8 lines · Stephen Rothwell
After merging the pinctrl-renesas tree, today's linux-next build (
x86_64allmodconfig) failed like this:In file included from
include/asm-generic/bug.h:22,from arch/x86/include/asm/bug.h:87, from include/linux/bug.h:5, from include/linux/io.h:11, from drivers/pinctrl/renesas/core.c:16:
Quoted 6 lines
drivers/pinctrl/renesas/core.c: In function 'sh_pfc_check_info':include/linux/kern_levels.h:5:25: error: format '%u' expects argument of type 'unsigned int', but argument 4 has type 'long unsigned int' [-Werror=format=]Caused by commit
be1a0d45cdd5("pinctrl: renesas: checker: Rework drive and bias pin iteration")
Thanks for the report!
I have fixed the offending commit.
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