[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <202011030632.Z1kVGihJ-lkp@intel.com>
Date: Tue, 3 Nov 2020 06:34:20 +0800
From: kernel test robot <lkp@...el.com>
To: Jeff Dike <jdike@...mai.com>, netdev@...r.kernel.org
Cc: kbuild-all@...ts.01.org, David Ahern <dsahern@...il.com>,
Jeff Dike <jdike@...mai.com>
Subject: Re: [PATCH net-next] Exempt multicast addresses from five-second
neighbor lifetime
Hi Jeff,
I love your patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
url: https://github.com/0day-ci/linux/commits/Jeff-Dike/Exempt-multicast-addresses-from-five-second-neighbor-lifetime/20201103-015012
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git c43fd36f7fec6c227c5e8a8ddd7d3fe97472182f
config: i386-randconfig-s002-20201102 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-15) 9.3.0
reproduce:
# apt-get install sparse
# sparse version: v0.6.3-56-gc09e8239-dirty
# https://github.com/0day-ci/linux/commit/e4ca67984d1bb7e5276cf18921c75dcd05ce0275
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review Jeff-Dike/Exempt-multicast-addresses-from-five-second-neighbor-lifetime/20201103-015012
git checkout e4ca67984d1bb7e5276cf18921c75dcd05ce0275
# save the attached .config to linux build tree
make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
"sparse warnings: (new ones prefixed by >>)"
net/ipv4/arp.c:933:9: sparse: sparse: preprocessor token IN_MULTICAST redefined
net/ipv4/arp.c: note: in included file (through include/linux/in.h):
>> include/uapi/linux/in.h:273:9: sparse: this was the original definition
>> net/ipv4/arp.c:937:16: sparse: sparse: cast from restricted __be32
vim +937 net/ipv4/arp.c
932
> 933 #define IN_MULTICAST(a) ((((long)(a)) & 0xf0000000) == 0xe0000000)
934
935 static int arp_is_multicast(const void *pkey)
936 {
> 937 return IN_MULTICAST(htonl(*((u32 *)pkey)));
938 }
939
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (31236 bytes)
Powered by blists - more mailing lists