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>] [day] [month] [year] [list]
Date:   Sat, 8 Aug 2020 07:59:33 +0800
From:   kernel test robot <lkp@...el.com>
To:     Finn Thain <fthain@...egraphics.com.au>
Cc:     kbuild-all@...ts.01.org, linux-kernel@...r.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

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (29213 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ