tree: https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git lam head: 8836fbd6cd3120383a0bc63cd54c7dd55639ed49 commit: 2600a472582e2968633831d430c2a1366ad3e8b1 [5/13] x86/uaccess: Provide untagged_addr() and remove tags before address check config: x86_64-randconfig-s022-20220919 compiler: gcc-11 (Debian 11.3.0-5) 11.3.0 reproduce: # apt-get install sparse # sparse version: v0.6.4-39-gce1a6720-dirty # https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git/commit/?id=2600a472582e2968633831d430c2a1366ad3e8b1 git remote add kas https://git.kernel.org/pub/scm/linux/kernel/git/kas/linux.git git fetch --no-tags kas lam git checkout 2600a472582e2968633831d430c2a1366ad3e8b1 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__' O=build_dir ARCH=x86_64 SHELL=/bin/bash arch/x86/kvm/ block/ drivers/acpi/ drivers/ata/ drivers/auxdisplay/ drivers/block/ drivers/comedi/ drivers/hwmon/ drivers/infiniband/core/ drivers/infiniband/hw/qib/ drivers/net/ drivers/nvme/host/ drivers/platform/x86/ drivers/rapidio/ drivers/scsi/ drivers/staging/media/av7110/ drivers/thermal/intel/int340x_thermal/ drivers/tty/ drivers/vfio/ drivers/vhost/ drivers/watchdog/ drivers/xen/ fs/crypto/ fs/ext2/ fs/ext4/ fs/fat/ fs/quota/ fs/reiserfs/ ipc/ kernel/ net/appletalk/ net/ax25/ net/bluetooth/ net/can/ net/core/ net/dccp/ net/decnet/ net/ipv4/bpfilter/ net/llc/ net/mptcp/ net/netfilter/ net/netrom/ net/qrtr/ net/rfkill/ net/rose/ net/rxrpc/ net/sctp/ net/tls/ net/x25/ security/apparmor/ sound/core/ sound/pci/asihpi/ virt/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot sparse warnings: (new ones prefixed by >>) >> sound/core/hwdep.c:243:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/hwdep.c:243:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/hwdep.c:243:24: sparse: got int * sound/core/hwdep.c:273:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/hwdep.c:273:29: sparse: expected int [noderef] __user *__ptr_clean sound/core/hwdep.c:273:29: sparse: got int * sound/core/hwdep.c:292:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/hwdep.c:292:29: sparse: expected int [noderef] __user *__ptr_clean sound/core/hwdep.c:292:29: sparse: got int * >> sound/core/hwdep.c:302:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ sound/core/hwdep.c:302:29: sparse: expected unsigned int [noderef] __user *__ptr_clean sound/core/hwdep.c:302:29: sparse: got unsigned int * -- >> sound/core/oss/mixer_oss.c:335:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:335:29: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:335:29: sparse: got int * sound/core/oss/mixer_oss.c:340:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:340:32: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:340:32: sparse: got int * sound/core/oss/mixer_oss.c:342:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:342:32: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:342:32: sparse: got int * sound/core/oss/mixer_oss.c:344:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:344:32: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:344:32: sparse: got int * sound/core/oss/mixer_oss.c:349:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:349:32: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:349:32: sparse: got int * sound/core/oss/mixer_oss.c:354:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:354:32: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:354:32: sparse: got int * sound/core/oss/mixer_oss.c:359:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:359:32: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:359:32: sparse: got int * sound/core/oss/mixer_oss.c:364:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:364:32: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:364:32: sparse: got int * sound/core/oss/mixer_oss.c:369:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:369:32: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:369:32: sparse: got int * sound/core/oss/mixer_oss.c:373:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:373:21: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:373:21: sparse: got int * sound/core/oss/mixer_oss.c:378:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:378:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:378:24: sparse: got int * sound/core/oss/mixer_oss.c:383:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/mixer_oss.c:383:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/mixer_oss.c:383:24: sparse: got int * -- >> sound/core/oss/pcm_oss.c:2608:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2608:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2608:24: sparse: got int * sound/core/oss/pcm_oss.c:2610:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2610:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2610:24: sparse: got int * sound/core/oss/pcm_oss.c:2636:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2636:21: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2636:21: sparse: got int * sound/core/oss/pcm_oss.c:2641:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2641:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2641:24: sparse: got int * sound/core/oss/pcm_oss.c:2646:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2646:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2646:24: sparse: got int * sound/core/oss/pcm_oss.c:2648:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2648:21: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2648:21: sparse: got int * sound/core/oss/pcm_oss.c:2654:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2654:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2654:24: sparse: got int * sound/core/oss/pcm_oss.c:2659:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2659:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2659:24: sparse: got int * sound/core/oss/pcm_oss.c:2661:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2661:21: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2661:21: sparse: got int * sound/core/oss/pcm_oss.c:2666:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2666:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2666:24: sparse: got int * sound/core/oss/pcm_oss.c:2671:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2671:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2671:24: sparse: got int * sound/core/oss/pcm_oss.c:2673:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2673:21: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2673:21: sparse: got int * sound/core/oss/pcm_oss.c:2678:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2678:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2678:24: sparse: got int * sound/core/oss/pcm_oss.c:2683:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2683:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2683:24: sparse: got int * sound/core/oss/pcm_oss.c:2690:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2690:21: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2690:21: sparse: got int * sound/core/oss/pcm_oss.c:2695:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2695:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2695:24: sparse: got int * sound/core/oss/pcm_oss.c:2697:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2697:21: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2697:21: sparse: got int * sound/core/oss/pcm_oss.c:2704:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2704:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2704:24: sparse: got int * sound/core/oss/pcm_oss.c:2717:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2717:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2717:24: sparse: got int * sound/core/oss/pcm_oss.c:2722:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2722:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2722:24: sparse: got int * sound/core/oss/pcm_oss.c:2724:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2724:21: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2724:21: sparse: got int * sound/core/oss/pcm_oss.c:2750:25: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2750:25: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2750:25: sparse: got int * sound/core/oss/pcm_oss.c:2753:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ sound/core/oss/pcm_oss.c:2753:24: sparse: expected int [noderef] __user *__ptr_clean sound/core/oss/pcm_oss.c:2753:24: sparse: got int * -- net/appletalk/ddp.c:100:33: sparse: sparse: restricted __be16 degrades to integer net/appletalk/ddp.c:113:33: sparse: sparse: restricted __be16 degrades to integer net/appletalk/ddp.c:409:47: sparse: sparse: restricted __be16 degrades to integer >> net/appletalk/ddp.c:1810:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/appletalk/ddp.c:1810:22: sparse: expected int [noderef] __user *__ptr_clean net/appletalk/ddp.c:1810:22: sparse: got int * net/appletalk/ddp.c:1823:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/appletalk/ddp.c:1823:22: sparse: expected int [noderef] __user *__ptr_clean net/appletalk/ddp.c:1823:22: sparse: got int * -- >> drivers/acpi/apei/erst-dbg.c:73:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/acpi/apei/erst-dbg.c:73:22: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/acpi/apei/erst-dbg.c:73:22: sparse: got unsigned int * -- >> drivers/hwmon/fschmd.c:866:37: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ drivers/hwmon/fschmd.c:866:37: sparse: expected char const [noderef] __user *__ptr_clean drivers/hwmon/fschmd.c:866:37: sparse: got char const * >> drivers/hwmon/fschmd.c:900:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/hwmon/fschmd.c:900:23: sparse: expected int [noderef] __user *__ptr_clean drivers/hwmon/fschmd.c:900:23: sparse: got int * drivers/hwmon/fschmd.c:905:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/hwmon/fschmd.c:905:31: sparse: expected int [noderef] __user *__ptr_clean drivers/hwmon/fschmd.c:905:31: sparse: got int * drivers/hwmon/fschmd.c:907:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/hwmon/fschmd.c:907:31: sparse: expected int [noderef] __user *__ptr_clean drivers/hwmon/fschmd.c:907:31: sparse: got int * drivers/hwmon/fschmd.c:916:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/hwmon/fschmd.c:916:23: sparse: expected int [noderef] __user *__ptr_clean drivers/hwmon/fschmd.c:916:23: sparse: got int * drivers/hwmon/fschmd.c:920:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/hwmon/fschmd.c:920:21: sparse: expected int [noderef] __user *__ptr_clean drivers/hwmon/fschmd.c:920:21: sparse: got int * drivers/hwmon/fschmd.c:926:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/hwmon/fschmd.c:926:31: sparse: expected int [noderef] __user *__ptr_clean drivers/hwmon/fschmd.c:926:31: sparse: got int * drivers/hwmon/fschmd.c:930:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/hwmon/fschmd.c:930:21: sparse: expected int [noderef] __user *__ptr_clean drivers/hwmon/fschmd.c:930:21: sparse: got int * -- >> net/ax25/af_ax25.c:720:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/ax25/af_ax25.c:720:13: sparse: expected int [noderef] __user *__ptr_clean net/ax25/af_ax25.c:720:13: sparse: got int * net/ax25/af_ax25.c:797:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/ax25/af_ax25.c:797:13: sparse: expected int [noderef] __user *__ptr_clean net/ax25/af_ax25.c:797:13: sparse: got int * net/ax25/af_ax25.c:1775:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/ax25/af_ax25.c:1775:23: sparse: expected int [noderef] __user *__ptr_clean net/ax25/af_ax25.c:1775:23: sparse: got int * net/ax25/af_ax25.c:1785:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/ax25/af_ax25.c:1785:23: sparse: expected int [noderef] __user *__ptr_clean net/ax25/af_ax25.c:1785:23: sparse: got int * >> net/ax25/af_ax25.c:1807:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected long [noderef] __user *__ptr_clean @@ got long * @@ net/ax25/af_ax25.c:1807:21: sparse: expected long [noderef] __user *__ptr_clean net/ax25/af_ax25.c:1807:21: sparse: got long * -- drivers/infiniband/core/user_mad.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, include/trace/events/ib_umad.h): include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be32 include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be32 include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be16 include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be32 include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be16 include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be16 include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be64 include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be16 include/trace/events/ib_umad.h:16:1: sparse: sparse: cast to restricted __be32 drivers/infiniband/core/user_mad.c: note: in included file (through include/trace/trace_events.h, include/trace/define_trace.h, include/trace/events/ib_umad.h): include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] qpn @@ got restricted __be32 [usertype] qpn @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned int [usertype] qpn include/trace/events/ib_umad.h:16:1: sparse: got restricted __be32 [usertype] qpn include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] qkey @@ got restricted __be32 [usertype] qkey @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned int [usertype] qkey include/trace/events/ib_umad.h:16:1: sparse: got restricted __be32 [usertype] qkey include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] lid @@ got restricted __be16 [usertype] lid @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned short [usertype] lid include/trace/events/ib_umad.h:16:1: sparse: got restricted __be16 [usertype] lid include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] flow_label @@ got restricted __be32 [usertype] flow_label @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned int [usertype] flow_label include/trace/events/ib_umad.h:16:1: sparse: got restricted __be32 [usertype] flow_label include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] mad_status @@ got restricted __be16 [usertype] status @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned short [usertype] mad_status include/trace/events/ib_umad.h:16:1: sparse: got restricted __be16 [usertype] status include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] class_specific @@ got restricted __be16 [usertype] class_specific @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned short [usertype] class_specific include/trace/events/ib_umad.h:16:1: sparse: got restricted __be16 [usertype] class_specific include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] tid @@ got restricted __be64 [usertype] tid @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned long long [usertype] tid include/trace/events/ib_umad.h:16:1: sparse: got restricted __be64 [usertype] tid include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] attr_id @@ got restricted __be16 [usertype] attr_id @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned short [usertype] attr_id include/trace/events/ib_umad.h:16:1: sparse: got restricted __be16 [usertype] attr_id include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] attr_mod @@ got restricted __be32 [usertype] attr_mod @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned int [usertype] attr_mod include/trace/events/ib_umad.h:16:1: sparse: got restricted __be32 [usertype] attr_mod drivers/infiniband/core/user_mad.c: note: in included file (through include/trace/perf.h, include/trace/define_trace.h, include/trace/events/ib_umad.h): include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] qpn @@ got restricted __be32 [usertype] qpn @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned int [usertype] qpn include/trace/events/ib_umad.h:16:1: sparse: got restricted __be32 [usertype] qpn include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] qkey @@ got restricted __be32 [usertype] qkey @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned int [usertype] qkey include/trace/events/ib_umad.h:16:1: sparse: got restricted __be32 [usertype] qkey include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] lid @@ got restricted __be16 [usertype] lid @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned short [usertype] lid include/trace/events/ib_umad.h:16:1: sparse: got restricted __be16 [usertype] lid include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] flow_label @@ got restricted __be32 [usertype] flow_label @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned int [usertype] flow_label include/trace/events/ib_umad.h:16:1: sparse: got restricted __be32 [usertype] flow_label include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] mad_status @@ got restricted __be16 [usertype] status @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned short [usertype] mad_status include/trace/events/ib_umad.h:16:1: sparse: got restricted __be16 [usertype] status include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] class_specific @@ got restricted __be16 [usertype] class_specific @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned short [usertype] class_specific include/trace/events/ib_umad.h:16:1: sparse: got restricted __be16 [usertype] class_specific include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] tid @@ got restricted __be64 [usertype] tid @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned long long [usertype] tid include/trace/events/ib_umad.h:16:1: sparse: got restricted __be64 [usertype] tid include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] attr_id @@ got restricted __be16 [usertype] attr_id @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned short [usertype] attr_id include/trace/events/ib_umad.h:16:1: sparse: got restricted __be16 [usertype] attr_id include/trace/events/ib_umad.h:16:1: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] attr_mod @@ got restricted __be32 [usertype] attr_mod @@ include/trace/events/ib_umad.h:16:1: sparse: expected unsigned int [usertype] attr_mod include/trace/events/ib_umad.h:16:1: sparse: got restricted __be32 [usertype] attr_mod >> drivers/infiniband/core/user_mad.c:749:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/infiniband/core/user_mad.c:749:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/infiniband/core/user_mad.c:749:13: sparse: got unsigned int * drivers/infiniband/core/user_mad.c:815:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/infiniband/core/user_mad.c:815:21: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/infiniband/core/user_mad.c:815:21: sparse: got unsigned int * drivers/infiniband/core/user_mad.c:863:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/infiniband/core/user_mad.c:863:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/infiniband/core/user_mad.c:863:13: sparse: got unsigned int * drivers/infiniband/core/user_mad.c:896:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/infiniband/core/user_mad.c:896:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/infiniband/core/user_mad.c:896:13: sparse: got unsigned int * -- >> drivers/net/sb1000.c:1035:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/sb1000.c:1035:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/sb1000.c:1035:21: sparse: got int * drivers/net/sb1000.c:1042:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/sb1000.c:1042:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/sb1000.c:1042:21: sparse: got int * drivers/net/sb1000.c:847:31: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be16 [usertype] protocol @@ got unsigned short @@ drivers/net/sb1000.c:847:31: sparse: expected restricted __be16 [usertype] protocol drivers/net/sb1000.c:847:31: sparse: got unsigned short -- >> drivers/net/tap.c:1005:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected short [noderef] __user *__ptr_clean @@ got short * @@ drivers/net/tap.c:1005:21: sparse: expected short [noderef] __user *__ptr_clean drivers/net/tap.c:1005:21: sparse: got short * drivers/net/tap.c:1027:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected short [noderef] __user *__ptr_clean @@ got short * @@ drivers/net/tap.c:1027:21: sparse: expected short [noderef] __user *__ptr_clean drivers/net/tap.c:1027:21: sparse: got short * drivers/net/tap.c:1034:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected short [noderef] __user *__ptr_clean @@ got short * @@ drivers/net/tap.c:1034:21: sparse: expected short [noderef] __user *__ptr_clean drivers/net/tap.c:1034:21: sparse: got short * >> drivers/net/tap.c:1042:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/net/tap.c:1042:21: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/net/tap.c:1042:21: sparse: got unsigned int * >> drivers/net/tap.c:1047:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/tap.c:1047:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/tap.c:1047:21: sparse: got int * drivers/net/tap.c:1057:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/tap.c:1057:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/tap.c:1057:21: sparse: got int * drivers/net/tap.c:1062:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/tap.c:1062:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/tap.c:1062:21: sparse: got int * drivers/net/tap.c:1072:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/tap.c:1072:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/tap.c:1072:21: sparse: got int * drivers/net/tap.c:1077:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/tap.c:1077:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/tap.c:1077:21: sparse: got int * -- >> sound/pci/asihpi/hpioctl.c:118:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __user *[noderef] __user *__ptr_clean @@ got void [noderef] __user ** @@ sound/pci/asihpi/hpioctl.c:118:13: sparse: expected void [noderef] __user *[noderef] __user *__ptr_clean sound/pci/asihpi/hpioctl.c:118:13: sparse: got void [noderef] __user ** sound/pci/asihpi/hpioctl.c:119:20: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __user *[noderef] __user *__ptr_clean @@ got void [noderef] __user ** @@ sound/pci/asihpi/hpioctl.c:119:20: sparse: expected void [noderef] __user *[noderef] __user *__ptr_clean sound/pci/asihpi/hpioctl.c:119:20: sparse: got void [noderef] __user ** >> sound/pci/asihpi/hpioctl.c:125:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ sound/pci/asihpi/hpioctl.c:125:13: sparse: expected unsigned short [noderef] __user *__ptr_clean sound/pci/asihpi/hpioctl.c:125:13: sparse: got unsigned short * sound/pci/asihpi/hpioctl.c:144:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ sound/pci/asihpi/hpioctl.c:144:13: sparse: expected unsigned short [noderef] __user *__ptr_clean sound/pci/asihpi/hpioctl.c:144:13: sparse: got unsigned short * -- >> drivers/nvme/host/ioctl.c:282:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/nvme/host/ioctl.c:282:21: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/nvme/host/ioctl.c:282:21: sparse: got unsigned int * >> drivers/nvme/host/ioctl.c:328:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long long [noderef] __user *__ptr_clean @@ got unsigned long long * @@ drivers/nvme/host/ioctl.c:328:21: sparse: expected unsigned long long [noderef] __user *__ptr_clean drivers/nvme/host/ioctl.c:328:21: sparse: got unsigned long long * -- >> drivers/platform/x86/sony-laptop.c:4085:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ drivers/platform/x86/sony-laptop.c:4085:21: sparse: expected char [noderef] __user *__ptr_clean drivers/platform/x86/sony-laptop.c:4085:21: sparse: got char * -- drivers/rapidio/rio_cm.c: note: in included file: include/linux/rio.h:204:34: sparse: sparse: array of flexible structures drivers/rapidio/rio_cm.c:383:17: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:402:23: sparse: sparse: cast to restricted __be32 drivers/rapidio/rio_cm.c:403:21: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:429:17: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:440:27: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:461:9: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:464:32: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:495:9: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:495:9: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:533:9: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:535:32: sparse: sparse: cast to restricted __be16 drivers/rapidio/rio_cm.c:807:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] src_id @@ got restricted __be32 [usertype] @@ drivers/rapidio/rio_cm.c:807:26: sparse: expected unsigned int [usertype] src_id drivers/rapidio/rio_cm.c:807:26: sparse: got restricted __be32 [usertype] drivers/rapidio/rio_cm.c:808:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] dst_id @@ got restricted __be32 [usertype] @@ drivers/rapidio/rio_cm.c:808:26: sparse: expected unsigned int [usertype] dst_id drivers/rapidio/rio_cm.c:808:26: sparse: got restricted __be32 [usertype] drivers/rapidio/rio_cm.c:813:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] dst_ch @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:813:21: sparse: expected unsigned short [usertype] dst_ch drivers/rapidio/rio_cm.c:813:21: sparse: got restricted __be16 [usertype] drivers/rapidio/rio_cm.c:814:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] src_ch @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:814:21: sparse: expected unsigned short [usertype] src_ch drivers/rapidio/rio_cm.c:814:21: sparse: got restricted __be16 [usertype] drivers/rapidio/rio_cm.c:815:22: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] msg_len @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:815:22: sparse: expected unsigned short [usertype] msg_len drivers/rapidio/rio_cm.c:815:22: sparse: got restricted __be16 [usertype] drivers/rapidio/rio_cm.c:975:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] src_id @@ got restricted __be32 [usertype] @@ drivers/rapidio/rio_cm.c:975:26: sparse: expected unsigned int [usertype] src_id drivers/rapidio/rio_cm.c:975:26: sparse: got restricted __be32 [usertype] drivers/rapidio/rio_cm.c:976:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] dst_id @@ got restricted __be32 [usertype] @@ drivers/rapidio/rio_cm.c:976:26: sparse: expected unsigned int [usertype] dst_id drivers/rapidio/rio_cm.c:976:26: sparse: got restricted __be32 [usertype] drivers/rapidio/rio_cm.c:981:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] dst_ch @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:981:21: sparse: expected unsigned short [usertype] dst_ch drivers/rapidio/rio_cm.c:981:21: sparse: got restricted __be16 [usertype] drivers/rapidio/rio_cm.c:982:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] src_ch @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:982:21: sparse: expected unsigned short [usertype] src_ch drivers/rapidio/rio_cm.c:982:21: sparse: got restricted __be16 [usertype] drivers/rapidio/rio_cm.c:1030:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] src_id @@ got restricted __be32 [usertype] @@ drivers/rapidio/rio_cm.c:1030:26: sparse: expected unsigned int [usertype] src_id drivers/rapidio/rio_cm.c:1030:26: sparse: got restricted __be32 [usertype] drivers/rapidio/rio_cm.c:1031:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] dst_id @@ got restricted __be32 [usertype] @@ drivers/rapidio/rio_cm.c:1031:26: sparse: expected unsigned int [usertype] dst_id drivers/rapidio/rio_cm.c:1031:26: sparse: got restricted __be32 [usertype] drivers/rapidio/rio_cm.c:1032:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] dst_ch @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:1032:21: sparse: expected unsigned short [usertype] dst_ch drivers/rapidio/rio_cm.c:1032:21: sparse: got restricted __be16 [usertype] drivers/rapidio/rio_cm.c:1033:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] src_ch @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:1033:21: sparse: expected unsigned short [usertype] src_ch drivers/rapidio/rio_cm.c:1033:21: sparse: got restricted __be16 [usertype] drivers/rapidio/rio_cm.c:1404:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] src_id @@ got restricted __be32 [usertype] @@ drivers/rapidio/rio_cm.c:1404:26: sparse: expected unsigned int [usertype] src_id drivers/rapidio/rio_cm.c:1404:26: sparse: got restricted __be32 [usertype] drivers/rapidio/rio_cm.c:1405:26: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned int [usertype] dst_id @@ got restricted __be32 [usertype] @@ drivers/rapidio/rio_cm.c:1405:26: sparse: expected unsigned int [usertype] dst_id drivers/rapidio/rio_cm.c:1405:26: sparse: got restricted __be32 [usertype] drivers/rapidio/rio_cm.c:1410:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] dst_ch @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:1410:21: sparse: expected unsigned short [usertype] dst_ch drivers/rapidio/rio_cm.c:1410:21: sparse: got restricted __be16 [usertype] drivers/rapidio/rio_cm.c:1411:21: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned short [usertype] src_ch @@ got restricted __be16 [usertype] @@ drivers/rapidio/rio_cm.c:1411:21: sparse: expected unsigned short [usertype] src_ch drivers/rapidio/rio_cm.c:1411:21: sparse: got restricted __be16 [usertype] >> drivers/rapidio/rio_cm.c:1536:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/rapidio/rio_cm.c:1536:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/rapidio/rio_cm.c:1536:13: sparse: got unsigned int * >> drivers/rapidio/rio_cm.c:1662:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ drivers/rapidio/rio_cm.c:1662:13: sparse: expected unsigned short [noderef] __user *__ptr_clean drivers/rapidio/rio_cm.c:1662:13: sparse: got unsigned short * drivers/rapidio/rio_cm.c:1674:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ drivers/rapidio/rio_cm.c:1674:16: sparse: expected unsigned short [noderef] __user *__ptr_clean drivers/rapidio/rio_cm.c:1674:16: sparse: got unsigned short * drivers/rapidio/rio_cm.c:1688:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ drivers/rapidio/rio_cm.c:1688:13: sparse: expected unsigned short [noderef] __user *__ptr_clean drivers/rapidio/rio_cm.c:1688:13: sparse: got unsigned short * drivers/rapidio/rio_cm.c:1735:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ drivers/rapidio/rio_cm.c:1735:13: sparse: expected unsigned short [noderef] __user *__ptr_clean drivers/rapidio/rio_cm.c:1735:13: sparse: got unsigned short * -- >> net/bluetooth/af_bluetooth.c:512:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/bluetooth/af_bluetooth.c:512:23: sparse: expected int [noderef] __user *__ptr_clean net/bluetooth/af_bluetooth.c:512:23: sparse: got int * net/bluetooth/af_bluetooth.c:523:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/bluetooth/af_bluetooth.c:523:23: sparse: expected int [noderef] __user *__ptr_clean net/bluetooth/af_bluetooth.c:523:23: sparse: got int * net/bluetooth/af_bluetooth.c:178:25: sparse: sparse: context imbalance in 'bt_accept_enqueue' - different lock contexts for basic block -- >> net/bluetooth/hci_core.c:837:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ net/bluetooth/hci_core.c:837:13: sparse: expected unsigned short [noderef] __user *__ptr_clean net/bluetooth/hci_core.c:837:13: sparse: got unsigned short * -- >> net/bluetooth/hci_sock.c:1976:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/bluetooth/hci_sock.c:1976:13: sparse: expected int [noderef] __user *__ptr_clean net/bluetooth/hci_sock.c:1976:13: sparse: got int * >> net/bluetooth/hci_sock.c:1993:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ net/bluetooth/hci_sock.c:1993:21: sparse: expected char [noderef] __user *__ptr_clean net/bluetooth/hci_sock.c:1993:21: sparse: got char * net/bluetooth/hci_sock.c:2003:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ net/bluetooth/hci_sock.c:2003:21: sparse: expected char [noderef] __user *__ptr_clean net/bluetooth/hci_sock.c:2003:21: sparse: got char * >> net/bluetooth/hci_sock.c:2053:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ net/bluetooth/hci_sock.c:2053:21: sparse: expected unsigned short [noderef] __user *__ptr_clean net/bluetooth/hci_sock.c:2053:21: sparse: got unsigned short * -- >> net/bluetooth/l2cap_sock.c:464:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/bluetooth/l2cap_sock.c:464:13: sparse: expected int [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:464:13: sparse: got int * >> net/bluetooth/l2cap_sock.c:539:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/bluetooth/l2cap_sock.c:539:21: sparse: expected unsigned int [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:539:21: sparse: got unsigned int * net/bluetooth/l2cap_sock.c:589:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/bluetooth/l2cap_sock.c:589:13: sparse: expected int [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:589:13: sparse: got int * net/bluetooth/l2cap_sock.c:625:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/bluetooth/l2cap_sock.c:625:21: sparse: expected unsigned int [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:625:21: sparse: got unsigned int * net/bluetooth/l2cap_sock.c:632:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/bluetooth/l2cap_sock.c:632:21: sparse: expected unsigned int [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:632:21: sparse: got unsigned int * net/bluetooth/l2cap_sock.c:654:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/bluetooth/l2cap_sock.c:654:21: sparse: expected unsigned int [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:654:21: sparse: got unsigned int * >> net/bluetooth/l2cap_sock.c:669:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ net/bluetooth/l2cap_sock.c:669:21: sparse: expected unsigned short [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:669:21: sparse: got unsigned short * net/bluetooth/l2cap_sock.c:679:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ net/bluetooth/l2cap_sock.c:679:21: sparse: expected unsigned short [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:679:21: sparse: got unsigned short * net/bluetooth/l2cap_sock.c:691:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/bluetooth/l2cap_sock.c:691:21: sparse: expected unsigned int [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:691:21: sparse: got unsigned int * >> net/bluetooth/l2cap_sock.c:712:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char [noderef] __user *__ptr_clean @@ got unsigned char * @@ net/bluetooth/l2cap_sock.c:712:21: sparse: expected unsigned char [noderef] __user *__ptr_clean net/bluetooth/l2cap_sock.c:712:21: sparse: got unsigned char * -- >> drivers/scsi/scsi_ioctl.c:49:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/scsi/scsi_ioctl.c:49:21: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:49:21: sparse: got unsigned int * >> drivers/scsi/scsi_ioctl.c:173:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/scsi_ioctl.c:173:16: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:173:16: sparse: got int * drivers/scsi/scsi_ioctl.c:178:28: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/scsi_ioctl.c:178:28: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:178:28: sparse: got int * drivers/scsi/scsi_ioctl.c:191:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/scsi_ioctl.c:191:16: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:191:16: sparse: got int * drivers/scsi/scsi_ioctl.c:196:25: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/scsi_ioctl.c:196:25: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:196:25: sparse: got int * drivers/scsi/scsi_ioctl.c:215:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/scsi_ioctl.c:215:16: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:215:16: sparse: got int * drivers/scsi/scsi_ioctl.c:532:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/scsi/scsi_ioctl.c:532:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:532:13: sparse: got unsigned int * drivers/scsi/scsi_ioctl.c:534:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/scsi/scsi_ioctl.c:534:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:534:13: sparse: got unsigned int * >> drivers/scsi/scsi_ioctl.c:538:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char [noderef] __user *__ptr_clean @@ got unsigned char * @@ drivers/scsi/scsi_ioctl.c:538:13: sparse: expected unsigned char [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:538:13: sparse: got unsigned char * drivers/scsi/scsi_ioctl.c:924:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/scsi_ioctl.c:924:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/scsi_ioctl.c:924:24: sparse: got int * -- >> drivers/scsi/scsi_error.c:2387:17: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/scsi_error.c:2387:17: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/scsi_error.c:2387:17: sparse: got int * -- >> drivers/scsi/sg.c:415:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:415:21: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:415:21: sparse: got int * drivers/scsi/sg.c:419:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:419:32: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:419:32: sparse: got int * >> drivers/scsi/sg.c:425:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed int [noderef] __user *__ptr_clean @@ got signed int * @@ drivers/scsi/sg.c:425:32: sparse: expected signed int [noderef] __user *__ptr_clean drivers/scsi/sg.c:425:32: sparse: got signed int * drivers/scsi/sg.c:431:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:431:32: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:431:32: sparse: got int * >> drivers/scsi/sg.c:638:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ drivers/scsi/sg.c:638:13: sparse: expected char const [noderef] __user *__ptr_clean drivers/scsi/sg.c:638:13: sparse: got char const * drivers/scsi/sg.c:952:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:952:26: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:952:26: sparse: got int * drivers/scsi/sg.c:975:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:975:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:975:24: sparse: got int * drivers/scsi/sg.c:995:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:995:26: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:995:26: sparse: got int * drivers/scsi/sg.c:1006:40: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1006:40: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1006:40: sparse: got int * drivers/scsi/sg.c:1010:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1010:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1010:24: sparse: got int * drivers/scsi/sg.c:1019:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1019:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1019:24: sparse: got int * drivers/scsi/sg.c:1021:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1021:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1021:24: sparse: got int * drivers/scsi/sg.c:1023:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1023:26: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1023:26: sparse: got int * drivers/scsi/sg.c:1046:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1046:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1046:24: sparse: got int * drivers/scsi/sg.c:1048:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1048:26: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1048:26: sparse: got int * drivers/scsi/sg.c:1054:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1054:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1054:24: sparse: got int * drivers/scsi/sg.c:1056:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1056:26: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1056:26: sparse: got int * drivers/scsi/sg.c:1062:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1062:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1062:24: sparse: got int * drivers/scsi/sg.c:1064:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1064:26: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1064:26: sparse: got int * drivers/scsi/sg.c:1072:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1072:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1072:24: sparse: got int * drivers/scsi/sg.c:1076:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1076:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1076:24: sparse: got int * drivers/scsi/sg.c:1102:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1102:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1102:24: sparse: got int * drivers/scsi/sg.c:1108:26: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1108:26: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1108:26: sparse: got int * drivers/scsi/sg.c:1114:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/scsi/sg.c:1114:24: sparse: expected int [noderef] __user *__ptr_clean drivers/scsi/sg.c:1114:24: sparse: got int * -- drivers/scsi/st.c: note: in included file: >> include/linux/mtio.h:55:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ include/linux/mtio.h:55:24: sparse: expected unsigned int [noderef] __user *__ptr_clean include/linux/mtio.h:55:24: sparse: got unsigned int * >> include/linux/mtio.h:57:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected long [noderef] __user *__ptr_clean @@ got long * @@ include/linux/mtio.h:57:24: sparse: expected long [noderef] __user *__ptr_clean include/linux/mtio.h:57:24: sparse: got long * -- >> drivers/staging/media/av7110/av7110_av.c:970:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ drivers/staging/media/av7110/av7110_av.c:970:13: sparse: expected char const [noderef] __user *__ptr_clean drivers/staging/media/av7110/av7110_av.c:970:13: sparse: got char const * drivers/staging/media/av7110/av7110_av.c:1011:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ drivers/staging/media/av7110/av7110_av.c:1011:13: sparse: expected char const [noderef] __user *__ptr_clean drivers/staging/media/av7110/av7110_av.c:1011:13: sparse: got char const * >> drivers/staging/media/av7110/av7110_av.c:1042:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ drivers/staging/media/av7110/av7110_av.c:1042:21: sparse: expected char [noderef] __user *__ptr_clean drivers/staging/media/av7110/av7110_av.c:1042:21: sparse: got char * -- >> net/can/raw.c:698:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/can/raw.c:698:13: sparse: expected int [noderef] __user *__ptr_clean net/can/raw.c:698:13: sparse: got int * net/can/raw.c:713:37: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/can/raw.c:713:37: sparse: expected int [noderef] __user *__ptr_clean net/can/raw.c:713:37: sparse: got int * net/can/raw.c:727:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/can/raw.c:727:31: sparse: expected int [noderef] __user *__ptr_clean net/can/raw.c:727:31: sparse: got int * net/can/raw.c:764:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/can/raw.c:764:13: sparse: expected int [noderef] __user *__ptr_clean net/can/raw.c:764:13: sparse: got int * -- >> net/can/isotp.c:1456:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/can/isotp.c:1456:13: sparse: expected int [noderef] __user *__ptr_clean net/can/isotp.c:1456:13: sparse: got int * net/can/isotp.c:1491:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/can/isotp.c:1491:13: sparse: expected int [noderef] __user *__ptr_clean net/can/isotp.c:1491:13: sparse: got int * -- >> net/can/j1939/socket.c:755:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/can/j1939/socket.c:755:13: sparse: expected int [noderef] __user *__ptr_clean net/can/j1939/socket.c:755:13: sparse: got int * net/can/j1939/socket.c:782:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/can/j1939/socket.c:782:18: sparse: expected int [noderef] __user *__ptr_clean net/can/j1939/socket.c:782:18: sparse: got int * -- >> drivers/infiniband/hw/qib/qib_file_ops.c:1915:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/infiniband/hw/qib/qib_file_ops.c:1915:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/infiniband/hw/qib/qib_file_ops.c:1915:13: sparse: got unsigned int * drivers/infiniband/hw/qib/qib_file_ops.c:1936:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/infiniband/hw/qib/qib_file_ops.c:1936:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/infiniband/hw/qib/qib_file_ops.c:1936:13: sparse: got unsigned int * -- >> net/core/pktgen.c:756:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ net/core/pktgen.c:756:21: sparse: expected char const [noderef] __user *__ptr_clean net/core/pktgen.c:756:21: sparse: got char const * net/core/pktgen.c:774:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ net/core/pktgen.c:774:21: sparse: expected char const [noderef] __user *__ptr_clean net/core/pktgen.c:774:21: sparse: got char const * net/core/pktgen.c:800:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ net/core/pktgen.c:800:21: sparse: expected char const [noderef] __user *__ptr_clean net/core/pktgen.c:800:21: sparse: got char const * net/core/pktgen.c:817:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ net/core/pktgen.c:817:21: sparse: expected char const [noderef] __user *__ptr_clean net/core/pktgen.c:817:21: sparse: got char const * net/core/pktgen.c:857:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ net/core/pktgen.c:857:21: sparse: expected char const [noderef] __user *__ptr_clean net/core/pktgen.c:857:21: sparse: got char const * net/core/pktgen.c:877:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ net/core/pktgen.c:877:21: sparse: expected char const [noderef] __user *__ptr_clean net/core/pktgen.c:877:21: sparse: got char const * net/core/pktgen.c:907:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ net/core/pktgen.c:907:21: sparse: expected char const [noderef] __user *__ptr_clean net/core/pktgen.c:907:21: sparse: got char const * -- >> drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:308:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long [noderef] __user *__ptr_clean @@ got unsigned long * @@ drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:308:32: sparse: expected unsigned long [noderef] __user *__ptr_clean drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:308:32: sparse: got unsigned long * drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:316:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long [noderef] __user *__ptr_clean @@ got unsigned long * @@ drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:316:32: sparse: expected unsigned long [noderef] __user *__ptr_clean drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:316:32: sparse: got unsigned long * drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:325:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long [noderef] __user *__ptr_clean @@ got unsigned long * @@ drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:325:32: sparse: expected unsigned long [noderef] __user *__ptr_clean drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:325:32: sparse: got unsigned long * drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:333:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long [noderef] __user *__ptr_clean @@ got unsigned long * @@ drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:333:32: sparse: expected unsigned long [noderef] __user *__ptr_clean drivers/thermal/intel/int340x_thermal/acpi_thermal_rel.c:333:32: sparse: got unsigned long * -- >> drivers/net/hamradio/mkiss.c:828:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/hamradio/mkiss.c:828:23: sparse: expected int [noderef] __user *__ptr_clean drivers/net/hamradio/mkiss.c:828:23: sparse: got int * drivers/net/hamradio/mkiss.c:832:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/hamradio/mkiss.c:832:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/hamradio/mkiss.c:832:21: sparse: got int * -- >> drivers/net/hamradio/6pack.c:704:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/hamradio/6pack.c:704:23: sparse: expected int [noderef] __user *__ptr_clean drivers/net/hamradio/6pack.c:704:23: sparse: got int * drivers/net/hamradio/6pack.c:708:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/hamradio/6pack.c:708:21: sparse: expected int [noderef] __user *__ptr_clean drivers/net/hamradio/6pack.c:708:21: sparse: got int * -- >> drivers/tty/n_gsm.c:3087:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/tty/n_gsm.c:3087:24: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/tty/n_gsm.c:3087:24: sparse: got unsigned int * drivers/tty/n_gsm.c:3252:29: sparse: sparse: restricted __be16 degrades to integer -- drivers/tty/mxser.c:291:32: sparse: sparse: array of flexible structures >> drivers/tty/mxser.c:1092:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/tty/mxser.c:1092:16: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/tty/mxser.c:1092:16: sparse: got unsigned int * >> drivers/tty/mxser.c:1177:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/tty/mxser.c:1177:21: sparse: expected int [noderef] __user *__ptr_clean drivers/tty/mxser.c:1177:21: sparse: got int * drivers/tty/mxser.c:1197:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/tty/mxser.c:1197:16: sparse: expected int [noderef] __user *__ptr_clean drivers/tty/mxser.c:1197:16: sparse: got int * -- >> drivers/tty/synclink_gt.c:2557:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/tty/synclink_gt.c:2557:13: sparse: expected int [noderef] __user *__ptr_clean drivers/tty/synclink_gt.c:2557:13: sparse: got int * drivers/tty/synclink_gt.c:2664:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/tty/synclink_gt.c:2664:13: sparse: expected int [noderef] __user *__ptr_clean drivers/tty/synclink_gt.c:2664:13: sparse: got int * drivers/tty/synclink_gt.c:2763:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/tty/synclink_gt.c:2763:22: sparse: expected int [noderef] __user *__ptr_clean drivers/tty/synclink_gt.c:2763:22: sparse: got int * drivers/tty/synclink_gt.c:2770:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/tty/synclink_gt.c:2770:13: sparse: expected int [noderef] __user *__ptr_clean drivers/tty/synclink_gt.c:2770:13: sparse: got int * drivers/tty/synclink_gt.c:2801:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/tty/synclink_gt.c:2801:13: sparse: expected int [noderef] __user *__ptr_clean drivers/tty/synclink_gt.c:2801:13: sparse: got int * drivers/tty/synclink_gt.c:2827:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/tty/synclink_gt.c:2827:13: sparse: expected int [noderef] __user *__ptr_clean drivers/tty/synclink_gt.c:2827:13: sparse: got int * -- >> net/dccp/ccid.c:69:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/dccp/ccid.c:69:13: sparse: expected int [noderef] __user *__ptr_clean net/dccp/ccid.c:69:13: sparse: got int * -- >> net/dccp/proto.c:373:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/dccp/proto.c:373:22: sparse: expected int [noderef] __user *__ptr_clean net/dccp/proto.c:373:22: sparse: got int * net/dccp/proto.c:388:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/dccp/proto.c:388:22: sparse: expected int [noderef] __user *__ptr_clean net/dccp/proto.c:388:22: sparse: got int * net/dccp/proto.c:524:52: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __be32 const [usertype] service @@ got int [addressable] val @@ net/dccp/proto.c:524:52: sparse: expected restricted __be32 const [usertype] service net/dccp/proto.c:524:52: sparse: got int [addressable] val net/dccp/proto.c:594:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/dccp/proto.c:594:13: sparse: expected int [noderef] __user *__ptr_clean net/dccp/proto.c:594:13: sparse: got int * >> net/dccp/proto.c:595:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected restricted __be32 [noderef] __user *__ptr_clean @@ got restricted __be32 * @@ net/dccp/proto.c:595:13: sparse: expected restricted __be32 [noderef] __user *__ptr_clean net/dccp/proto.c:595:13: sparse: got restricted __be32 * net/dccp/proto.c:609:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/dccp/proto.c:609:13: sparse: expected int [noderef] __user *__ptr_clean net/dccp/proto.c:609:13: sparse: got int * net/dccp/proto.c:665:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/dccp/proto.c:665:13: sparse: expected int [noderef] __user *__ptr_clean net/dccp/proto.c:665:13: sparse: got int * net/dccp/proto.c:707:57: sparse: sparse: incorrect type in argument 2 (different base types) @@ expected restricted __be32 [usertype] param @@ got int cmsg_type @@ net/dccp/proto.c:707:57: sparse: expected restricted __be32 [usertype] param net/dccp/proto.c:707:57: sparse: got int cmsg_type -- net/dccp/ccids/ccid3.c:474:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __be32 [usertype] opt_val @@ got unsigned int [usertype] @@ net/dccp/ccids/ccid3.c:474:25: sparse: expected restricted __be32 [usertype] opt_val net/dccp/ccids/ccid3.c:474:25: sparse: got unsigned int [usertype] net/dccp/ccids/ccid3.c:478:39: sparse: sparse: incorrect type in assignment (different base types) @@ expected unsigned long long [usertype] tx_x_recv @@ got restricted __be32 [usertype] opt_val @@ net/dccp/ccids/ccid3.c:478:39: sparse: expected unsigned long long [usertype] tx_x_recv net/dccp/ccids/ccid3.c:478:39: sparse: got restricted __be32 [usertype] opt_val net/dccp/ccids/ccid3.c:485:64: sparse: sparse: incorrect type in argument 1 (different base types) @@ expected unsigned int [usertype] loss_event_rate @@ got restricted __be32 [usertype] opt_val @@ net/dccp/ccids/ccid3.c:485:64: sparse: expected unsigned int [usertype] loss_event_rate net/dccp/ccids/ccid3.c:485:64: sparse: got restricted __be32 [usertype] opt_val >> net/dccp/ccids/ccid3.c:546:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/dccp/ccids/ccid3.c:546:13: sparse: expected int [noderef] __user *__ptr_clean net/dccp/ccids/ccid3.c:546:13: sparse: got int * net/dccp/ccids/ccid3.c:836:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/dccp/ccids/ccid3.c:836:13: sparse: expected int [noderef] __user *__ptr_clean net/dccp/ccids/ccid3.c:836:13: sparse: got int * -- drivers/net/slip/slip.c:459:14: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:459:14: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:459:14: sparse: void * drivers/net/slip/slip.c:893:9: sparse: sparse: incompatible types in comparison expression (different address spaces): drivers/net/slip/slip.c:893:9: sparse: void [noderef] __rcu * drivers/net/slip/slip.c:893:9: sparse: void * >> drivers/net/slip/slip.c:1094:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/slip/slip.c:1099:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/slip/slip.c:1124:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/slip/slip.c:1145:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/slip/slip.c:1150:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/net/slip/slip.c:1170:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ -- >> net/decnet/af_decnet.c:1541:12: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/decnet/af_decnet.c:1541:12: sparse: expected int [noderef] __user *__ptr_clean net/decnet/af_decnet.c:1541:12: sparse: got int * net/decnet/af_decnet.c:1636:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/decnet/af_decnet.c:1636:21: sparse: expected int [noderef] __user *__ptr_clean net/decnet/af_decnet.c:1636:21: sparse: got int * net/decnet/af_decnet.c:251: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:251:22: sparse: expected unsigned int hash net/decnet/af_decnet.c:251:22: sparse: got restricted __le16 [usertype] sdn_objnamel net/decnet/af_decnet.c:1243:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/decnet/af_decnet.c:1243:23: sparse: expected int [noderef] __user *__ptr_clean net/decnet/af_decnet.c:1243:23: sparse: got int * net/decnet/af_decnet.c:1256:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/decnet/af_decnet.c:1256:23: sparse: expected int [noderef] __user *__ptr_clean net/decnet/af_decnet.c:1256:23: sparse: got int * net/decnet/af_decnet.c:1520:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/decnet/af_decnet.c:1520:21: sparse: expected int [noderef] __user *__ptr_clean net/decnet/af_decnet.c:1520:21: sparse: got int * net/decnet/af_decnet.c:1525:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/decnet/af_decnet.c:1525:31: sparse: expected int [noderef] __user *__ptr_clean net/decnet/af_decnet.c:1525:31: sparse: got int * 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:2168:9: sparse: sparse: context imbalance in 'dn_socket_get_idx' - wrong count at exit net/decnet/af_decnet.c:2188:9: sparse: sparse: context imbalance in 'dn_socket_seq_next' - unexpected unlock net/decnet/af_decnet.c:2197:17: sparse: sparse: context imbalance in 'dn_socket_seq_stop' - unexpected unlock -- >> drivers/vfio/vfio_main.c:1254:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/vfio/vfio_main.c:1254:21: sparse: expected int [noderef] __user *__ptr_clean drivers/vfio/vfio_main.c:1254:21: sparse: got int * -- >> drivers/vhost/vringh.c:592:18: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected restricted __virtio16 [noderef] __user *__ptr_clean @@ got restricted __virtio16 * @@ drivers/vhost/vringh.c:592:18: sparse: expected restricted __virtio16 [noderef] __user *__ptr_clean drivers/vhost/vringh.c:592:18: sparse: got restricted __virtio16 * drivers/vhost/vringh.c:600:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected restricted __virtio16 [noderef] __user *__ptr_clean @@ got restricted __virtio16 * @@ drivers/vhost/vringh.c:600:16: sparse: expected restricted __virtio16 [noderef] __user *__ptr_clean drivers/vhost/vringh.c:600:16: sparse: got restricted __virtio16 * -- >> drivers/vhost/vdpa.c:509:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/vhost/vdpa.c:509:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/vhost/vdpa.c:509:13: sparse: got unsigned int * -- >> drivers/vhost/vhost.c:1607:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/vhost/vhost.c:1607:13: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/vhost/vhost.c:1607:13: sparse: got unsigned int * >> drivers/vhost/vhost.c:1805:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/vhost/vhost.c:1805:21: sparse: expected int [noderef] __user *__ptr_clean drivers/vhost/vhost.c:1805:21: sparse: got int * -- >> drivers/watchdog/kempld_wdt.c:349:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/kempld_wdt.c:349:21: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/kempld_wdt.c:349:21: sparse: got int * drivers/watchdog/kempld_wdt.c:357:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/kempld_wdt.c:357:23: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/kempld_wdt.c:357:23: sparse: got int * -- >> drivers/watchdog/wdt_pci.c:365:37: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ drivers/watchdog/wdt_pci.c:365:37: sparse: expected char const [noderef] __user *__ptr_clean drivers/watchdog/wdt_pci.c:365:37: sparse: got char const * >> drivers/watchdog/wdt_pci.c:417:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/wdt_pci.c:417:24: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/wdt_pci.c:417:24: sparse: got int * drivers/watchdog/wdt_pci.c:419:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/wdt_pci.c:419:24: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/wdt_pci.c:419:24: sparse: got int * drivers/watchdog/wdt_pci.c:424:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/wdt_pci.c:424:21: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/wdt_pci.c:424:21: sparse: got int * drivers/watchdog/wdt_pci.c:431:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/wdt_pci.c:431:24: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/wdt_pci.c:431:24: sparse: got int * -- >> drivers/watchdog/acquirewdt.c:131:37: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ drivers/watchdog/acquirewdt.c:131:37: sparse: expected char const [noderef] __user *__ptr_clean drivers/watchdog/acquirewdt.c:131:37: sparse: got char const * >> drivers/watchdog/acquirewdt.c:161:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/acquirewdt.c:161:24: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/acquirewdt.c:161:24: sparse: got int * drivers/watchdog/acquirewdt.c:165:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/acquirewdt.c:165:21: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/acquirewdt.c:165:21: sparse: got int * drivers/watchdog/acquirewdt.c:182:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ drivers/watchdog/acquirewdt.c:182:24: sparse: expected int [noderef] __user *__ptr_clean drivers/watchdog/acquirewdt.c:182:24: sparse: got int * -- >> drivers/xen/gntdev.c:870:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed short [noderef] __user *__ptr_clean @@ got signed short * @@ drivers/xen/gntdev.c:870:13: sparse: expected signed short [noderef] __user *__ptr_clean drivers/xen/gntdev.c:870:13: sparse: got signed short * -- >> drivers/xen/privcmd.c:375:31: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long [noderef] __user *__ptr_clean @@ got unsigned long * @@ drivers/xen/privcmd.c:375:31: sparse: expected unsigned long [noderef] __user *__ptr_clean drivers/xen/privcmd.c:375:31: sparse: got unsigned long * drivers/xen/privcmd.c:559:35: sparse: sparse: cast removes address space '__user' of expression drivers/xen/privcmd.c:559:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long [noderef] [usertype] __user *[addressable] [assigned] user_gfn @@ got unsigned long [usertype] * @@ drivers/xen/privcmd.c:559:32: sparse: expected unsigned long [noderef] [usertype] __user *[addressable] [assigned] user_gfn drivers/xen/privcmd.c:559:32: sparse: got unsigned long [usertype] * drivers/xen/privcmd.c:686:17: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void *[usertype] h @@ got void [noderef] __user *uptr @@ drivers/xen/privcmd.c:686:17: sparse: expected void *[usertype] h drivers/xen/privcmd.c:686:17: sparse: got void [noderef] __user *uptr -- >> net/ipv4/bpfilter/sockopt.c:65:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/ipv4/bpfilter/sockopt.c:65:13: sparse: expected int [noderef] __user *__ptr_clean net/ipv4/bpfilter/sockopt.c:65:13: sparse: got int * -- >> net/llc/af_llc.c:1171:14: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/llc/af_llc.c:1171:14: sparse: expected int [noderef] __user *__ptr_clean net/llc/af_llc.c:1171:14: sparse: got int * net/llc/af_llc.c:1202:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/llc/af_llc.c:1202:13: sparse: expected int [noderef] __user *__ptr_clean net/llc/af_llc.c:1202:13: sparse: got int * -- >> net/mptcp/protocol.c:3406:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/mptcp/protocol.c:3406:16: sparse: expected int [noderef] __user *__ptr_clean net/mptcp/protocol.c:3406:16: sparse: got int * net/mptcp/protocol.c:2964:24: sparse: sparse: context imbalance in 'mptcp_sk_clone' - unexpected unlock -- >> net/mptcp/sockopt.c:903:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/mptcp/sockopt.c:903:13: sparse: expected int [noderef] __user *__ptr_clean net/mptcp/sockopt.c:903:13: sparse: got int * net/mptcp/sockopt.c:910:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/mptcp/sockopt.c:910:13: sparse: expected int [noderef] __user *__ptr_clean net/mptcp/sockopt.c:910:13: sparse: got int * net/mptcp/sockopt.c:931:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/mptcp/sockopt.c:931:13: sparse: expected int [noderef] __user *__ptr_clean net/mptcp/sockopt.c:931:13: sparse: got int * net/mptcp/sockopt.c:945:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/mptcp/sockopt.c:945:13: sparse: expected int [noderef] __user *__ptr_clean net/mptcp/sockopt.c:945:13: sparse: got int * net/mptcp/sockopt.c:1127:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/mptcp/sockopt.c:1127:13: sparse: expected int [noderef] __user *__ptr_clean net/mptcp/sockopt.c:1127:13: sparse: got int * net/mptcp/sockopt.c:1136:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/mptcp/sockopt.c:1136:21: sparse: expected int [noderef] __user *__ptr_clean net/mptcp/sockopt.c:1136:21: sparse: got int * net/mptcp/sockopt.c:1142:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/mptcp/sockopt.c:1142:21: sparse: expected int [noderef] __user *__ptr_clean net/mptcp/sockopt.c:1142:21: sparse: got int * -- >> net/netfilter/x_tables.c:297:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ net/netfilter/x_tables.c:297:13: sparse: expected unsigned short [noderef] __user *__ptr_clean net/netfilter/x_tables.c:297:13: sparse: got unsigned short * >> net/netfilter/x_tables.c:301:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char [noderef] __user *__ptr_clean @@ got unsigned char * @@ net/netfilter/x_tables.c:301:13: sparse: expected unsigned char [noderef] __user *__ptr_clean net/netfilter/x_tables.c:301:13: sparse: got unsigned char * -- >> net/netrom/af_netrom.c:359:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/netrom/af_netrom.c:359:13: sparse: expected int [noderef] __user *__ptr_clean net/netrom/af_netrom.c:359:13: sparse: got int * net/netrom/af_netrom.c:392:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/netrom/af_netrom.c:392:13: sparse: expected int [noderef] __user *__ptr_clean net/netrom/af_netrom.c:392:13: sparse: got int * net/netrom/af_netrom.c:1212:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/netrom/af_netrom.c:1212:24: sparse: expected int [noderef] __user *__ptr_clean net/netrom/af_netrom.c:1212:24: sparse: got int * net/netrom/af_netrom.c:1224:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/netrom/af_netrom.c:1224:24: sparse: expected int [noderef] __user *__ptr_clean net/netrom/af_netrom.c:1224:24: sparse: got int * -- arch/x86/kvm/x86.c:228:47: sparse: sparse: array of flexible structures arch/x86/kvm/x86.c: note: in included file: include/linux/kvm_host.h:1905:54: sparse: sparse: array of flexible structures arch/x86/kvm/x86.c:254:49: sparse: sparse: array of flexible structures include/linux/kvm_host.h:1907:56: sparse: sparse: array of flexible structures >> arch/x86/kvm/x86.c:4514:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long long [noderef] __user *__ptr_clean @@ got unsigned long long * @@ arch/x86/kvm/x86.c:4514:21: sparse: expected unsigned long long [noderef] __user *__ptr_clean arch/x86/kvm/x86.c:4514:21: sparse: got unsigned long long * arch/x86/kvm/x86.c:5329:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long long [noderef] __user *__ptr_clean @@ got unsigned long long * @@ arch/x86/kvm/x86.c:5329:21: sparse: expected unsigned long long [noderef] __user *__ptr_clean arch/x86/kvm/x86.c:5329:21: sparse: got unsigned long long * arch/x86/kvm/x86.c:5357:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long long [noderef] __user *__ptr_clean @@ got unsigned long long * @@ arch/x86/kvm/x86.c:5357:21: sparse: expected unsigned long long [noderef] __user *__ptr_clean arch/x86/kvm/x86.c:5357:21: sparse: got unsigned long long * >> arch/x86/kvm/x86.c:5790:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ arch/x86/kvm/x86.c:5790:21: sparse: expected unsigned int [noderef] __user *__ptr_clean arch/x86/kvm/x86.c:5790:21: sparse: got unsigned int * arch/x86/kvm/x86.c:5799:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ arch/x86/kvm/x86.c:5799:29: sparse: expected unsigned int [noderef] __user *__ptr_clean arch/x86/kvm/x86.c:5799:29: sparse: got unsigned int * arch/x86/kvm/x86.c:2908:9: sparse: sparse: context imbalance in '__kvm_start_pvclock_update' - wrong count at exit arch/x86/kvm/x86.c:2919:13: sparse: sparse: context imbalance in 'kvm_end_pvclock_update' - unexpected unlock arch/x86/kvm/x86.c: note: in included file (through include/linux/notifier.h, include/linux/memory_hotplug.h, include/linux/mmzone.h, ...): include/linux/srcu.h:189:9: sparse: sparse: context imbalance in 'vcpu_enter_guest' - unexpected unlock include/linux/srcu.h:189:9: sparse: sparse: context imbalance in 'vcpu_run' - unexpected unlock -- >> arch/x86/kvm/../../../virt/kvm/vfio.c:270:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed int [noderef] __user *__ptr_clean @@ got signed int * @@ arch/x86/kvm/../../../virt/kvm/vfio.c:270:21: sparse: expected signed int [noderef] __user *__ptr_clean arch/x86/kvm/../../../virt/kvm/vfio.c:270:21: sparse: got signed int * arch/x86/kvm/../../../virt/kvm/vfio.c:275:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed int [noderef] __user *__ptr_clean @@ got signed int * @@ arch/x86/kvm/../../../virt/kvm/vfio.c:275:21: sparse: expected signed int [noderef] __user *__ptr_clean arch/x86/kvm/../../../virt/kvm/vfio.c:275:21: sparse: got signed int * -- >> kernel/kcov.c:711:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ kernel/kcov.c:711:21: sparse: expected unsigned int [noderef] __user *__ptr_clean kernel/kcov.c:711:21: sparse: got unsigned int * -- >> fs/crypto/policy.c:474:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned char const [noderef] __user *__ptr_clean @@ got unsigned char const * @@ fs/crypto/policy.c:474:13: sparse: expected unsigned char const [noderef] __user *__ptr_clean fs/crypto/policy.c:474:13: sparse: got unsigned char const * -- >> fs/crypto/keyring.c:1043:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/crypto/keyring.c:1043:23: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/crypto/keyring.c:1043:23: sparse: got unsigned int * -- >> ipc/mqueue.c:1273:36: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ ipc/mqueue.c:1273:36: sparse: expected unsigned int [noderef] __user *__ptr_clean ipc/mqueue.c:1273:36: sparse: got unsigned int * -- net/qrtr/af_qrtr.c:179:27: sparse: sparse: incompatible types in comparison expression (different base types): net/qrtr/af_qrtr.c:179:27: sparse: void [noderef] __rcu * net/qrtr/af_qrtr.c:179:27: sparse: struct qrtr_node * net/qrtr/af_qrtr.c:366:25: sparse: sparse: incorrect type in assignment (different base types) @@ expected restricted __le32 [usertype] confirm_rx @@ got int @@ net/qrtr/af_qrtr.c:630:27: sparse: sparse: incompatible types in comparison expression (different base types): net/qrtr/af_qrtr.c:630:27: sparse: void [noderef] __rcu * net/qrtr/af_qrtr.c:630:27: sparse: struct qrtr_node * >> net/qrtr/af_qrtr.c:1154:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/qrtr/af_qrtr.c:1160:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ -- >> net/rfkill/core.c:1354:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/rfkill/core.c:1354:21: sparse: expected unsigned int [noderef] __user *__ptr_clean net/rfkill/core.c:1354:21: sparse: got unsigned int * -- >> net/rose/af_rose.c:440:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/rose/af_rose.c:440:13: sparse: expected int [noderef] __user *__ptr_clean net/rose/af_rose.c:440:13: sparse: got int * net/rose/af_rose.c:481:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/rose/af_rose.c:481:13: sparse: expected int [noderef] __user *__ptr_clean net/rose/af_rose.c:481:13: sparse: got int * >> net/rose/af_rose.c:1304:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/rose/af_rose.c:1304:24: sparse: expected unsigned int [noderef] __user *__ptr_clean net/rose/af_rose.c:1304:24: sparse: got unsigned int * net/rose/af_rose.c:1313:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/rose/af_rose.c:1313:24: sparse: expected unsigned int [noderef] __user *__ptr_clean net/rose/af_rose.c:1313:24: sparse: got unsigned int * -- >> net/rxrpc/af_rxrpc.c:699:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/rxrpc/af_rxrpc.c:699:13: sparse: expected int [noderef] __user *__ptr_clean net/rxrpc/af_rxrpc.c:699:13: sparse: got int * net/rxrpc/af_rxrpc.c:706:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/rxrpc/af_rxrpc.c:706:21: sparse: expected int [noderef] __user *__ptr_clean net/rxrpc/af_rxrpc.c:706:21: sparse: got int * net/rxrpc/af_rxrpc.c:707:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/rxrpc/af_rxrpc.c:707:21: sparse: expected int [noderef] __user *__ptr_clean net/rxrpc/af_rxrpc.c:707:21: sparse: got int * -- net/sctp/socket.c: note: in included file (through include/net/sctp/sctp.h): include/net/sctp/structs.h:335:41: sparse: sparse: array of flexible structures >> net/sctp/socket.c:1424:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:1424:21: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:1424:21: sparse: got int * net/sctp/socket.c:4919:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:4919:22: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:4919:22: sparse: got int * net/sctp/socket.c:5443:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5443:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5443:13: sparse: got int * net/sctp/socket.c:5511:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5511:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5511:13: sparse: got int * net/sctp/socket.c:5542:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5542:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5542:13: sparse: got int * net/sctp/socket.c:5565:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5565:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5565:13: sparse: got int * net/sctp/socket.c:5597:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5597:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5597:13: sparse: got int * net/sctp/socket.c:5599:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5599:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5599:13: sparse: got int * net/sctp/socket.c:5708:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5708:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5708:13: sparse: got int * net/sctp/socket.c:5743:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5743:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5743:13: sparse: got int * net/sctp/socket.c:5993:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:5993:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:5993:13: sparse: got int * net/sctp/socket.c:6091:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6091:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6091:13: sparse: got int * net/sctp/socket.c:6113:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6113:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6113:13: sparse: got int * >> net/sctp/socket.c:6163:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/sctp/socket.c:6163:13: sparse: expected unsigned int [noderef] __user *__ptr_clean net/sctp/socket.c:6163:13: sparse: got unsigned int * net/sctp/socket.c:6166:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6166:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6166:13: sparse: got int * net/sctp/socket.c:6305:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/sctp/socket.c:6305:13: sparse: expected unsigned int [noderef] __user *__ptr_clean net/sctp/socket.c:6305:13: sparse: got unsigned int * net/sctp/socket.c:6312:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6312:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6312:13: sparse: got int * net/sctp/socket.c:6353:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6353:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6353:13: sparse: got int * net/sctp/socket.c:6379:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6379:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6379:13: sparse: got int * net/sctp/socket.c:6441:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6441:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6441:13: sparse: got int * net/sctp/socket.c:6485:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6485:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6485:13: sparse: got int * net/sctp/socket.c:6513:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6513:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6513:13: sparse: got int * net/sctp/socket.c:6566:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6566:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6566:13: sparse: got int * net/sctp/socket.c:6636:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6636:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6636:13: sparse: got int * net/sctp/socket.c:6666:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6666:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6666:13: sparse: got int * net/sctp/socket.c:6700:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6700:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6700:13: sparse: got int * net/sctp/socket.c:6765:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6765:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6765:13: sparse: got int * net/sctp/socket.c:6793:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6793:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6793:13: sparse: got int * net/sctp/socket.c:6817:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6817:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6817:13: sparse: got int * net/sctp/socket.c:6892:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6892:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6892:13: sparse: got int * net/sctp/socket.c:6894:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/sctp/socket.c:6894:13: sparse: expected unsigned int [noderef] __user *__ptr_clean net/sctp/socket.c:6894:13: sparse: got unsigned int * net/sctp/socket.c:6933:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6933:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6933:13: sparse: got int * net/sctp/socket.c:6978:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:6978:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:6978:13: sparse: got int * net/sctp/socket.c:6980:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/sctp/socket.c:6980:13: sparse: expected unsigned int [noderef] __user *__ptr_clean net/sctp/socket.c:6980:13: sparse: got unsigned int * net/sctp/socket.c:7028:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7028:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7028:13: sparse: got int * net/sctp/socket.c:7030:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/sctp/socket.c:7030:13: sparse: expected unsigned int [noderef] __user *__ptr_clean net/sctp/socket.c:7030:13: sparse: got unsigned int * net/sctp/socket.c:7060:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7060:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7060:13: sparse: got int * net/sctp/socket.c:7083:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7083:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7083:13: sparse: got int * net/sctp/socket.c:7130:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7130:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7130:13: sparse: got int * net/sctp/socket.c:7193:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7193:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7193:13: sparse: got int * net/sctp/socket.c:7252:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7252:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7252:13: sparse: got int * net/sctp/socket.c:7275:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7275:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7275:13: sparse: got int * net/sctp/socket.c:7295:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7295:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7295:13: sparse: got int * net/sctp/socket.c:7330:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7330:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7330:13: sparse: got int * net/sctp/socket.c:7376:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7376:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7376:13: sparse: got int * net/sctp/socket.c:7431:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7431:13: sparse: expected int [noderef] __user *__ptr_clean net/sctp/socket.c:7431:13: sparse: got int * net/sctp/socket.c:7500:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/sctp/socket.c:7500:13: sparse: expected int [noderef] __user *__ptr_clean -- >> net/tls/tls_main.c:346:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/tls/tls_main.c:346:13: sparse: expected int [noderef] __user *__ptr_clean net/tls/tls_main.c:346:13: sparse: got int * net/tls/tls_main.c:525:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/tls/tls_main.c:525:13: sparse: expected int [noderef] __user *__ptr_clean net/tls/tls_main.c:525:13: sparse: got int * net/tls/tls_main.c:547:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/tls/tls_main.c:547:13: sparse: expected int [noderef] __user *__ptr_clean net/tls/tls_main.c:547:13: sparse: got int * net/tls/tls_main.c:560:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/tls/tls_main.c:560:13: sparse: expected int [noderef] __user *__ptr_clean net/tls/tls_main.c:560:13: sparse: got int * -- >> net/x25/af_x25.c:460:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/x25/af_x25.c:460:13: sparse: expected int [noderef] __user *__ptr_clean net/x25/af_x25.c:460:13: sparse: got int * net/x25/af_x25.c:470:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ net/x25/af_x25.c:470:13: sparse: expected int [noderef] __user *__ptr_clean net/x25/af_x25.c:470:13: sparse: got int * >> net/x25/af_x25.c:1386:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/x25/af_x25.c:1386:22: sparse: expected unsigned int [noderef] __user *__ptr_clean net/x25/af_x25.c:1386:22: sparse: got unsigned int * net/x25/af_x25.c:1401:22: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ net/x25/af_x25.c:1401:22: sparse: expected unsigned int [noderef] __user *__ptr_clean net/x25/af_x25.c:1401:22: sparse: got unsigned int * -- >> security/apparmor/lsm.c:1134:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ security/apparmor/lsm.c:1134:21: sparse: expected int [noderef] __user *__ptr_clean security/apparmor/lsm.c:1134:21: sparse: got int * -- >> block/ioctl.c:58:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/ioctl.c:58:13: sparse: expected int [noderef] __user *__ptr_clean block/ioctl.c:58:13: sparse: got int * >> block/ioctl.c:58:39: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected void [noderef] __user *[noderef] __user *__ptr_clean @@ got void [noderef] __user ** @@ block/ioctl.c:58:39: sparse: expected void [noderef] __user *[noderef] __user *__ptr_clean block/ioctl.c:58:39: sparse: got void [noderef] __user ** >> block/ioctl.c:197:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ block/ioctl.c:197:16: sparse: expected unsigned short [noderef] __user *__ptr_clean block/ioctl.c:197:16: sparse: got unsigned short * block/ioctl.c:202:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/ioctl.c:202:16: sparse: expected int [noderef] __user *__ptr_clean block/ioctl.c:202:16: sparse: got int * >> block/ioctl.c:207:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ block/ioctl.c:207:16: sparse: expected unsigned int [noderef] __user *__ptr_clean block/ioctl.c:207:16: sparse: got unsigned int * >> block/ioctl.c:212:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected long [noderef] __user *__ptr_clean @@ got long * @@ block/ioctl.c:212:16: sparse: expected long [noderef] __user *__ptr_clean block/ioctl.c:212:16: sparse: got long * >> block/ioctl.c:217:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long [noderef] __user *__ptr_clean @@ got unsigned long * @@ block/ioctl.c:217:16: sparse: expected unsigned long [noderef] __user *__ptr_clean block/ioctl.c:217:16: sparse: got unsigned long * >> block/ioctl.c:222:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long long [noderef] __user *__ptr_clean @@ got unsigned long long * @@ block/ioctl.c:222:16: sparse: expected unsigned long long [noderef] __user *__ptr_clean block/ioctl.c:222:16: sparse: got unsigned long long * block/ioctl.c:365:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/ioctl.c:365:13: sparse: expected int [noderef] __user *__ptr_clean block/ioctl.c:365:13: sparse: got int * block/ioctl.c:451:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/ioctl.c:451:13: sparse: expected int [noderef] __user *__ptr_clean block/ioctl.c:451:13: sparse: got int * -- >> block/bsg.c:87:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:87:16: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:87:16: sparse: got int * block/bsg.c:94:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:94:13: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:94:13: sparse: got int * block/bsg.c:123:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:123:24: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:123:24: sparse: got int * block/bsg.c:125:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:125:24: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:125:24: sparse: got int * block/bsg.c:127:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:127:24: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:127:24: sparse: got int * block/bsg.c:129:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:129:21: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:129:21: sparse: got int * block/bsg.c:136:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:136:24: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:136:24: sparse: got int * block/bsg.c:139:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:139:21: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:139:21: sparse: got int * block/bsg.c:147:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ block/bsg.c:147:24: sparse: expected int [noderef] __user *__ptr_clean block/bsg.c:147:24: sparse: got int * -- >> drivers/acpi/ec_sys.c:53:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ drivers/acpi/ec_sys.c:53:21: sparse: expected char [noderef] __user *__ptr_clean drivers/acpi/ec_sys.c:53:21: sparse: got char * >> drivers/acpi/ec_sys.c:87:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char const [noderef] __user *__ptr_clean @@ got char const * @@ drivers/acpi/ec_sys.c:87:21: sparse: expected char const [noderef] __user *__ptr_clean drivers/acpi/ec_sys.c:87:21: sparse: got char const * -- >> fs/ext2/ioctl.c:65:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ fs/ext2/ioctl.c:65:24: sparse: expected int [noderef] __user *__ptr_clean fs/ext2/ioctl.c:65:24: sparse: got int * fs/ext2/ioctl.c:74:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ fs/ext2/ioctl.c:74:21: sparse: expected int [noderef] __user *__ptr_clean fs/ext2/ioctl.c:74:21: sparse: got int * fs/ext2/ioctl.c:94:32: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ fs/ext2/ioctl.c:94:32: sparse: expected int [noderef] __user *__ptr_clean fs/ext2/ioctl.c:94:32: sparse: got int * fs/ext2/ioctl.c:105:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ fs/ext2/ioctl.c:105:21: sparse: expected int [noderef] __user *__ptr_clean fs/ext2/ioctl.c:105:21: sparse: got int * -- >> fs/ext4/ioctl.c:803:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/ext4/ioctl.c:803:13: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/ext4/ioctl.c:803:13: sparse: got unsigned int * >> fs/ext4/ioctl.c:1226:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ fs/ext4/ioctl.c:1226:24: sparse: expected int [noderef] __user *__ptr_clean fs/ext4/ioctl.c:1226:24: sparse: got int * fs/ext4/ioctl.c:1246:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ fs/ext4/ioctl.c:1246:21: sparse: expected int [noderef] __user *__ptr_clean fs/ext4/ioctl.c:1246:21: sparse: got int * fs/ext4/ioctl.c:1279:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/ext4/ioctl.c:1279:21: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/ext4/ioctl.c:1279:21: sparse: got unsigned int * fs/ext4/ioctl.c:1560:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/ext4/ioctl.c:1560:24: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/ext4/ioctl.c:1560:24: sparse: got unsigned int * -- >> fs/fat/file.c:32:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/fat/file.c:32:16: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/fat/file.c:32:16: sparse: got unsigned int * fs/fat/file.c:44:15: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/fat/file.c:44:15: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/fat/file.c:44:15: sparse: got unsigned int * fs/fat/file.c:123:16: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/fat/file.c:123:16: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/fat/file.c:123:16: sparse: got unsigned int * -- >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ fs/fat/dir.c:759:1: sparse: expected char [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got char * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ fs/fat/dir.c:759:1: sparse: expected unsigned short [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got unsigned short * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ fs/fat/dir.c:759:1: sparse: expected char [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got char * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ fs/fat/dir.c:759:1: sparse: expected unsigned short [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got unsigned short * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ fs/fat/dir.c:759:1: sparse: expected char [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got char * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ fs/fat/dir.c:759:1: sparse: expected unsigned short [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got unsigned short * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected long [noderef] __user *__ptr_clean @@ got long * @@ fs/fat/dir.c:759:1: sparse: expected long [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got long * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected long [noderef] __user *__ptr_clean @@ got long * @@ fs/fat/dir.c:759:1: sparse: expected long [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got long * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ fs/fat/dir.c:759:1: sparse: expected char [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got char * >> fs/fat/dir.c:759:1: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ fs/fat/dir.c:759:1: sparse: expected unsigned short [noderef] __user *__ptr_clean fs/fat/dir.c:759:1: sparse: got unsigned short * fs/fat/dir.c:812:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ fs/fat/dir.c:812:13: sparse: expected unsigned short [noderef] __user *__ptr_clean fs/fat/dir.c:812:13: sparse: got unsigned short * -- >> fs/quota/quota.c:224:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/quota/quota.c:224:21: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/quota/quota.c:224:21: sparse: got unsigned int * fs/quota/quota.c:298:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/quota/quota.c:298:21: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/quota/quota.c:298:21: sparse: got unsigned int * fs/quota/quota.c:411:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/quota/quota.c:411:13: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/quota/quota.c:411:13: sparse: got unsigned int * >> fs/quota/quota.c:419:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed char [noderef] __user *__ptr_clean @@ got signed char * @@ fs/quota/quota.c:419:13: sparse: expected signed char [noderef] __user *__ptr_clean fs/quota/quota.c:419:13: sparse: got signed char * >> fs/quota/quota.c:420:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ fs/quota/quota.c:420:13: sparse: expected unsigned short [noderef] __user *__ptr_clean fs/quota/quota.c:420:13: sparse: got unsigned short * fs/quota/quota.c:421:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed char [noderef] __user *__ptr_clean @@ got signed char * @@ fs/quota/quota.c:421:13: sparse: expected signed char [noderef] __user *__ptr_clean fs/quota/quota.c:421:13: sparse: got signed char * fs/quota/quota.c:424:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ fs/quota/quota.c:424:13: sparse: expected unsigned int [noderef] __user *__ptr_clean fs/quota/quota.c:424:13: sparse: got unsigned int * >> fs/quota/quota.c:425:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed int [noderef] __user *__ptr_clean @@ got signed int * @@ fs/quota/quota.c:425:13: sparse: expected signed int [noderef] __user *__ptr_clean fs/quota/quota.c:425:13: sparse: got signed int * fs/quota/quota.c:426:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed int [noderef] __user *__ptr_clean @@ got signed int * @@ fs/quota/quota.c:426:13: sparse: expected signed int [noderef] __user *__ptr_clean fs/quota/quota.c:426:13: sparse: got signed int * fs/quota/quota.c:427:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected signed int [noderef] __user *__ptr_clean @@ got signed int * @@ fs/quota/quota.c:427:13: sparse: expected signed int [noderef] __user *__ptr_clean fs/quota/quota.c:427:13: sparse: got signed int * fs/quota/quota.c:428:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ fs/quota/quota.c:428:13: sparse: expected unsigned short [noderef] __user *__ptr_clean fs/quota/quota.c:428:13: sparse: got unsigned short * fs/quota/quota.c:429:13: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned short [noderef] __user *__ptr_clean @@ got unsigned short * @@ fs/quota/quota.c:429:13: sparse: expected unsigned short [noderef] __user *__ptr_clean fs/quota/quota.c:429:13: sparse: got unsigned short * -- >> drivers/ata/libata-scsi.c:571:24: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned long [noderef] __user *__ptr_clean @@ got unsigned long * @@ drivers/ata/libata-scsi.c:571:24: sparse: expected unsigned long [noderef] __user *__ptr_clean drivers/ata/libata-scsi.c:571:24: sparse: got unsigned long * -- >> drivers/auxdisplay/panel.c:1041:17: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ drivers/auxdisplay/panel.c:1041:17: sparse: expected char [noderef] __user *__ptr_clean drivers/auxdisplay/panel.c:1041:17: sparse: got char * -- >> drivers/block/xen-blkfront.c:518:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected char [noderef] __user *__ptr_clean @@ got char * @@ drivers/block/xen-blkfront.c:518:29: sparse: expected char [noderef] __user *__ptr_clean drivers/block/xen-blkfront.c:518:29: sparse: got char * -- >> fs/reiserfs/ioctl.c:96:23: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ fs/reiserfs/ioctl.c:96:23: sparse: expected int [noderef] __user *__ptr_clean fs/reiserfs/ioctl.c:96:23: sparse: got int * fs/reiserfs/ioctl.c:106:21: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected int [noderef] __user *__ptr_clean @@ got int * @@ fs/reiserfs/ioctl.c:106:21: sparse: expected int [noderef] __user *__ptr_clean fs/reiserfs/ioctl.c:106:21: sparse: got int * -- >> drivers/comedi/comedi_fops.c:1083:29: sparse: sparse: incorrect type in assignment (different address spaces) @@ expected unsigned int [noderef] __user *__ptr_clean @@ got unsigned int * @@ drivers/comedi/comedi_fops.c:1083:29: sparse: expected unsigned int [noderef] __user *__ptr_clean drivers/comedi/comedi_fops.c:1083:29: sparse: got unsigned int * vim +243 sound/core/hwdep.c 18d122c0287b29 Arnd Bergmann 2020-09-18 234 18d122c0287b29 Arnd Bergmann 2020-09-18 235 d9a98de218ce18 Takashi Iwai 2005-11-17 236 static long snd_hwdep_ioctl(struct file * file, unsigned int cmd, d9a98de218ce18 Takashi Iwai 2005-11-17 237 unsigned long arg) ^1da177e4c3f41 Linus Torvalds 2005-04-16 238 { d9a98de218ce18 Takashi Iwai 2005-11-17 239 struct snd_hwdep *hw = file->private_data; ^1da177e4c3f41 Linus Torvalds 2005-04-16 240 void __user *argp = (void __user *)arg; ^1da177e4c3f41 Linus Torvalds 2005-04-16 241 switch (cmd) { ^1da177e4c3f41 Linus Torvalds 2005-04-16 242 case SNDRV_HWDEP_IOCTL_PVERSION: ^1da177e4c3f41 Linus Torvalds 2005-04-16 @243 return put_user(SNDRV_HWDEP_VERSION, (int __user *)argp); ^1da177e4c3f41 Linus Torvalds 2005-04-16 244 case SNDRV_HWDEP_IOCTL_INFO: ^1da177e4c3f41 Linus Torvalds 2005-04-16 245 return snd_hwdep_info(hw, argp); ^1da177e4c3f41 Linus Torvalds 2005-04-16 246 case SNDRV_HWDEP_IOCTL_DSP_STATUS: ^1da177e4c3f41 Linus Torvalds 2005-04-16 247 return snd_hwdep_dsp_status(hw, argp); ^1da177e4c3f41 Linus Torvalds 2005-04-16 248 case SNDRV_HWDEP_IOCTL_DSP_LOAD: 18d122c0287b29 Arnd Bergmann 2020-09-18 249 return snd_hwdep_dsp_load_user(hw, argp); ^1da177e4c3f41 Linus Torvalds 2005-04-16 250 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 251 if (hw->ops.ioctl) ^1da177e4c3f41 Linus Torvalds 2005-04-16 252 return hw->ops.ioctl(hw, file, cmd, arg); ^1da177e4c3f41 Linus Torvalds 2005-04-16 253 return -ENOTTY; ^1da177e4c3f41 Linus Torvalds 2005-04-16 254 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 255 ^1da177e4c3f41 Linus Torvalds 2005-04-16 256 static int snd_hwdep_mmap(struct file * file, struct vm_area_struct * vma) ^1da177e4c3f41 Linus Torvalds 2005-04-16 257 { d9a98de218ce18 Takashi Iwai 2005-11-17 258 struct snd_hwdep *hw = file->private_data; ^1da177e4c3f41 Linus Torvalds 2005-04-16 259 if (hw->ops.mmap) ^1da177e4c3f41 Linus Torvalds 2005-04-16 260 return hw->ops.mmap(hw, file, vma); ^1da177e4c3f41 Linus Torvalds 2005-04-16 261 return -ENXIO; ^1da177e4c3f41 Linus Torvalds 2005-04-16 262 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 263 d9a98de218ce18 Takashi Iwai 2005-11-17 264 static int snd_hwdep_control_ioctl(struct snd_card *card, d9a98de218ce18 Takashi Iwai 2005-11-17 265 struct snd_ctl_file * control, ^1da177e4c3f41 Linus Torvalds 2005-04-16 266 unsigned int cmd, unsigned long arg) ^1da177e4c3f41 Linus Torvalds 2005-04-16 267 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 268 switch (cmd) { ^1da177e4c3f41 Linus Torvalds 2005-04-16 269 case SNDRV_CTL_IOCTL_HWDEP_NEXT_DEVICE: ^1da177e4c3f41 Linus Torvalds 2005-04-16 270 { ^1da177e4c3f41 Linus Torvalds 2005-04-16 271 int device; ^1da177e4c3f41 Linus Torvalds 2005-04-16 272 ^1da177e4c3f41 Linus Torvalds 2005-04-16 273 if (get_user(device, (int __user *)arg)) ^1da177e4c3f41 Linus Torvalds 2005-04-16 274 return -EFAULT; 1a60d4c5a0c402 Ingo Molnar 2006-01-16 275 mutex_lock(®ister_mutex); f7b2bb8549e352 Dan Carpenter 2011-10-28 276 f7b2bb8549e352 Dan Carpenter 2011-10-28 277 if (device < 0) f7b2bb8549e352 Dan Carpenter 2011-10-28 278 device = 0; f7b2bb8549e352 Dan Carpenter 2011-10-28 279 else if (device < SNDRV_MINOR_HWDEPS) f7b2bb8549e352 Dan Carpenter 2011-10-28 280 device++; f7b2bb8549e352 Dan Carpenter 2011-10-28 281 else f7b2bb8549e352 Dan Carpenter 2011-10-28 282 device = SNDRV_MINOR_HWDEPS; f7b2bb8549e352 Dan Carpenter 2011-10-28 283 ^1da177e4c3f41 Linus Torvalds 2005-04-16 284 while (device < SNDRV_MINOR_HWDEPS) { f87135f56cb266 Clemens Ladisch 2005-11-20 285 if (snd_hwdep_search(card, device)) ^1da177e4c3f41 Linus Torvalds 2005-04-16 286 break; ^1da177e4c3f41 Linus Torvalds 2005-04-16 287 device++; ^1da177e4c3f41 Linus Torvalds 2005-04-16 288 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 289 if (device >= SNDRV_MINOR_HWDEPS) ^1da177e4c3f41 Linus Torvalds 2005-04-16 290 device = -1; 1a60d4c5a0c402 Ingo Molnar 2006-01-16 291 mutex_unlock(®ister_mutex); ^1da177e4c3f41 Linus Torvalds 2005-04-16 292 if (put_user(device, (int __user *)arg)) ^1da177e4c3f41 Linus Torvalds 2005-04-16 293 return -EFAULT; ^1da177e4c3f41 Linus Torvalds 2005-04-16 294 return 0; ^1da177e4c3f41 Linus Torvalds 2005-04-16 295 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 296 case SNDRV_CTL_IOCTL_HWDEP_INFO: ^1da177e4c3f41 Linus Torvalds 2005-04-16 297 { d9a98de218ce18 Takashi Iwai 2005-11-17 298 struct snd_hwdep_info __user *info = (struct snd_hwdep_info __user *)arg; f87135f56cb266 Clemens Ladisch 2005-11-20 299 int device, err; d9a98de218ce18 Takashi Iwai 2005-11-17 300 struct snd_hwdep *hwdep; ^1da177e4c3f41 Linus Torvalds 2005-04-16 301 ^1da177e4c3f41 Linus Torvalds 2005-04-16 @302 if (get_user(device, &info->device)) ^1da177e4c3f41 Linus Torvalds 2005-04-16 303 return -EFAULT; 1a60d4c5a0c402 Ingo Molnar 2006-01-16 304 mutex_lock(®ister_mutex); f87135f56cb266 Clemens Ladisch 2005-11-20 305 hwdep = snd_hwdep_search(card, device); f87135f56cb266 Clemens Ladisch 2005-11-20 306 if (hwdep) f87135f56cb266 Clemens Ladisch 2005-11-20 307 err = snd_hwdep_info(hwdep, info); f87135f56cb266 Clemens Ladisch 2005-11-20 308 else f87135f56cb266 Clemens Ladisch 2005-11-20 309 err = -ENXIO; 1a60d4c5a0c402 Ingo Molnar 2006-01-16 310 mutex_unlock(®ister_mutex); f87135f56cb266 Clemens Ladisch 2005-11-20 311 return err; ^1da177e4c3f41 Linus Torvalds 2005-04-16 312 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 313 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 314 return -ENOIOCTLCMD; ^1da177e4c3f41 Linus Torvalds 2005-04-16 315 } ^1da177e4c3f41 Linus Torvalds 2005-04-16 316 :::::: The code at line 243 was first introduced by commit :::::: 1da177e4c3f41524e886b7f1b8a0c1fc7321cac2 Linux-2.6.12-rc2 :::::: TO: Linus Torvalds :::::: CC: Linus Torvalds -- 0-DAY CI Kernel Test Service https://01.org/lkp