net/atm/pppoatm.c:373:24: sparse: sparse: incorrect type in initializer (different address spaces)

From: kernel test robot
Date: Sun Jul 12 2020 - 17:36:43 EST


tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 0aea6d5c5be33ce94c16f9ab2f64de1f481f424b
commit: 670d0a4b10704667765f7d18f7592993d02783aa sparse: use identifiers to define address spaces
date: 3 weeks ago
config: openrisc-randconfig-s031-20200712 (attached as .config)
compiler: or1k-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-37-gc9676a3b-dirty
git checkout 670d0a4b10704667765f7d18f7592993d02783aa
# 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=openrisc

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


sparse warnings: (new ones prefixed by >>)

>> net/atm/pppoatm.c:373:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/atm/pppoatm.c:373:24: sparse: expected int *__pu_addr
net/atm/pppoatm.c:373:24: sparse: got int [noderef] __user *
net/atm/pppoatm.c:376:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/atm/pppoatm.c:376:24: sparse: expected int const *__gu_addr
net/atm/pppoatm.c:376:24: sparse: got int [noderef] __user *
net/atm/pppoatm.c:453:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] [usertype] __user * @@
net/atm/pppoatm.c:453:21: sparse: expected unsigned short const *__gu_addr
net/atm/pppoatm.c:453:21: sparse: got unsigned short [noderef] [usertype] __user *
net/atm/pppoatm.c:464:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/atm/pppoatm.c:464:24: sparse: expected int *__pu_addr
net/atm/pppoatm.c:464:24: sparse: got int [noderef] __user *
net/atm/pppoatm.c:467:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/atm/pppoatm.c:467:24: sparse: expected int *__pu_addr
net/atm/pppoatm.c:467:24: sparse: got int [noderef] __user *
--
net/decnet/af_decnet.c:1537:12: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/decnet/af_decnet.c:1537:12: sparse: expected int const *__gu_addr
net/decnet/af_decnet.c:1537:12: sparse: got int [noderef] __user *optlen
>> net/decnet/af_decnet.c:1632:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/decnet/af_decnet.c:1632:21: sparse: expected int *__pu_addr
net/decnet/af_decnet.c:1632:21: sparse: got int [noderef] __user *optlen
net/decnet/af_decnet.c:249:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int hash @@ got restricted __le16 [usertype] sdn_objnamel @@
net/decnet/af_decnet.c:249:22: sparse: expected unsigned int hash
net/decnet/af_decnet.c:249:22: sparse: got restricted __le16 [usertype] sdn_objnamel
>> net/decnet/af_decnet.c:1241:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/decnet/af_decnet.c:1241:23: sparse: expected int *__pu_addr
>> net/decnet/af_decnet.c:1241:23: sparse: got int [noderef] __user *
net/decnet/af_decnet.c:1254:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/decnet/af_decnet.c:1254:23: sparse: expected int *__pu_addr
net/decnet/af_decnet.c:1254:23: sparse: got int [noderef] __user *
net/decnet/af_decnet.c:1516:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/decnet/af_decnet.c:1516:21: sparse: expected int const *__gu_addr
net/decnet/af_decnet.c:1516:21: sparse: got int [noderef] __user *optlen
net/decnet/af_decnet.c:1521:31: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/decnet/af_decnet.c:1521:31: sparse: expected int *__pu_addr
net/decnet/af_decnet.c:1521:31: sparse: got int [noderef] __user *optlen
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
include/net/dn.h:192:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be16 [usertype] sport @@ got restricted __le16 [usertype] addrloc @@
include/net/dn.h:192:24: sparse: expected restricted __be16 [usertype] sport
include/net/dn.h:192:24: sparse: got restricted __le16 [usertype] addrloc
include/net/dn.h:193:24: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be16 [usertype] dport @@ got restricted __le16 [usertype] addrrem @@
include/net/dn.h:193:24: sparse: expected restricted __be16 [usertype] dport
include/net/dn.h:193:24: sparse: got restricted __le16 [usertype] addrrem
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
net/decnet/af_decnet.c:2159:13: sparse: sparse: context imbalance in 'dn_socket_get_idx' - wrong count at exit
net/decnet/af_decnet.c:2187:9: sparse: sparse: context imbalance in 'dn_socket_seq_next' - unexpected unlock
net/decnet/af_decnet.c:2196:17: sparse: sparse: context imbalance in 'dn_socket_seq_stop' - unexpected unlock
--
>> net/dccp/ccid.c:69:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/dccp/ccid.c:69:13: sparse: expected int *__pu_addr
>> net/dccp/ccid.c:69:13: sparse: got int [noderef] __user *optlen
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
--
>> net/dccp/proto.c:390:22: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/dccp/proto.c:390:22: sparse: expected int *__pu_addr
net/dccp/proto.c:390:22: sparse: got int [noderef] __user *
net/dccp/proto.c:523:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/dccp/proto.c:523:13: sparse: expected int const *__gu_addr
net/dccp/proto.c:523:13: sparse: got int [noderef] __user *
net/dccp/proto.c:527:52: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __be32 const [usertype] service @@ got int [assigned] val @@
net/dccp/proto.c:527:52: sparse: expected restricted __be32 const [usertype] service
net/dccp/proto.c:527:52: sparse: got int [assigned] val
>> net/dccp/proto.c:610:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/dccp/proto.c:610:13: sparse: expected int *__pu_addr
net/dccp/proto.c:610:13: sparse: got int [noderef] __user *optlen
>> net/dccp/proto.c:611:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected restricted __be32 *__pu_addr @@ got restricted __be32 [noderef] [usertype] __user *optval @@
net/dccp/proto.c:611:13: sparse: expected restricted __be32 *__pu_addr
>> net/dccp/proto.c:611:13: sparse: got restricted __be32 [noderef] [usertype] __user *optval
net/dccp/proto.c:625:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/dccp/proto.c:625:13: sparse: expected int const *__gu_addr
net/dccp/proto.c:625:13: sparse: got int [noderef] __user *optlen
net/dccp/proto.c:681:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *optlen @@
net/dccp/proto.c:681:13: sparse: expected int *__pu_addr
net/dccp/proto.c:681:13: sparse: got int [noderef] __user *optlen
net/dccp/proto.c:736:57: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __be32 [usertype] param @@ got int cmsg_type @@
net/dccp/proto.c:736:57: sparse: expected restricted __be32 [usertype] param
net/dccp/proto.c:736:57: sparse: got int cmsg_type
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
--
drivers/watchdog/kempld_wdt.c:349:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/watchdog/kempld_wdt.c:349:21: sparse: expected int const *__gu_addr
drivers/watchdog/kempld_wdt.c:349:21: sparse: got int [noderef] __user *p
>> drivers/watchdog/kempld_wdt.c:357:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/watchdog/kempld_wdt.c:357:23: sparse: expected int *__pu_addr
>> drivers/watchdog/kempld_wdt.c:357:23: sparse: got int [noderef] __user *
--
net/tipc/socket.c:3129:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
net/tipc/socket.c:3129:21: sparse: expected unsigned int const *__gu_addr
net/tipc/socket.c:3129:21: sparse: got unsigned int [noderef] [usertype] __user *
>> net/tipc/socket.c:3212:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *ol @@
net/tipc/socket.c:3212:24: sparse: expected int *__pu_addr
net/tipc/socket.c:3212:24: sparse: got int [noderef] __user *ol
net/tipc/socket.c:3215:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ol @@
net/tipc/socket.c:3215:15: sparse: expected int const *__gu_addr
net/tipc/socket.c:3215:15: sparse: got int [noderef] __user *ol
net/tipc/socket.c:3265:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *ol @@
net/tipc/socket.c:3265:16: sparse: expected int *__pu_addr
net/tipc/socket.c:3265:16: sparse: got int [noderef] __user *ol
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
--
drivers/isdn/mISDN/socket.c:319:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/socket.c:319:21: sparse: expected int const *__gu_addr
drivers/isdn/mISDN/socket.c:319:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/socket.c:333:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/socket.c:333:21: sparse: expected int const *__gu_addr
drivers/isdn/mISDN/socket.c:333:21: sparse: got int [noderef] __user *
>> drivers/isdn/mISDN/socket.c:367:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/socket.c:367:21: sparse: expected int *__pu_addr
drivers/isdn/mISDN/socket.c:367:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/socket.c:371:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/socket.c:371:21: sparse: expected int const *__gu_addr
drivers/isdn/mISDN/socket.c:371:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/socket.c:417:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/socket.c:417:21: sparse: expected int const *__gu_addr
drivers/isdn/mISDN/socket.c:417:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/socket.c:441:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
drivers/isdn/mISDN/socket.c:441:13: sparse: expected int const *__gu_addr
drivers/isdn/mISDN/socket.c:441:13: sparse: got int [noderef] __user *optlen
>> drivers/isdn/mISDN/socket.c:454:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char *__pu_addr @@ got char [noderef] __user *optval @@
drivers/isdn/mISDN/socket.c:454:21: sparse: expected char *__pu_addr
>> drivers/isdn/mISDN/socket.c:454:21: sparse: got char [noderef] __user *optval
drivers/isdn/mISDN/socket.c:650:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/socket.c:650:21: sparse: expected int *__pu_addr
drivers/isdn/mISDN/socket.c:650:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/socket.c:654:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/socket.c:654:21: sparse: expected int const *__gu_addr
drivers/isdn/mISDN/socket.c:654:21: sparse: got int [noderef] __user *
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
--
>> drivers/isdn/mISDN/timerdev.c:124:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/timerdev.c:124:21: sparse: expected int *__pu_addr
drivers/isdn/mISDN/timerdev.c:124:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/timerdev.c:229:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/timerdev.c:229:21: sparse: expected int const *__gu_addr
drivers/isdn/mISDN/timerdev.c:229:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/timerdev.c:241:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/timerdev.c:241:21: sparse: expected int *__pu_addr
drivers/isdn/mISDN/timerdev.c:241:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/timerdev.c:245:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/timerdev.c:245:21: sparse: expected int const *__gu_addr
drivers/isdn/mISDN/timerdev.c:245:21: sparse: got int [noderef] __user *
drivers/isdn/mISDN/timerdev.c:252:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/isdn/mISDN/timerdev.c:252:21: sparse: expected int *__pu_addr
drivers/isdn/mISDN/timerdev.c:252:21: sparse: got int [noderef] __user *
--
>> drivers/net/wireless/ray_cs.c:733:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem *[usertype] sram @@
drivers/net/wireless/ray_cs.c:733:22: sparse: expected void *addr
>> drivers/net/wireless/ray_cs.c:733:22: sparse: got void [noderef] __iomem *[usertype] sram
>> drivers/net/wireless/ray_cs.c:734:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem *[usertype] rmem @@
drivers/net/wireless/ray_cs.c:734:22: sparse: expected void *addr
>> drivers/net/wireless/ray_cs.c:734:22: sparse: got void [noderef] __iomem *[usertype] rmem
>> drivers/net/wireless/ray_cs.c:735:22: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem *[usertype] amem @@
drivers/net/wireless/ray_cs.c:735:22: sparse: expected void *addr
>> drivers/net/wireless/ray_cs.c:735:22: sparse: got void [noderef] __iomem *[usertype] amem
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
--
drivers/net/ethernet/via/via-velocity.h:237:24: sparse: sparse: mixed bitwiseness
drivers/net/ethernet/via/via-velocity.c:87:26: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void *addr @@ got struct mac_regs [noderef] __iomem *mac_regs @@
drivers/net/ethernet/via/via-velocity.c:87:26: sparse: expected void *addr
drivers/net/ethernet/via/via-velocity.c:87:26: sparse: got struct mac_regs [noderef] __iomem *mac_regs
drivers/net/ethernet/via/via-velocity.c:90:49: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted pci_power_t [usertype] state @@ got char state @@
drivers/net/ethernet/via/via-velocity.c:90:49: sparse: expected restricted pci_power_t [usertype] state
drivers/net/ethernet/via/via-velocity.c:90:49: sparse: got char state
drivers/net/ethernet/via/via-velocity.c:92:36: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void volatile [noderef] __iomem *addr @@ got void * @@
drivers/net/ethernet/via/via-velocity.c:92:36: sparse: expected void volatile [noderef] __iomem *addr
drivers/net/ethernet/via/via-velocity.c:92:36: sparse: got void *
drivers/net/ethernet/via/via-velocity.c:1727:34: sparse: sparse: cast from restricted __le16
drivers/net/ethernet/via/via-velocity.c:1727:34: sparse: sparse: cast from restricted __le16
drivers/net/ethernet/via/via-velocity.c:1727:34: sparse: sparse: cast from restricted __le16
drivers/net/ethernet/via/via-velocity.c:1727:34: sparse: sparse: cast from restricted __le16
drivers/net/ethernet/via/via-velocity.c:1727:34: sparse: sparse: cast from restricted __le16
drivers/net/ethernet/via/via-velocity.c:1727:34: sparse: sparse: cast from restricted __le16
drivers/net/ethernet/via/via-velocity.c:1730:17: sparse: sparse: cast to restricted __le16
drivers/net/ethernet/via/via-velocity.c:1730:17: sparse: sparse: cast to restricted __le16
drivers/net/ethernet/via/via-velocity.c:1730:17: sparse: sparse: cast to restricted __le16
drivers/net/ethernet/via/via-velocity.c:1730:17: sparse: sparse: cast to restricted __le16
drivers/net/ethernet/via/via-velocity.c:2222:40: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected char state @@ got restricted pci_power_t [usertype] @@
drivers/net/ethernet/via/via-velocity.c:2222:40: sparse: expected char state
drivers/net/ethernet/via/via-velocity.c:2222:40: sparse: got restricted pci_power_t [usertype]
drivers/net/ethernet/via/via-velocity.c:2230:48: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected char state @@ got restricted pci_power_t [usertype] @@
drivers/net/ethernet/via/via-velocity.c:2230:48: sparse: expected char state
drivers/net/ethernet/via/via-velocity.c:2230:48: sparse: got restricted pci_power_t [usertype]
drivers/net/ethernet/via/via-velocity.c:2417:48: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected char state @@ got restricted pci_power_t [usertype] @@
drivers/net/ethernet/via/via-velocity.c:2417:48: sparse: expected char state
drivers/net/ethernet/via/via-velocity.c:2417:48: sparse: got restricted pci_power_t [usertype]
drivers/net/ethernet/via/via-velocity.c:2430:48: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected char state @@ got restricted pci_power_t [usertype] @@
drivers/net/ethernet/via/via-velocity.c:2430:48: sparse: expected char state
drivers/net/ethernet/via/via-velocity.c:2430:48: sparse: got restricted pci_power_t [usertype]
drivers/net/ethernet/via/via-velocity.c:2868:40: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected char state @@ got restricted pci_power_t [usertype] @@
drivers/net/ethernet/via/via-velocity.c:2868:40: sparse: expected char state
drivers/net/ethernet/via/via-velocity.c:2868:40: sparse: got restricted pci_power_t [usertype]
>> drivers/net/ethernet/via/via-velocity.c:2875:17: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got struct mac_regs [noderef] __iomem *[assigned] regs @@
drivers/net/ethernet/via/via-velocity.c:2875:17: sparse: expected void *addr
>> drivers/net/ethernet/via/via-velocity.c:2875:17: sparse: got struct mac_regs [noderef] __iomem *[assigned] regs
>> drivers/net/ethernet/via/via-velocity.c:2896:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got struct mac_regs [noderef] __iomem *mac_regs @@
drivers/net/ethernet/via/via-velocity.c:2896:21: sparse: expected void *addr
drivers/net/ethernet/via/via-velocity.c:2896:21: sparse: got struct mac_regs [noderef] __iomem *mac_regs
drivers/net/ethernet/via/via-velocity.c:3270:48: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected char state @@ got restricted pci_power_t [usertype] @@
drivers/net/ethernet/via/via-velocity.c:3270:48: sparse: expected char state
drivers/net/ethernet/via/via-velocity.c:3270:48: sparse: got restricted pci_power_t [usertype]
drivers/net/ethernet/via/via-velocity.c:3287:48: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected char state @@ got restricted pci_power_t [usertype] @@
drivers/net/ethernet/via/via-velocity.c:3287:48: sparse: expected char state
drivers/net/ethernet/via/via-velocity.c:3287:48: sparse: got restricted pci_power_t [usertype]
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:215:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:215:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:215:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
--
drivers/net/ppp/pptp.c:281:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] ack @@ got restricted __be32 @@
drivers/net/ppp/pptp.c:281:21: sparse: expected unsigned int [usertype] ack
drivers/net/ppp/pptp.c:281:21: sparse: got restricted __be32
drivers/net/ppp/pptp.c:283:23: sparse: sparse: cast to restricted __be32
drivers/net/ppp/pptp.c:358:26: sparse: sparse: cast from restricted __be16
drivers/net/ppp/pptp.c:358:26: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] call_id @@ got restricted __be16 [usertype] @@
drivers/net/ppp/pptp.c:358:26: sparse: expected unsigned short [usertype] call_id
drivers/net/ppp/pptp.c:358:26: sparse: got restricted __be16 [usertype]
>> drivers/net/ppp/pptp.c:582:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/pptp.c:582:21: sparse: expected int *__pu_addr
drivers/net/ppp/pptp.c:582:21: sparse: got int [noderef] __user *p
drivers/net/ppp/pptp.c:587:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *p @@
drivers/net/ppp/pptp.c:587:21: sparse: expected int const *__gu_addr
drivers/net/ppp/pptp.c:587:21: sparse: got int [noderef] __user *p
--
>> drivers/net/ethernet/xircom/xirc2ps_cs.c:935:50: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem * @@
drivers/net/ethernet/xircom/xirc2ps_cs.c:935:50: sparse: expected void *addr
>> drivers/net/ethernet/xircom/xirc2ps_cs.c:935:50: sparse: got void [noderef] __iomem *
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
--
>> net/l2tp/l2tp_ip.c:593:16: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/l2tp/l2tp_ip.c:593:16: sparse: expected int *__pu_addr
>> net/l2tp/l2tp_ip.c:593:16: sparse: got int [noderef] __user *
arch/openrisc/include/asm/cmpxchg.h:101:29: sparse: sparse: shift too big (32) for type int
--
>> drivers/iio/adc/men_z188_adc.c:145:20: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __iomem *base @@
drivers/iio/adc/men_z188_adc.c:145:20: sparse: expected void *addr
>> drivers/iio/adc/men_z188_adc.c:145:20: sparse: got void [noderef] __iomem *base
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:166:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:179:15: sparse: sparse: cast to restricted __le32
include/asm-generic/io.h:225:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] value @@ got restricted __le32 [usertype] @@
include/asm-generic/io.h:225:22: sparse: expected unsigned int [usertype] value
include/asm-generic/io.h:225:22: sparse: got restricted __le32 [usertype]
--
>> drivers/android/binder.c:3609:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:3609:21: sparse: expected unsigned int const *__gu_addr
>> drivers/android/binder.c:3609:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:3629:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:3629:29: sparse: expected unsigned int const *__gu_addr
drivers/android/binder.c:3629:29: sparse: got unsigned int [noderef] [usertype] __user *
>> drivers/android/binder.c:3688:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long const *__gu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
drivers/android/binder.c:3688:29: sparse: expected unsigned long long const *__gu_addr
>> drivers/android/binder.c:3688:29: sparse: got unsigned long long [noderef] [usertype] __user *
drivers/android/binder.c:3691:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long const *__gu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
drivers/android/binder.c:3691:29: sparse: expected unsigned long long const *__gu_addr
drivers/android/binder.c:3691:29: sparse: got unsigned long long [noderef] [usertype] __user *
drivers/android/binder.c:3760:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long const *__gu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
drivers/android/binder.c:3760:29: sparse: expected unsigned long long const *__gu_addr
drivers/android/binder.c:3760:29: sparse: got unsigned long long [noderef] [usertype] __user *
drivers/android/binder.c:3857:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:3857:29: sparse: expected unsigned int const *__gu_addr
drivers/android/binder.c:3857:29: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:3860:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long const *__gu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
drivers/android/binder.c:3860:29: sparse: expected unsigned long long const *__gu_addr
drivers/android/binder.c:3860:29: sparse: got unsigned long long [noderef] [usertype] __user *
drivers/android/binder.c:3979:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long const *__gu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
drivers/android/binder.c:3979:29: sparse: expected unsigned long long const *__gu_addr
drivers/android/binder.c:3979:29: sparse: got unsigned long long [noderef] [usertype] __user *
>> drivers/android/binder.c:4055:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:4055:13: sparse: expected unsigned int *__pu_addr
drivers/android/binder.c:4055:13: sparse: got unsigned int [noderef] [usertype] __user *
>> drivers/android/binder.c:4059:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long *__pu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
drivers/android/binder.c:4059:13: sparse: expected unsigned long long *__pu_addr
drivers/android/binder.c:4059:13: sparse: got unsigned long long [noderef] [usertype] __user *
drivers/android/binder.c:4063:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long *__pu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
drivers/android/binder.c:4063:13: sparse: expected unsigned long long *__pu_addr
drivers/android/binder.c:4063:13: sparse: got unsigned long long [noderef] [usertype] __user *
drivers/android/binder.c:4186:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:4186:21: sparse: expected unsigned int *__pu_addr
drivers/android/binder.c:4186:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:4268:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:4268:29: sparse: expected unsigned int *__pu_addr
drivers/android/binder.c:4268:29: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:4281:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:4281:29: sparse: expected unsigned int *__pu_addr
drivers/android/binder.c:4281:29: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:4407:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:4407:29: sparse: expected unsigned int *__pu_addr
drivers/android/binder.c:4407:29: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:4410:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned long long *__pu_addr @@ got unsigned long long [noderef] [usertype] __user * @@
drivers/android/binder.c:4410:29: sparse: expected unsigned long long *__pu_addr
drivers/android/binder.c:4410:29: sparse: got unsigned long long [noderef] [usertype] __user *
drivers/android/binder.c:4482:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:4482:37: sparse: expected unsigned int *__pu_addr
drivers/android/binder.c:4482:37: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:4502:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:4502:21: sparse: expected unsigned int *__pu_addr
drivers/android/binder.c:4502:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:4567:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int *__pu_addr @@ got unsigned int [noderef] [usertype] __user * @@
drivers/android/binder.c:4567:21: sparse: expected unsigned int *__pu_addr
drivers/android/binder.c:4567:21: sparse: got unsigned int [noderef] [usertype] __user *
drivers/android/binder.c:4806:24: sparse: sparse: incorrect type in return expression (different base types) @@ expected restricted __poll_t @@ got int @@
drivers/android/binder.c:4806:24: sparse: expected restricted __poll_t
drivers/android/binder.c:4806:24: sparse: got int
>> drivers/android/binder.c:5071:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int *__pu_addr @@ got signed int [noderef] __user * @@
drivers/android/binder.c:5071:21: sparse: expected signed int *__pu_addr
>> drivers/android/binder.c:5071:21: sparse: got signed int [noderef] __user *
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
--
drivers/hwmon/w83793.c:1372:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected char const *__gu_addr @@ got char const [noderef] __user * @@
drivers/hwmon/w83793.c:1372:37: sparse: expected char const *__gu_addr
drivers/hwmon/w83793.c:1372:37: sparse: got char const [noderef] __user *
>> drivers/hwmon/w83793.c:1408:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/hwmon/w83793.c:1408:23: sparse: expected int *__pu_addr
drivers/hwmon/w83793.c:1408:23: sparse: got int [noderef] __user *
drivers/hwmon/w83793.c:1412:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/hwmon/w83793.c:1412:23: sparse: expected int *__pu_addr
drivers/hwmon/w83793.c:1412:23: sparse: got int [noderef] __user *
drivers/hwmon/w83793.c:1421:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/hwmon/w83793.c:1421:23: sparse: expected int *__pu_addr
drivers/hwmon/w83793.c:1421:23: sparse: got int [noderef] __user *
drivers/hwmon/w83793.c:1425:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/hwmon/w83793.c:1425:21: sparse: expected int const *__gu_addr
drivers/hwmon/w83793.c:1425:21: sparse: got int [noderef] __user *
drivers/hwmon/w83793.c:1431:31: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
drivers/hwmon/w83793.c:1431:31: sparse: expected int *__pu_addr
drivers/hwmon/w83793.c:1431:31: sparse: got int [noderef] __user *
drivers/hwmon/w83793.c:1435:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/hwmon/w83793.c:1435:21: sparse: expected int const *__gu_addr
drivers/hwmon/w83793.c:1435:21: sparse: got int [noderef] __user *
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
--
net/appletalk/ddp.c:100:33: sparse: sparse: restricted __be16 degrades to integer
net/appletalk/ddp.c:113:33: sparse: sparse: restricted __be16 degrades to integer
net/appletalk/ddp.c:409:47: sparse: sparse: restricted __be16 degrades to integer
>> net/appletalk/ddp.c:1801:22: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/appletalk/ddp.c:1801:22: sparse: expected int *__pu_addr
>> net/appletalk/ddp.c:1801:22: sparse: got int [noderef] __user *
net/appletalk/ddp.c:1814:22: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
net/appletalk/ddp.c:1814:22: sparse: expected int *__pu_addr
net/appletalk/ddp.c:1814:22: sparse: got int [noderef] __user *
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
--
>> drivers/video/fbdev/uvesafb.c:1757:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got char [noderef] __iomem *screen_base @@
drivers/video/fbdev/uvesafb.c:1757:21: sparse: expected void *addr
>> drivers/video/fbdev/uvesafb.c:1757:21: sparse: got char [noderef] __iomem *screen_base
drivers/video/fbdev/uvesafb.c:1784:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got char [noderef] __iomem *screen_base @@
drivers/video/fbdev/uvesafb.c:1784:29: sparse: expected void *addr
drivers/video/fbdev/uvesafb.c:1784:29: sparse: got char [noderef] __iomem *screen_base
--
>> net/ipv4/bpfilter/sockopt.c:63:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ipv4/bpfilter/sockopt.c:63:13: sparse: expected int const *__gu_addr
>> net/ipv4/bpfilter/sockopt.c:63:13: sparse: got int [noderef] __user *optlen
--
>> drivers/char/pcmcia/synclink_cs.c:2058:17: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user *mask_ptr @@
drivers/char/pcmcia/synclink_cs.c:2058:17: sparse: expected int *__pu_addr
>> drivers/char/pcmcia/synclink_cs.c:2058:17: sparse: got int [noderef] __user *mask_ptr
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:511:22: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned short [usertype] value @@ got restricted __le16 [usertype] @@
include/asm-generic/io.h:511:22: sparse: expected unsigned short [usertype] value
include/asm-generic/io.h:511:22: sparse: got restricted __le16 [usertype]
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
include/asm-generic/io.h:477:15: sparse: sparse: cast to restricted __le16
--
>> fs/coda/psdev.c:79:24: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int *__pu_addr @@ got int [noderef] __user * @@
fs/coda/psdev.c:79:24: sparse: expected int *__pu_addr
>> fs/coda/psdev.c:79:24: sparse: got int [noderef] __user *
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
--
>> net/netfilter/x_tables.c:277:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short *__pu_addr @@ got unsigned short [noderef] [usertype] __user *psize @@
net/netfilter/x_tables.c:277:13: sparse: expected unsigned short *__pu_addr
>> net/netfilter/x_tables.c:277:13: sparse: got unsigned short [noderef] [usertype] __user *psize
>> net/netfilter/x_tables.c:281:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned char *__pu_addr @@ got unsigned char [noderef] [usertype] __user *prev @@
net/netfilter/x_tables.c:281:13: sparse: expected unsigned char *__pu_addr
>> net/netfilter/x_tables.c:281:13: sparse: got unsigned char [noderef] [usertype] __user *prev
>> net/netfilter/x_tables.c:299:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *addr @@ got void [noderef] __user * @@
net/netfilter/x_tables.c:299:28: sparse: expected void *addr
net/netfilter/x_tables.c:299:28: sparse: got void [noderef] __user *
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from
include/linux/uaccess.h:131:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *to @@ got void [noderef] __user *to @@
include/linux/uaccess.h:131:38: sparse: expected void *to
include/linux/uaccess.h:131:38: sparse: got void [noderef] __user *to
include/linux/uaccess.h:131:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const [noderef] __user *from @@ got void const *from @@
include/linux/uaccess.h:131:42: sparse: expected void const [noderef] __user *from
include/linux/uaccess.h:131:42: sparse: got void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: sparse: incorrect type in argument 2 (different address spaces) @@ expected void const *from @@ got void const [noderef] __user *from @@
arch/openrisc/include/asm/uaccess.h:246:55: sparse: expected void const *from
arch/openrisc/include/asm/uaccess.h:246:55: sparse: got void const [noderef] __user *from

vim +373 net/atm/pppoatm.c

^1da177e4c3f41 Linus Torvalds 2005-04-16 366
^1da177e4c3f41 Linus Torvalds 2005-04-16 367 /* This handles ioctls sent to the /dev/ppp interface */
^1da177e4c3f41 Linus Torvalds 2005-04-16 368 static int pppoatm_devppp_ioctl(struct ppp_channel *chan, unsigned int cmd,
^1da177e4c3f41 Linus Torvalds 2005-04-16 369 unsigned long arg)
^1da177e4c3f41 Linus Torvalds 2005-04-16 370 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 371 switch (cmd) {
^1da177e4c3f41 Linus Torvalds 2005-04-16 372 case PPPIOCGFLAGS:
^1da177e4c3f41 Linus Torvalds 2005-04-16 @373 return put_user(chan_to_pvcc(chan)->flags, (int __user *) arg)
^1da177e4c3f41 Linus Torvalds 2005-04-16 374 ? -EFAULT : 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 375 case PPPIOCSFLAGS:
^1da177e4c3f41 Linus Torvalds 2005-04-16 376 return get_user(chan_to_pvcc(chan)->flags, (int __user *) arg)
^1da177e4c3f41 Linus Torvalds 2005-04-16 377 ? -EFAULT : 0;
^1da177e4c3f41 Linus Torvalds 2005-04-16 378 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 379 return -ENOTTY;
^1da177e4c3f41 Linus Torvalds 2005-04-16 380 }
^1da177e4c3f41 Linus Torvalds 2005-04-16 381

:::::: The code at line 373 was first introduced by commit
:::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2

:::::: TO: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>
:::::: CC: Linus Torvalds <torvalds@xxxxxxxxxxxxxxx>

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

Attachment: .config.gz
Description: application/gzip