From: kernel test robot <lkp@intel.com>
To: Finn Thain <fthain@telegraphics.com.au>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org
Subject: drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short COPYING CREDITS Documentation Kbuild Kconfig LICENSES MAINTAINERS Makefile README arch block certs crypto drivers fs include init ipc kernel lib mm net samples scripts security sound tools usr virt
Date: Sat, 8 Aug 2020 07:59:33 +0800 [thread overview]
Message-ID: <202008080731.uxGr5Bi9%lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 42901 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 30185b69a2d533c4ba6ca926b8390ce7de495e29
commit: e3885f576196ddfc670b3d53e745de96ffcb49ab net/sonic: Use MMIO accessors
date: 7 months ago
config: xtensa-randconfig-s031-20200808 (attached as .config)
compiler: xtensa-linux-gcc (GCC) 9.3.0
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# apt-get install sparse
# sparse version: v0.6.2-118-ge1578773-dirty
git checkout e3885f576196ddfc670b3d53e745de96ffcb49ab
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' ARCH=xtensa
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
sparse warnings: (new ones prefixed by >>)
drivers/net/ethernet/natsemi/xtsonic.c: note: in included file (through arch/xtensa/include/uapi/asm/unistd.h, arch/xtensa/include/asm/unistd.h, include/uapi/linux/unistd.h, ...):
./arch/xtensa/include/generated/uapi/asm/unistd_32.h:391:41: sparse: sparse: no newline at end of file
drivers/net/ethernet/natsemi/xtsonic.c:234:5: sparse: sparse: symbol 'xtsonic_probe' was not declared. Should it be static?
drivers/net/ethernet/natsemi/xtsonic.c: note: in included file:
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:366:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: expected void const volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:371:56: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: expected void volatile [noderef] <asn:2> *addr
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] <asn:2> *addr @@ got unsigned short [usertype] * @@
drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: expected void volatile [noderef] <asn:2> *addr
>> drivers/net/ethernet/natsemi/sonic.h:353:55: sparse: got unsigned short [usertype] *
drivers/net/ethernet/natsemi/sonic.h:358:55: sparse: sparse: too many warnings
vim +353 drivers/net/ethernet/natsemi/sonic.h
342
343 /* Internal inlines for reading/writing DMA buffers. Note that bus
344 size and endianness matter here, whereas they don't for registers,
345 as far as we can tell. */
346 /* OpenBSD calls this "SWO". I'd like to think that sonic_buf_put()
347 is a much better name. */
348 static inline void sonic_buf_put(u16 *base, int bitmode,
349 int offset, __u16 val)
350 {
351 if (bitmode)
352 #ifdef __BIG_ENDIAN
> 353 __raw_writew(val, base + (offset * 2) + 1);
354 #else
355 __raw_writew(val, base + (offset * 2) + 0);
356 #endif
357 else
358 __raw_writew(val, base + (offset * 1) + 0);
359 }
360
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 29213 bytes --]
reply other threads:[~2020-08-08 0:34 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=202008080731.uxGr5Bi9%lkp@intel.com \
--to=lkp@intel.com \
--cc=fthain@telegraphics.com.au \
--cc=kbuild-all@lists.01.org \
--cc=linux-kernel@vger.kernel.org \
/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
all inboxes | Powered by JetHome®