From: kernel test robot <lkp@intel.com>
To: Alexander Lobakin <alexandr.lobakin@intel.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org,
linux-kernel@vger.kernel.org
Subject: [alobakin:ip_tunnel 4/12] include/net/netlink.h:1907:1: warning: excess elements in array initializer
Date: Fri, 26 Aug 2022 21:17:30 +0800 [thread overview]
Message-ID: <202208262105.qPWnx5Kw-lkp@intel.com> (raw)
tree: https://github.com/alobakin/linux ip_tunnel
head: 161f62c9d5cafdbc3216f026a7b7ca32d004b46b
commit: f5876d635ecb78e9ab3bcf7a73e0e08638524fc8 [4/12] netlink: add 'bitmap' attribute type (%NL_ATTR_TYPE_BITMAP / %NLA_BITMAP)
config: arm-randconfig-r003-20220823 (https://download.01.org/0day-ci/archive/20220826/202208262105.qPWnx5Kw-lkp@intel.com/config)
compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project a2100daf12fb980a29fd1a9c85ccf8eaaaf79730)
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
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
# https://github.com/alobakin/linux/commit/f5876d635ecb78e9ab3bcf7a73e0e08638524fc8
git remote add alobakin https://github.com/alobakin/linux
git fetch --no-tags alobakin ip_tunnel
git checkout f5876d635ecb78e9ab3bcf7a73e0e08638524fc8
# save the config file
mkdir build_dir && cp config build_dir/.config
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=arm SHELL=/bin/bash
If you fix the issue, kindly add following tag where applicable
Reported-by: kernel test robot <lkp@intel.com>
All warnings (new ones prefixed by >>):
In file included from init/do_mounts.c:22:
In file included from include/linux/nfs_fs.h:32:
In file included from include/linux/sunrpc/clnt.h:29:
In file included from include/net/ipv6.h:12:
In file included from include/linux/ipv6.h:93:
In file included from include/linux/tcp.h:19:
In file included from include/net/sock.h:66:
In file included from include/net/dst.h:19:
In file included from include/net/neighbour.h:31:
In file included from include/net/rtnetlink.h:6:
>> include/net/netlink.h:1907:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_TYPE(s8);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from init/do_mounts.c:22:
In file included from include/linux/nfs_fs.h:32:
In file included from include/linux/sunrpc/clnt.h:29:
In file included from include/net/ipv6.h:12:
In file included from include/linux/ipv6.h:93:
In file included from include/linux/tcp.h:19:
In file included from include/net/sock.h:66:
In file included from include/net/dst.h:19:
In file included from include/net/neighbour.h:31:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1908:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_TYPE(u8);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from init/do_mounts.c:22:
In file included from include/linux/nfs_fs.h:32:
In file included from include/linux/sunrpc/clnt.h:29:
In file included from include/net/ipv6.h:12:
In file included from include/linux/ipv6.h:93:
In file included from include/linux/tcp.h:19:
In file included from include/net/sock.h:66:
In file included from include/net/dst.h:19:
In file included from include/net/neighbour.h:31:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1910:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_ORDER(s);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1903:2: note: expanded from macro 'NLA_BUILD_BIGINT_ORDER'
NLA_BUILD_BIGINT_TYPE(order##16); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from init/do_mounts.c:22:
In file included from include/linux/nfs_fs.h:32:
In file included from include/linux/sunrpc/clnt.h:29:
In file included from include/net/ipv6.h:12:
In file included from include/linux/ipv6.h:93:
In file included from include/linux/tcp.h:19:
In file included from include/net/sock.h:66:
In file included from include/net/dst.h:19:
In file included from include/net/neighbour.h:31:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1910:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_ORDER(s);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1904:2: note: expanded from macro 'NLA_BUILD_BIGINT_ORDER'
NLA_BUILD_BIGINT_TYPE(order##32); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from init/do_mounts.c:22:
In file included from include/linux/nfs_fs.h:32:
In file included from include/linux/sunrpc/clnt.h:29:
In file included from include/net/ipv6.h:12:
In file included from include/linux/ipv6.h:93:
In file included from include/linux/tcp.h:19:
In file included from include/net/sock.h:66:
In file included from include/net/dst.h:19:
In file included from include/net/neighbour.h:31:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1911:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_ORDER(u);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1903:2: note: expanded from macro 'NLA_BUILD_BIGINT_ORDER'
NLA_BUILD_BIGINT_TYPE(order##16); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from init/do_mounts.c:22:
In file included from include/linux/nfs_fs.h:32:
In file included from include/linux/sunrpc/clnt.h:29:
In file included from include/net/ipv6.h:12:
In file included from include/linux/ipv6.h:93:
In file included from include/linux/tcp.h:19:
In file included from include/net/sock.h:66:
--
In file included from kernel/kallsyms.c:25:
In file included from include/linux/filter.h:26:
In file included from include/net/sch_generic.h:20:
In file included from include/net/rtnetlink.h:6:
>> include/net/netlink.h:1907:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_TYPE(s8);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/kallsyms.c:25:
In file included from include/linux/filter.h:26:
In file included from include/net/sch_generic.h:20:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1908:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_TYPE(u8);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/kallsyms.c:25:
In file included from include/linux/filter.h:26:
In file included from include/net/sch_generic.h:20:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1910:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_ORDER(s);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1903:2: note: expanded from macro 'NLA_BUILD_BIGINT_ORDER'
NLA_BUILD_BIGINT_TYPE(order##16); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/kallsyms.c:25:
In file included from include/linux/filter.h:26:
In file included from include/net/sch_generic.h:20:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1910:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_ORDER(s);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1904:2: note: expanded from macro 'NLA_BUILD_BIGINT_ORDER'
NLA_BUILD_BIGINT_TYPE(order##32); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/kallsyms.c:25:
In file included from include/linux/filter.h:26:
In file included from include/net/sch_generic.h:20:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1911:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_ORDER(u);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1903:2: note: expanded from macro 'NLA_BUILD_BIGINT_ORDER'
NLA_BUILD_BIGINT_TYPE(order##16); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/kallsyms.c:25:
In file included from include/linux/filter.h:26:
In file included from include/net/sch_generic.h:20:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1911:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_ORDER(u);
^~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1904:2: note: expanded from macro 'NLA_BUILD_BIGINT_ORDER'
NLA_BUILD_BIGINT_TYPE(order##32); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from kernel/kallsyms.c:25:
In file included from include/linux/filter.h:26:
In file included from include/net/sch_generic.h:20:
In file included from include/net/rtnetlink.h:6:
include/net/netlink.h:1912:1: warning: excess elements in array initializer [-Wexcess-initializers]
NLA_BUILD_BIGINT_ORDER(be);
^~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1903:2: note: expanded from macro 'NLA_BUILD_BIGINT_ORDER'
NLA_BUILD_BIGINT_TYPE(order##16); \
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
include/net/netlink.h:1869:3: note: expanded from macro 'NLA_BUILD_BIGINT_TYPE'
BITMAP_FROM_U64((u64)value), \
^~~~~~~~~~~~~~~~~~~~~~~~~~~
include/linux/bitmap.h:581:5: note: expanded from macro 'BITMAP_FROM_U64'
((unsigned long) ((u64)(n) >> 32))
vim +1907 include/net/netlink.h
1901
1902 #define NLA_BUILD_BIGINT_ORDER(order) \
1903 NLA_BUILD_BIGINT_TYPE(order##16); \
1904 NLA_BUILD_BIGINT_TYPE(order##32); \
1905 NLA_BUILD_BIGINT_TYPE(order##64)
1906
> 1907 NLA_BUILD_BIGINT_TYPE(s8);
1908 NLA_BUILD_BIGINT_TYPE(u8);
1909
--
0-DAY CI Kernel Test Service
https://01.org/lkp
reply other threads:[~2022-08-26 13:18 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202208262105.qPWnx5Kw-lkp@intel.com \
--to=lkp@intel.com \
--cc=alexandr.lobakin@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=llvm@lists.linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox