From: kernel test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: sparse: incorrect type in argument 1 (different base types)
Date: Thu, 14 Jan 2021 16:36:53 +0800 [thread overview]
Message-ID: <202101141633.YXecM55w-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 35808 bytes --]
Hi Luc,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date: 5 months ago
config: sh-randconfig-s032-20210114 (attached as .config)
compiler: sh4-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.3-208-g46a52ca4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e5fc436f06eef54ef512ea55a9db8eb9f2e76959
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e5fc436f06eef54ef512ea55a9db8eb9f2e76959
# 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=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:38:20: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:38:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:38:20: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:48:20: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:48:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:48:20: sparse: got unsigned int
--
>> arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: got unsigned int
>> arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: got unsigned int
--
>> arch/sh/boards/mach-rsk/devices-rsk7203.c:131:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/boards/mach-rsk/devices-rsk7203.c:131:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/mach-rsk/devices-rsk7203.c:131:9: sparse: got unsigned int
--
drivers/hid/hidraw.c:389:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/hid/hidraw.c:389:37: sparse: expected int const *__gu_addr
drivers/hid/hidraw.c:389:37: sparse: got int [noderef] __user *
>> drivers/hid/hidraw.c:389:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/hid/hidraw.c:389:37: sparse: expected void const volatile [noderef] __user *ptr
drivers/hid/hidraw.c:389:37: sparse: got int const *__gu_addr
--
drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user *
>> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr
--
kernel/bpf/cgroup.c:1439:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
kernel/bpf/cgroup.c:1439:21: sparse: expected int const *__gu_addr
kernel/bpf/cgroup.c:1439:21: sparse: got int [noderef] __user *optlen
>> kernel/bpf/cgroup.c:1439:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
kernel/bpf/cgroup.c:1439:21: sparse: expected void const volatile [noderef] __user *ptr
kernel/bpf/cgroup.c:1439:21: sparse: got int const *__gu_addr
--
net/socket.c:1126:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/socket.c:1126:29: sparse: expected int const *__gu_addr
net/socket.c:1126:29: sparse: got int [noderef] __user *
>> net/socket.c:1126:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/socket.c:1126:29: sparse: expected void const volatile [noderef] __user *ptr
net/socket.c:1126:29: sparse: got int const *__gu_addr
net/socket.c:227:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ulen @@
net/socket.c:227:15: sparse: expected int const *__gu_addr
net/socket.c:227:15: sparse: got int [noderef] __user *ulen
net/socket.c:227:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/socket.c:227:15: sparse: expected void const volatile [noderef] __user *ptr
net/socket.c:227:15: sparse: got int const *__gu_addr
net/socket.c:2166:30: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/socket.c:2166:30: sparse: expected int const *__gu_addr
net/socket.c:2166:30: sparse: got int [noderef] __user *optlen
net/socket.c:2166:30: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/socket.c:2166:30: sparse: expected void const volatile [noderef] __user *ptr
net/socket.c:2166:30: sparse: got int const *__gu_addr
--
net/core/sock.c:1313:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/core/sock.c:1313:13: sparse: expected int const *__gu_addr
net/core/sock.c:1313:13: sparse: got int [noderef] __user *optlen
>> net/core/sock.c:1313:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/core/sock.c:1313:13: sparse: expected void const volatile [noderef] __user *ptr
net/core/sock.c:1313:13: sparse: got int const *__gu_addr
net/core/sock.c:1997:9: sparse: sparse: context imbalance in 'sk_clone_lock' - wrong count at exit
net/core/sock.c:2001:6: sparse: sparse: context imbalance in 'sk_free_unlock_clone' - unexpected unlock
net/core/sock.c:3093:6: sparse: sparse: context imbalance in 'lock_sock_fast' - different lock contexts for basic block
net/core/sock.c:3565:13: sparse: sparse: context imbalance in 'proto_seq_start' - wrong count at exit
net/core/sock.c:3577:13: sparse: sparse: context imbalance in 'proto_seq_stop' - wrong count at exit
--
net/llc/af_llc.c:1147:14: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/llc/af_llc.c:1147:14: sparse: expected int const *__gu_addr
net/llc/af_llc.c:1147:14: sparse: got int [noderef] __user *optlen
>> net/llc/af_llc.c:1147:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/llc/af_llc.c:1147:14: sparse: expected void const volatile [noderef] __user *ptr
net/llc/af_llc.c:1147:14: sparse: got int const *__gu_addr
--
net/netlink/af_netlink.c:1734:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/netlink/af_netlink.c:1734:13: sparse: expected int const *__gu_addr
net/netlink/af_netlink.c:1734:13: sparse: got int [noderef] __user *optlen
>> net/netlink/af_netlink.c:1734:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/netlink/af_netlink.c:1734:13: sparse: expected void const volatile [noderef] __user *ptr
net/netlink/af_netlink.c:1734:13: sparse: got int const *__gu_addr
net/netlink/af_netlink.c:2535:13: sparse: sparse: context imbalance in 'netlink_walk_start' - wrong count at exit
net/netlink/af_netlink.c:2541:13: sparse: sparse: context imbalance in 'netlink_walk_stop' - unexpected unlock
net/netlink/af_netlink.c:2591:9: sparse: sparse: context imbalance in 'netlink_seq_start' - wrong count at exit
--
net/ethtool/ioctl.c:81:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *[assigned] sizeaddr @@
net/ethtool/ioctl.c:81:13: sparse: expected unsigned int const *__gu_addr
net/ethtool/ioctl.c:81:13: sparse: got unsigned int [noderef] [usertype] __user *[assigned] sizeaddr
>> net/ethtool/ioctl.c:81:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
net/ethtool/ioctl.c:81:13: sparse: expected void const volatile [noderef] __user *ptr
net/ethtool/ioctl.c:81:13: sparse: got unsigned int const *__gu_addr
--
net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/x25/af_x25.c:470:13: sparse: expected int const *__gu_addr
net/x25/af_x25.c:470:13: sparse: got int [noderef] __user *optlen
>> net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/x25/af_x25.c:470:13: sparse: expected void const volatile [noderef] __user *ptr
net/x25/af_x25.c:470:13: sparse: got int const *__gu_addr
--
net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/netrom/af_netrom.c:359:13: sparse: expected int const *__gu_addr
net/netrom/af_netrom.c:359:13: sparse: got int [noderef] __user *optlen
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/netrom/af_netrom.c:359:13: sparse: expected void const volatile [noderef] __user *ptr
net/netrom/af_netrom.c:359:13: sparse: got int const *__gu_addr
--
net/rose/af_rose.c:438:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/rose/af_rose.c:438:13: sparse: expected int const *__gu_addr
net/rose/af_rose.c:438:13: sparse: got int [noderef] __user *optlen
>> net/rose/af_rose.c:438:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/rose/af_rose.c:438:13: sparse: expected void const volatile [noderef] __user *ptr
net/rose/af_rose.c:438:13: sparse: got int const *__gu_addr
--
net/ax25/af_ax25.c:695:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ax25/af_ax25.c:695:13: sparse: expected int const *__gu_addr
net/ax25/af_ax25.c:695:13: sparse: got int [noderef] __user *optlen
>> net/ax25/af_ax25.c:695:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/ax25/af_ax25.c:695:13: sparse: expected void const volatile [noderef] __user *ptr
net/ax25/af_ax25.c:695:13: sparse: got int const *__gu_addr
net/ax25/af_ax25.c:1742:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@
net/ax25/af_ax25.c:1742:21: sparse: expected long const *__gu_addr
net/ax25/af_ax25.c:1742:21: sparse: got long [noderef] __user *
>> net/ax25/af_ax25.c:1742:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@
net/ax25/af_ax25.c:1742:21: sparse: expected void const volatile [noderef] __user *ptr
net/ax25/af_ax25.c:1742:21: sparse: got long const *__gu_addr
--
net/can/raw.c:659:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/can/raw.c:659:13: sparse: expected int const *__gu_addr
net/can/raw.c:659:13: sparse: got int [noderef] __user *optlen
>> net/can/raw.c:659:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/can/raw.c:659:13: sparse: expected void const volatile [noderef] __user *ptr
net/can/raw.c:659:13: sparse: got int const *__gu_addr
--
net/can/j1939/socket.c:748:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/can/j1939/socket.c:748:13: sparse: expected int const *__gu_addr
net/can/j1939/socket.c:748:13: sparse: got int [noderef] __user *optlen
>> net/can/j1939/socket.c:748:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/can/j1939/socket.c:748:13: sparse: expected void const volatile [noderef] __user *ptr
net/can/j1939/socket.c:748:13: sparse: got int const *__gu_addr
--
net/bluetooth/hci_sock.c:1941:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/bluetooth/hci_sock.c:1941:13: sparse: expected int const *__gu_addr
net/bluetooth/hci_sock.c:1941:13: sparse: got int [noderef] __user *optlen
>> net/bluetooth/hci_sock.c:1941:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/bluetooth/hci_sock.c:1941:13: sparse: expected void const volatile [noderef] __user *ptr
net/bluetooth/hci_sock.c:1941:13: sparse: got int const *__gu_addr
--
net/bluetooth/hci_core.c:2099:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] [usertype] __user * @@
net/bluetooth/hci_core.c:2099:13: sparse: expected unsigned short const *__gu_addr
net/bluetooth/hci_core.c:2099:13: sparse: got unsigned short [noderef] [usertype] __user *
>> net/bluetooth/hci_core.c:2099:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@
net/bluetooth/hci_core.c:2099:13: sparse: expected void const volatile [noderef] __user *ptr
net/bluetooth/hci_core.c:2099:13: sparse: got unsigned short const *__gu_addr
--
net/bluetooth/l2cap_sock.c:428:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/bluetooth/l2cap_sock.c:428:13: sparse: expected int const *__gu_addr
net/bluetooth/l2cap_sock.c:428:13: sparse: got int [noderef] __user *optlen
>> net/bluetooth/l2cap_sock.c:428:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/bluetooth/l2cap_sock.c:428:13: sparse: expected void const volatile [noderef] __user *ptr
net/bluetooth/l2cap_sock.c:428:13: sparse: got int const *__gu_addr
net/bluetooth/l2cap_sock.c:553:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/bluetooth/l2cap_sock.c:553:13: sparse: expected int const *__gu_addr
net/bluetooth/l2cap_sock.c:553:13: sparse: got int [noderef] __user *optlen
net/bluetooth/l2cap_sock.c:553:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/bluetooth/l2cap_sock.c:553:13: sparse: expected void const volatile [noderef] __user *ptr
net/bluetooth/l2cap_sock.c:553:13: sparse: got int const *__gu_addr
--
net/atm/svc.c:509:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/atm/svc.c:509:13: sparse: expected int const *__gu_addr
net/atm/svc.c:509:13: sparse: got int [noderef] __user *optlen
>> net/atm/svc.c:509:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/atm/svc.c:509:13: sparse: expected void const volatile [noderef] __user *ptr
net/atm/svc.c:509:13: sparse: got int const *__gu_addr
--
net/atm/ioctl.c:125:25: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] [usertype] __user * @@
net/atm/ioctl.c:125:25: sparse: expected unsigned short const *__gu_addr
net/atm/ioctl.c:125:25: sparse: got unsigned short [noderef] [usertype] __user *
>> net/atm/ioctl.c:125:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@
net/atm/ioctl.c:125:25: sparse: expected void const volatile [noderef] __user *ptr
net/atm/ioctl.c:125:25: sparse: got unsigned short const *__gu_addr
net/atm/ioctl.c:180:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __user *const *__gu_addr @@ got void [noderef] __user *[noderef] __user * @@
net/atm/ioctl.c:180:29: sparse: expected void [noderef] __user *const *__gu_addr
net/atm/ioctl.c:180:29: sparse: got void [noderef] __user *[noderef] __user *
>> net/atm/ioctl.c:180:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got void [noderef] __user *const *__gu_addr @@
net/atm/ioctl.c:180:29: sparse: expected void const volatile [noderef] __user *ptr
net/atm/ioctl.c:180:29: sparse: got void [noderef] __user *const *__gu_addr
net/atm/ioctl.c:203:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __user *const *__gu_addr @@ got void [noderef] __user *[noderef] __user * @@
net/atm/ioctl.c:203:29: sparse: expected void [noderef] __user *const *__gu_addr
net/atm/ioctl.c:203:29: sparse: got void [noderef] __user *[noderef] __user *
net/atm/ioctl.c:203:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got void [noderef] __user *const *__gu_addr @@
net/atm/ioctl.c:203:29: sparse: expected void const volatile [noderef] __user *ptr
net/atm/ioctl.c:203:29: sparse: got void [noderef] __user *const *__gu_addr
net/atm/ioctl.c:205:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/atm/ioctl.c:205:29: sparse: expected int const *__gu_addr
net/atm/ioctl.c:205:29: sparse: got int [noderef] __user *
>> net/atm/ioctl.c:205:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/atm/ioctl.c:205:29: sparse: expected void const volatile [noderef] __user *ptr
net/atm/ioctl.c:205:29: sparse: got int const *__gu_addr
--
net/decnet/af_decnet.c:1540: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:1540:12: sparse: expected int const *__gu_addr
net/decnet/af_decnet.c:1540:12: sparse: got int [noderef] __user *optlen
>> net/decnet/af_decnet.c:1540:12: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/decnet/af_decnet.c:1540:12: sparse: expected void const volatile [noderef] __user *ptr
net/decnet/af_decnet.c:1540:12: sparse: got int const *__gu_addr
net/decnet/af_decnet.c:250: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:250:22: sparse: expected unsigned int hash
net/decnet/af_decnet.c:250:22: sparse: got restricted __le16 [usertype] sdn_objnamel
net/decnet/af_decnet.c: note: in included file:
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
net/decnet/af_decnet.c:2167:9: 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/phonet/datagram.c:47:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
net/phonet/datagram.c:47:29: sparse: expected unsigned int const *__gu_addr
net/phonet/datagram.c:47:29: sparse: got unsigned int [noderef] [usertype] __user *
>> net/phonet/datagram.c:47:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
net/phonet/datagram.c:47:29: sparse: expected void const volatile [noderef] __user *ptr
net/phonet/datagram.c:47:29: sparse: got unsigned int const *__gu_addr
--
net/phonet/socket.c:367:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] [usertype] __user * @@
net/phonet/socket.c:367:21: sparse: expected unsigned short const *__gu_addr
net/phonet/socket.c:367:21: sparse: got unsigned short [noderef] [usertype] __user *
>> net/phonet/socket.c:367:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@
net/phonet/socket.c:367:21: sparse: expected void const volatile [noderef] __user *ptr
net/phonet/socket.c:367:21: sparse: got unsigned short const *__gu_addr
net/phonet/socket.c:623:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/phonet/socket.c:623:14: sparse: struct sock [noderef] __rcu *
net/phonet/socket.c:623:14: sparse: struct sock *
net/phonet/socket.c:646:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/phonet/socket.c:646:17: sparse: struct sock [noderef] __rcu *
net/phonet/socket.c:646:17: sparse: struct sock *
net/phonet/socket.c:662:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/phonet/socket.c:662:17: sparse: struct sock [noderef] __rcu *
net/phonet/socket.c:662:17: sparse: struct sock *
net/phonet/socket.c:681:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/phonet/socket.c:681:25: sparse: struct sock [noderef] __rcu *
net/phonet/socket.c:681:25: sparse: struct sock *
net/phonet/socket.c:730:21: sparse: sparse: context imbalance in 'pn_res_seq_start' - wrong count at exit
net/phonet/socket.c:745:13: sparse: sparse: context imbalance in 'pn_res_seq_stop' - wrong count at exit
--
net/phonet/pep.c:1047:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/phonet/pep.c:1047:13: sparse: expected int const *__gu_addr
net/phonet/pep.c:1047:13: sparse: got int [noderef] __user *optlen
>> net/phonet/pep.c:1047:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/phonet/pep.c:1047:13: sparse: expected void const volatile [noderef] __user *ptr
net/phonet/pep.c:1047:13: sparse: got int const *__gu_addr
--
net/vmw_vsock/af_vsock.c:1612:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/vmw_vsock/af_vsock.c:1612:15: sparse: expected int const *__gu_addr
net/vmw_vsock/af_vsock.c:1612:15: sparse: got int [noderef] __user *optlen
>> net/vmw_vsock/af_vsock.c:1612:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/vmw_vsock/af_vsock.c:1612:15: sparse: expected void const volatile [noderef] __user *ptr
net/vmw_vsock/af_vsock.c:1612:15: sparse: got int const *__gu_addr
vim +29 arch/sh/kernel/cpu/sh2a/clock-sh7203.c
6d01f51086cf6c47 Paul Mundt 2007-11-26 26
6d01f51086cf6c47 Paul Mundt 2007-11-26 27 static void master_clk_init(struct clk *clk)
6d01f51086cf6c47 Paul Mundt 2007-11-26 28 {
16b259203c513ed2 Paul Mundt 2010-11-01 @29 clk->rate *= pll1rate[(__raw_readw(FREQCR) >> 8) & 0x0003] * pll2_mult;
6d01f51086cf6c47 Paul Mundt 2007-11-26 30 }
6d01f51086cf6c47 Paul Mundt 2007-11-26 31
:::::: The code at line 29 was first introduced by commit
:::::: 16b259203c513ed28bd31cc9a981e0d3ad517943 sh: migrate SH_CLK_MD to mode pin API.
:::::: TO: Paul Mundt <lethal@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org
[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 20991 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com>
To: Luc Van Oostenryck <luc.vanoostenryck@gmail.com>
Cc: kbuild-all@lists.01.org, linux-kernel@vger.kernel.org,
Miguel Ojeda <miguel.ojeda.sandonis@gmail.com>
Subject: arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: sparse: incorrect type in argument 1 (different base types)
Date: Thu, 14 Jan 2021 16:36:53 +0800 [thread overview]
Message-ID: <202101141633.YXecM55w-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 35453 bytes --]
Hi Luc,
First bad commit (maybe != root cause):
tree: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head: 65f0d2414b7079556fbbcc070b3d1c9f9587606d
commit: e5fc436f06eef54ef512ea55a9db8eb9f2e76959 sparse: use static inline for __chk_{user,io}_ptr()
date: 5 months ago
config: sh-randconfig-s032-20210114 (attached as .config)
compiler: sh4-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.3-208-g46a52ca4-dirty
# https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=e5fc436f06eef54ef512ea55a9db8eb9f2e76959
git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git fetch --no-tags linus master
git checkout e5fc436f06eef54ef512ea55a9db8eb9f2e76959
# 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=sh
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
"sparse warnings: (new ones prefixed by >>)"
>> arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:38:20: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:38:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:38:20: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:48:20: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:48:20: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/clock-sh7203.c:48:20: sparse: got unsigned int
--
>> arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: got unsigned int
>> arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:348:9: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: got unsigned int
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/kernel/cpu/sh2a/setup-sh7203.c:351:9: sparse: got unsigned int
--
>> arch/sh/boards/mach-rsk/devices-rsk7203.c:131:9: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected void const volatile [noderef] __iomem *ptr @@ got unsigned int @@
arch/sh/boards/mach-rsk/devices-rsk7203.c:131:9: sparse: expected void const volatile [noderef] __iomem *ptr
arch/sh/boards/mach-rsk/devices-rsk7203.c:131:9: sparse: got unsigned int
--
drivers/hid/hidraw.c:389:37: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
drivers/hid/hidraw.c:389:37: sparse: expected int const *__gu_addr
drivers/hid/hidraw.c:389:37: sparse: got int [noderef] __user *
>> drivers/hid/hidraw.c:389:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
drivers/hid/hidraw.c:389:37: sparse: expected void const volatile [noderef] __user *ptr
drivers/hid/hidraw.c:389:37: sparse: got int const *__gu_addr
--
drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:467:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int [noderef] [usertype] __user *
>> drivers/mtd/ubi/cdev.c:467:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:467:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:467:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:512:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:512:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:512:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:512:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:526:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:526:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:526:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:526:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:882:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:882:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:882:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:882:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:969:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:969:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:969:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:969:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:984:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:984:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:984:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:984:23: sparse: got signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected signed int const *__gu_addr @@ got signed int [noderef] [usertype] __user * @@
drivers/mtd/ubi/cdev.c:1061:23: sparse: expected signed int const *__gu_addr
drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int [noderef] [usertype] __user *
drivers/mtd/ubi/cdev.c:1061:23: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got signed int const *__gu_addr @@
drivers/mtd/ubi/cdev.c:1061:23: sparse: expected void const volatile [noderef] __user *ptr
drivers/mtd/ubi/cdev.c:1061:23: sparse: got signed int const *__gu_addr
--
kernel/bpf/cgroup.c:1439:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
kernel/bpf/cgroup.c:1439:21: sparse: expected int const *__gu_addr
kernel/bpf/cgroup.c:1439:21: sparse: got int [noderef] __user *optlen
>> kernel/bpf/cgroup.c:1439:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
kernel/bpf/cgroup.c:1439:21: sparse: expected void const volatile [noderef] __user *ptr
kernel/bpf/cgroup.c:1439:21: sparse: got int const *__gu_addr
--
net/socket.c:1126:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/socket.c:1126:29: sparse: expected int const *__gu_addr
net/socket.c:1126:29: sparse: got int [noderef] __user *
>> net/socket.c:1126:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/socket.c:1126:29: sparse: expected void const volatile [noderef] __user *ptr
net/socket.c:1126:29: sparse: got int const *__gu_addr
net/socket.c:227:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *ulen @@
net/socket.c:227:15: sparse: expected int const *__gu_addr
net/socket.c:227:15: sparse: got int [noderef] __user *ulen
net/socket.c:227:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/socket.c:227:15: sparse: expected void const volatile [noderef] __user *ptr
net/socket.c:227:15: sparse: got int const *__gu_addr
net/socket.c:2166:30: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/socket.c:2166:30: sparse: expected int const *__gu_addr
net/socket.c:2166:30: sparse: got int [noderef] __user *optlen
net/socket.c:2166:30: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/socket.c:2166:30: sparse: expected void const volatile [noderef] __user *ptr
net/socket.c:2166:30: sparse: got int const *__gu_addr
--
net/core/sock.c:1313:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/core/sock.c:1313:13: sparse: expected int const *__gu_addr
net/core/sock.c:1313:13: sparse: got int [noderef] __user *optlen
>> net/core/sock.c:1313:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/core/sock.c:1313:13: sparse: expected void const volatile [noderef] __user *ptr
net/core/sock.c:1313:13: sparse: got int const *__gu_addr
net/core/sock.c:1997:9: sparse: sparse: context imbalance in 'sk_clone_lock' - wrong count at exit
net/core/sock.c:2001:6: sparse: sparse: context imbalance in 'sk_free_unlock_clone' - unexpected unlock
net/core/sock.c:3093:6: sparse: sparse: context imbalance in 'lock_sock_fast' - different lock contexts for basic block
net/core/sock.c:3565:13: sparse: sparse: context imbalance in 'proto_seq_start' - wrong count at exit
net/core/sock.c:3577:13: sparse: sparse: context imbalance in 'proto_seq_stop' - wrong count at exit
--
net/llc/af_llc.c:1147:14: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/llc/af_llc.c:1147:14: sparse: expected int const *__gu_addr
net/llc/af_llc.c:1147:14: sparse: got int [noderef] __user *optlen
>> net/llc/af_llc.c:1147:14: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/llc/af_llc.c:1147:14: sparse: expected void const volatile [noderef] __user *ptr
net/llc/af_llc.c:1147:14: sparse: got int const *__gu_addr
--
net/netlink/af_netlink.c:1734:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/netlink/af_netlink.c:1734:13: sparse: expected int const *__gu_addr
net/netlink/af_netlink.c:1734:13: sparse: got int [noderef] __user *optlen
>> net/netlink/af_netlink.c:1734:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/netlink/af_netlink.c:1734:13: sparse: expected void const volatile [noderef] __user *ptr
net/netlink/af_netlink.c:1734:13: sparse: got int const *__gu_addr
net/netlink/af_netlink.c:2535:13: sparse: sparse: context imbalance in 'netlink_walk_start' - wrong count at exit
net/netlink/af_netlink.c:2541:13: sparse: sparse: context imbalance in 'netlink_walk_stop' - unexpected unlock
net/netlink/af_netlink.c:2591:9: sparse: sparse: context imbalance in 'netlink_seq_start' - wrong count at exit
--
net/ethtool/ioctl.c:81:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user *[assigned] sizeaddr @@
net/ethtool/ioctl.c:81:13: sparse: expected unsigned int const *__gu_addr
net/ethtool/ioctl.c:81:13: sparse: got unsigned int [noderef] [usertype] __user *[assigned] sizeaddr
>> net/ethtool/ioctl.c:81:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
net/ethtool/ioctl.c:81:13: sparse: expected void const volatile [noderef] __user *ptr
net/ethtool/ioctl.c:81:13: sparse: got unsigned int const *__gu_addr
--
net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/x25/af_x25.c:470:13: sparse: expected int const *__gu_addr
net/x25/af_x25.c:470:13: sparse: got int [noderef] __user *optlen
>> net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/x25/af_x25.c:470:13: sparse: expected void const volatile [noderef] __user *ptr
net/x25/af_x25.c:470:13: sparse: got int const *__gu_addr
--
net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/netrom/af_netrom.c:359:13: sparse: expected int const *__gu_addr
net/netrom/af_netrom.c:359:13: sparse: got int [noderef] __user *optlen
>> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/netrom/af_netrom.c:359:13: sparse: expected void const volatile [noderef] __user *ptr
net/netrom/af_netrom.c:359:13: sparse: got int const *__gu_addr
--
net/rose/af_rose.c:438:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/rose/af_rose.c:438:13: sparse: expected int const *__gu_addr
net/rose/af_rose.c:438:13: sparse: got int [noderef] __user *optlen
>> net/rose/af_rose.c:438:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/rose/af_rose.c:438:13: sparse: expected void const volatile [noderef] __user *ptr
net/rose/af_rose.c:438:13: sparse: got int const *__gu_addr
--
net/ax25/af_ax25.c:695:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/ax25/af_ax25.c:695:13: sparse: expected int const *__gu_addr
net/ax25/af_ax25.c:695:13: sparse: got int [noderef] __user *optlen
>> net/ax25/af_ax25.c:695:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/ax25/af_ax25.c:695:13: sparse: expected void const volatile [noderef] __user *ptr
net/ax25/af_ax25.c:695:13: sparse: got int const *__gu_addr
net/ax25/af_ax25.c:1742:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected long const *__gu_addr @@ got long [noderef] __user * @@
net/ax25/af_ax25.c:1742:21: sparse: expected long const *__gu_addr
net/ax25/af_ax25.c:1742:21: sparse: got long [noderef] __user *
>> net/ax25/af_ax25.c:1742:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got long const *__gu_addr @@
net/ax25/af_ax25.c:1742:21: sparse: expected void const volatile [noderef] __user *ptr
net/ax25/af_ax25.c:1742:21: sparse: got long const *__gu_addr
--
net/can/raw.c:659:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/can/raw.c:659:13: sparse: expected int const *__gu_addr
net/can/raw.c:659:13: sparse: got int [noderef] __user *optlen
>> net/can/raw.c:659:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/can/raw.c:659:13: sparse: expected void const volatile [noderef] __user *ptr
net/can/raw.c:659:13: sparse: got int const *__gu_addr
--
net/can/j1939/socket.c:748:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/can/j1939/socket.c:748:13: sparse: expected int const *__gu_addr
net/can/j1939/socket.c:748:13: sparse: got int [noderef] __user *optlen
>> net/can/j1939/socket.c:748:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/can/j1939/socket.c:748:13: sparse: expected void const volatile [noderef] __user *ptr
net/can/j1939/socket.c:748:13: sparse: got int const *__gu_addr
--
net/bluetooth/hci_sock.c:1941:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/bluetooth/hci_sock.c:1941:13: sparse: expected int const *__gu_addr
net/bluetooth/hci_sock.c:1941:13: sparse: got int [noderef] __user *optlen
>> net/bluetooth/hci_sock.c:1941:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/bluetooth/hci_sock.c:1941:13: sparse: expected void const volatile [noderef] __user *ptr
net/bluetooth/hci_sock.c:1941:13: sparse: got int const *__gu_addr
--
net/bluetooth/hci_core.c:2099:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] [usertype] __user * @@
net/bluetooth/hci_core.c:2099:13: sparse: expected unsigned short const *__gu_addr
net/bluetooth/hci_core.c:2099:13: sparse: got unsigned short [noderef] [usertype] __user *
>> net/bluetooth/hci_core.c:2099:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@
net/bluetooth/hci_core.c:2099:13: sparse: expected void const volatile [noderef] __user *ptr
net/bluetooth/hci_core.c:2099:13: sparse: got unsigned short const *__gu_addr
--
net/bluetooth/l2cap_sock.c:428:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/bluetooth/l2cap_sock.c:428:13: sparse: expected int const *__gu_addr
net/bluetooth/l2cap_sock.c:428:13: sparse: got int [noderef] __user *optlen
>> net/bluetooth/l2cap_sock.c:428:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/bluetooth/l2cap_sock.c:428:13: sparse: expected void const volatile [noderef] __user *ptr
net/bluetooth/l2cap_sock.c:428:13: sparse: got int const *__gu_addr
net/bluetooth/l2cap_sock.c:553:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/bluetooth/l2cap_sock.c:553:13: sparse: expected int const *__gu_addr
net/bluetooth/l2cap_sock.c:553:13: sparse: got int [noderef] __user *optlen
net/bluetooth/l2cap_sock.c:553:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/bluetooth/l2cap_sock.c:553:13: sparse: expected void const volatile [noderef] __user *ptr
net/bluetooth/l2cap_sock.c:553:13: sparse: got int const *__gu_addr
--
net/atm/svc.c:509:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/atm/svc.c:509:13: sparse: expected int const *__gu_addr
net/atm/svc.c:509:13: sparse: got int [noderef] __user *optlen
>> net/atm/svc.c:509:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/atm/svc.c:509:13: sparse: expected void const volatile [noderef] __user *ptr
net/atm/svc.c:509:13: sparse: got int const *__gu_addr
--
net/atm/ioctl.c:125:25: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] [usertype] __user * @@
net/atm/ioctl.c:125:25: sparse: expected unsigned short const *__gu_addr
net/atm/ioctl.c:125:25: sparse: got unsigned short [noderef] [usertype] __user *
>> net/atm/ioctl.c:125:25: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@
net/atm/ioctl.c:125:25: sparse: expected void const volatile [noderef] __user *ptr
net/atm/ioctl.c:125:25: sparse: got unsigned short const *__gu_addr
net/atm/ioctl.c:180:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __user *const *__gu_addr @@ got void [noderef] __user *[noderef] __user * @@
net/atm/ioctl.c:180:29: sparse: expected void [noderef] __user *const *__gu_addr
net/atm/ioctl.c:180:29: sparse: got void [noderef] __user *[noderef] __user *
>> net/atm/ioctl.c:180:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got void [noderef] __user *const *__gu_addr @@
net/atm/ioctl.c:180:29: sparse: expected void const volatile [noderef] __user *ptr
net/atm/ioctl.c:180:29: sparse: got void [noderef] __user *const *__gu_addr
net/atm/ioctl.c:203:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected void [noderef] __user *const *__gu_addr @@ got void [noderef] __user *[noderef] __user * @@
net/atm/ioctl.c:203:29: sparse: expected void [noderef] __user *const *__gu_addr
net/atm/ioctl.c:203:29: sparse: got void [noderef] __user *[noderef] __user *
net/atm/ioctl.c:203:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got void [noderef] __user *const *__gu_addr @@
net/atm/ioctl.c:203:29: sparse: expected void const volatile [noderef] __user *ptr
net/atm/ioctl.c:203:29: sparse: got void [noderef] __user *const *__gu_addr
net/atm/ioctl.c:205:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user * @@
net/atm/ioctl.c:205:29: sparse: expected int const *__gu_addr
net/atm/ioctl.c:205:29: sparse: got int [noderef] __user *
>> net/atm/ioctl.c:205:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/atm/ioctl.c:205:29: sparse: expected void const volatile [noderef] __user *ptr
net/atm/ioctl.c:205:29: sparse: got int const *__gu_addr
--
net/decnet/af_decnet.c:1540: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:1540:12: sparse: expected int const *__gu_addr
net/decnet/af_decnet.c:1540:12: sparse: got int [noderef] __user *optlen
>> net/decnet/af_decnet.c:1540:12: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/decnet/af_decnet.c:1540:12: sparse: expected void const volatile [noderef] __user *ptr
net/decnet/af_decnet.c:1540:12: sparse: got int const *__gu_addr
net/decnet/af_decnet.c:250: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:250:22: sparse: expected unsigned int hash
net/decnet/af_decnet.c:250:22: sparse: got restricted __le16 [usertype] sdn_objnamel
net/decnet/af_decnet.c: note: in included file:
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
net/decnet/af_decnet.c:2167:9: 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/phonet/datagram.c:47:29: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned int const *__gu_addr @@ got unsigned int [noderef] [usertype] __user * @@
net/phonet/datagram.c:47:29: sparse: expected unsigned int const *__gu_addr
net/phonet/datagram.c:47:29: sparse: got unsigned int [noderef] [usertype] __user *
>> net/phonet/datagram.c:47:29: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned int const *__gu_addr @@
net/phonet/datagram.c:47:29: sparse: expected void const volatile [noderef] __user *ptr
net/phonet/datagram.c:47:29: sparse: got unsigned int const *__gu_addr
--
net/phonet/socket.c:367:21: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected unsigned short const *__gu_addr @@ got unsigned short [noderef] [usertype] __user * @@
net/phonet/socket.c:367:21: sparse: expected unsigned short const *__gu_addr
net/phonet/socket.c:367:21: sparse: got unsigned short [noderef] [usertype] __user *
>> net/phonet/socket.c:367:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got unsigned short const *__gu_addr @@
net/phonet/socket.c:367:21: sparse: expected void const volatile [noderef] __user *ptr
net/phonet/socket.c:367:21: sparse: got unsigned short const *__gu_addr
net/phonet/socket.c:623:14: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/phonet/socket.c:623:14: sparse: struct sock [noderef] __rcu *
net/phonet/socket.c:623:14: sparse: struct sock *
net/phonet/socket.c:646:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/phonet/socket.c:646:17: sparse: struct sock [noderef] __rcu *
net/phonet/socket.c:646:17: sparse: struct sock *
net/phonet/socket.c:662:17: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/phonet/socket.c:662:17: sparse: struct sock [noderef] __rcu *
net/phonet/socket.c:662:17: sparse: struct sock *
net/phonet/socket.c:681:25: sparse: sparse: incompatible types in comparison expression (different address spaces):
net/phonet/socket.c:681:25: sparse: struct sock [noderef] __rcu *
net/phonet/socket.c:681:25: sparse: struct sock *
net/phonet/socket.c:730:21: sparse: sparse: context imbalance in 'pn_res_seq_start' - wrong count at exit
net/phonet/socket.c:745:13: sparse: sparse: context imbalance in 'pn_res_seq_stop' - wrong count at exit
--
net/phonet/pep.c:1047:13: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/phonet/pep.c:1047:13: sparse: expected int const *__gu_addr
net/phonet/pep.c:1047:13: sparse: got int [noderef] __user *optlen
>> net/phonet/pep.c:1047:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/phonet/pep.c:1047:13: sparse: expected void const volatile [noderef] __user *ptr
net/phonet/pep.c:1047:13: sparse: got int const *__gu_addr
--
net/vmw_vsock/af_vsock.c:1612:15: sparse: sparse: incorrect type in initializer (different address spaces) @@ expected int const *__gu_addr @@ got int [noderef] __user *optlen @@
net/vmw_vsock/af_vsock.c:1612:15: sparse: expected int const *__gu_addr
net/vmw_vsock/af_vsock.c:1612:15: sparse: got int [noderef] __user *optlen
>> net/vmw_vsock/af_vsock.c:1612:15: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void const volatile [noderef] __user *ptr @@ got int const *__gu_addr @@
net/vmw_vsock/af_vsock.c:1612:15: sparse: expected void const volatile [noderef] __user *ptr
net/vmw_vsock/af_vsock.c:1612:15: sparse: got int const *__gu_addr
vim +29 arch/sh/kernel/cpu/sh2a/clock-sh7203.c
6d01f51086cf6c47 Paul Mundt 2007-11-26 26
6d01f51086cf6c47 Paul Mundt 2007-11-26 27 static void master_clk_init(struct clk *clk)
6d01f51086cf6c47 Paul Mundt 2007-11-26 28 {
16b259203c513ed2 Paul Mundt 2010-11-01 @29 clk->rate *= pll1rate[(__raw_readw(FREQCR) >> 8) & 0x0003] * pll2_mult;
6d01f51086cf6c47 Paul Mundt 2007-11-26 30 }
6d01f51086cf6c47 Paul Mundt 2007-11-26 31
:::::: The code at line 29 was first introduced by commit
:::::: 16b259203c513ed28bd31cc9a981e0d3ad517943 sh: migrate SH_CLK_MD to mode pin API.
:::::: TO: Paul Mundt <lethal@linux-sh.org>
:::::: CC: Paul Mundt <lethal@linux-sh.org>
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 20991 bytes --]
next reply other threads:[~2021-01-14 8:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-14 8:36 kernel test robot [this message]
2021-01-14 8:36 ` arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: sparse: incorrect type in argument 1 (different base types) kernel test robot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202101141633.YXecM55w-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.