Messages in this thread | | | Date | Thu, 14 Jan 2021 16:36:53 +0800 | From | kernel test robot <> | Subject | arch/sh/kernel/cpu/sh2a/clock-sh7203.c:29:32: sparse: sparse: incorrect type in argument 1 (different base types) |
| |
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 [unhandled content-type:application/gzip] | |