linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build failure after merge of the pinctrl-renesas tree
@ 2022-04-20  4:55 Stephen Rothwell
  2022-04-20  9:58 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2022-04-20  4:55 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Geert Uytterhoeven, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 9079 bytes --]

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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: build failure after merge of the pinctrl-renesas tree
  2022-04-20  4:55 linux-next: build failure after merge of the pinctrl-renesas tree Stephen Rothwell
@ 2022-04-20  9:58 ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2022-04-20  9:58 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Linux Kernel Mailing List, Linux Next Mailing List

Hi Stephen,

On Wed, Apr 20, 2022 at 6:55 AM Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 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=]

> 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 -- geert@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: linux-next: build failure after merge of the pinctrl-renesas tree
  2022-06-30  5:15 Stephen Rothwell
@ 2022-06-30  9:25 ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2022-06-30  9:25 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Phil Edworthy, Linux Kernel Mailing List, Linux Next Mailing List

Hi Stephen,

On Thu, Jun 30, 2022 at 7:15 AM Stephen Rothwell <sfr@canb.auug.org.au> 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@linux-m68k.org

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* linux-next: build failure after merge of the pinctrl-renesas tree
@ 2022-06-30  5:15 Stephen Rothwell
  2022-06-30  9:25 ` Geert Uytterhoeven
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2022-06-30  5:15 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: Phil Edworthy, Linux Kernel Mailing List, Linux Next Mailing List

[-- Attachment #1: Type: text/plain, Size: 910 bytes --]

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.

-- 
Cheers,
Stephen Rothwell

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-06-30  9:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-20  4:55 linux-next: build failure after merge of the pinctrl-renesas tree Stephen Rothwell
2022-04-20  9:58 ` Geert Uytterhoeven
2022-06-30  5:15 Stephen Rothwell
2022-06-30  9:25 ` Geert Uytterhoeven

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).