lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:   Wed, 20 Apr 2022 14:55:17 +1000
From:   Stephen Rothwell <sfr@...b.auug.org.au>
To:     Geert Uytterhoeven <geert@...ux-m68k.org>
Cc:     Geert Uytterhoeven <geert+renesas@...der.be>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: 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.

-- 
Cheers,
Stephen Rothwell

Content of type "application/pgp-signature" skipped

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ