All of lore.kernel.org
 help / color / mirror / Atom feed
* [wsa:renesas/v3u/scif 12/60] include/linux/limits.h:15:18: warning: initialized field overwritten
@ 2020-12-29  2:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-29  2:15 UTC (permalink / raw)
  To: kbuild-all

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git renesas/v3u/scif
head:   4dc3446a23362f840418d32c39626439bdd119fe
commit: 62231818d4bddb2febf578b1b06e8569ff2ae9a9 [12/60] pinctrl: renesas: Initial R8A779A0 (V3U) PFC support
config: arm64-randconfig-r026-20201228 (attached as .config)
compiler: aarch64-linux-gcc (GCC) 9.3.0
reproduce (this is a W=1 build):
        wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        # https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git/commit/?id=62231818d4bddb2febf578b1b06e8569ff2ae9a9
        git remote add wsa https://git.kernel.org/pub/scm/linux/kernel/git/wsa/linux.git
        git fetch --no-tags wsa renesas/v3u/scif
        git checkout 62231818d4bddb2febf578b1b06e8569ff2ae9a9
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=arm64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

   In file included from include/linux/kernel.h:6,
                    from include/asm-generic/bug.h:20,
                    from arch/arm64/include/asm/bug.h:26,
                    from include/linux/bug.h:5,
                    from include/linux/io.h:11,
                    from drivers/pinctrl/renesas/pfc-r8a779a0.c:11:
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2485:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2485 |   [21] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[21]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2485:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2485 |   [21] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2486:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2486 |   [22] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[22]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2486:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2486 |   [22] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2487:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2487 |   [23] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[23]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2487:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2487 |   [23] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2488:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2488 |   [24] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[24]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2488:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2488 |   [24] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2489:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2489 |   [25] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[25]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2489:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2489 |   [25] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2490:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2490 |   [26] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[26]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2490:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2490 |   [26] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2491:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2491 |   [27] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[27]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2491:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2491 |   [27] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2492:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2492 |   [28] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[28]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2492:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2492 |   [28] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2493:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2493 |   [29] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[29]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2493:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2493 |   [29] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2494:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2494 |   [30] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[30]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2494:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2494 |   [30] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
>> include/linux/limits.h:15:18: warning: initialized field overwritten [-Woverride-init]
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2495:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2495 |   [31] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~
   include/linux/limits.h:15:18: note: (near initialization for 'pinmux_bias_regs[9].pins[31]')
      15 | #define U16_MAX  ((u16)~0U)
         |                  ^
   drivers/pinctrl/renesas/sh_pfc.h:24:27: note: in expansion of macro 'U16_MAX'
      24 | #define SH_PFC_PIN_NONE   U16_MAX
         |                           ^~~~~~~
   drivers/pinctrl/renesas/pfc-r8a779a0.c:2495:10: note: in expansion of macro 'SH_PFC_PIN_NONE'
    2495 |   [31] = SH_PFC_PIN_NONE,
         |          ^~~~~~~~~~~~~~~


vim +15 include/linux/limits.h

54d50897d544c87 Masahiro Yamada 2019-03-07  11  
54d50897d544c87 Masahiro Yamada 2019-03-07  12  #define U8_MAX		((u8)~0U)
54d50897d544c87 Masahiro Yamada 2019-03-07  13  #define S8_MAX		((s8)(U8_MAX >> 1))
54d50897d544c87 Masahiro Yamada 2019-03-07  14  #define S8_MIN		((s8)(-S8_MAX - 1))
54d50897d544c87 Masahiro Yamada 2019-03-07 @15  #define U16_MAX		((u16)~0U)
54d50897d544c87 Masahiro Yamada 2019-03-07  16  #define S16_MAX		((s16)(U16_MAX >> 1))
54d50897d544c87 Masahiro Yamada 2019-03-07  17  #define S16_MIN		((s16)(-S16_MAX - 1))
54d50897d544c87 Masahiro Yamada 2019-03-07  18  #define U32_MAX		((u32)~0U)
3f50f132d8400e1 John Fastabend  2020-03-30  19  #define U32_MIN		((u32)0)
54d50897d544c87 Masahiro Yamada 2019-03-07  20  #define S32_MAX		((s32)(U32_MAX >> 1))
54d50897d544c87 Masahiro Yamada 2019-03-07  21  #define S32_MIN		((s32)(-S32_MAX - 1))
54d50897d544c87 Masahiro Yamada 2019-03-07  22  #define U64_MAX		((u64)~0ULL)
54d50897d544c87 Masahiro Yamada 2019-03-07  23  #define S64_MAX		((s64)(U64_MAX >> 1))
54d50897d544c87 Masahiro Yamada 2019-03-07  24  #define S64_MIN		((s64)(-S64_MAX - 1))
54d50897d544c87 Masahiro Yamada 2019-03-07  25  

:::::: The code at line 15 was first introduced by commit
:::::: 54d50897d544c874562253e2a8f70dfcad22afe8 linux/kernel.h: split *_MAX and *_MIN macros into <linux/limits.h>

:::::: TO: Masahiro Yamada <yamada.masahiro@socionext.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 49459 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-29  2:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-29  2:15 [wsa:renesas/v3u/scif 12/60] include/linux/limits.h:15:18: warning: initialized field overwritten kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.