All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: kbuild-all@lists.01.org
Subject: Re: [PATCH RFC v2 23/25] kmsan: hooks for copy_to_user() and friends
Date: Mon, 04 Nov 2019 06:10:10 +0800	[thread overview]
Message-ID: <201911040626.EBolry6N%lkp@intel.com> (raw)
In-Reply-To: <20191030142237.249532-24-glider@google.com>

[-- Attachment #1: Type: text/plain, Size: 45739 bytes --]

Hi,

[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on linus/master]
[also build test WARNING on v5.4-rc5]
[cannot apply to next-20191031]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]

url:    https://github.com/0day-ci/linux/commits/glider-google-com/Add-KernelMemorySanitizer-infrastructure/20191102-050032
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 0dbe6cb8f7e05bc9611602ef45980a6c57b245a3
reproduce:
        # apt-get install sparse
        # sparse version: v0.6.1-6-g57f8611-dirty
        make ARCH=x86_64 allmodconfig
        make C=1 CF='-fdiagnostic-prefix -D__CHECK_ENDIAN__'

If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp@intel.com>


sparse warnings: (new ones prefixed by >>)

>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
--
   drivers/firmware/efi/test/efi_test.c:44:13: sparse:    got unsigned short [usertype] *
   drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got olatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:50:21: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:50:21: sparse:    got unsigned short [usertype] *
   drivers/firmware/efi/test/efi_test.c:265:39: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const [noderef] <asn:1> * @@    got  [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:265:39: sparse:    expected void const [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:265:39: sparse:    got void *[addressable] data
   drivers/firmware/efi/test/efi_test.c:275:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:275:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:275:13: sparse:    got unsigned long [usertype] *[addressable] status
   drivers/firmware/efi/test/efi_test.c:304:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:304:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:304:13: sparse:    got unsigned long [usertype] *[addressable] status
   drivers/firmware/efi/test/efi_test.c:313:27: sparse: sparse: incorrect type in assignment (different address spaces) @@    expected struct efi_time_cap_t [noderef] [usertype] <asn:1> *cap_local @@    got p_t [noderef] [usertype] <asn:1> *cap_local @@
   drivers/firmware/efi/test/efi_test.c:313:27: sparse:    expected struct efi_time_cap_t [noderef] [usertype] <asn:1> *cap_local
   drivers/firmware/efi/test/efi_test.c:313:27: sparse:    got struct efi_time_cap_t [usertype] *
   drivers/firmware/efi/test/efi_test.c:320:41: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void [noderef] <asn:1> *to @@    got struct efi_time_t [uvoid [noderef] <asn:1> *to @@
   drivers/firmware/efi/test/efi_test.c:320:41: sparse:    expected void [noderef] <asn:1> *to
   drivers/firmware/efi/test/efi_test.c:320:41: sparse:    got struct efi_time_t [usertype] *[addressable] time
   drivers/firmware/efi/test/efi_test.c:337:46: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void const [noderef] <asn:1> *from @@    got struct efi_timvoid const [noderef] <asn:1> *from @@
   drivers/firmware/efi/test/efi_test.c:337:46: sparse:    expected void const [noderef] <asn:1> *from
   drivers/firmware/efi/test/efi_test.c:337:46: sparse:    got struct efi_time_t [usertype] *[addressable] time
   drivers/firmware/efi/test/efi_test.c:342:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:342:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:342:13: sparse:    got unsigned long [usertype] *[addressable] status
   drivers/firmware/efi/test/efi_test.c:366:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:366:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:366:13: sparse:    got unsigned long [usertype] *[addressable] status
   drivers/firmware/efi/test/efi_test.c:372:38: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:372:38: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:372:38: sparse:    got unsigned char [usertype] *[addressable] enabled
   drivers/firmware/efi/test/efi_test.c:377:47: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void [noderef] <asn:1> *to @@    got struct efi_time_t [uvoid [noderef] <asn:1> *to @@
   drivers/firmware/efi/test/efi_test.c:377:47: sparse:    expected void [noderef] <asn:1> *to
   drivers/firmware/efi/test/efi_test.c:377:47: sparse:    got struct efi_time_t [usertype] *[addressable] time
   drivers/firmware/efi/test/efi_test.c:401:60: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void const [noderef] <asn:1> *from @@    got struct efi_timvoid const [noderef] <asn:1> *from @@
   drivers/firmware/efi/test/efi_test.c:401:60: sparse:    expected void const [noderef] <asn:1> *from
   drivers/firmware/efi/test/efi_test.c:401:60: sparse:    got struct efi_time_t [usertype] *[addressable] time
   drivers/firmware/efi/test/efi_test.c:409:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:409:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:409:13: sparse:    got unsigned long [usertype] *[addressable] status
   drivers/firmware/efi/test/efi_test.c:433:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got  volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:433:21: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:433:21: sparse:    got unsigned long *[addressable] variable_name_size
   drivers/firmware/efi/test/efi_test.c:441:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void const [noderef] <asn:1> *from @@    got struct guivoid const [noderef] <asn:1> *from @@
   drivers/firmware/efi/test/efi_test.c:441:52: sparse:    expected void const [noderef] <asn:1> *from
   drivers/firmware/efi/test/efi_test.c:441:52: sparse:    got struct guid_t [usertype] *[addressable] vendor_guid
   drivers/firmware/efi/test/efi_test.c:451:52: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected unsigned short [noderef] [usertype] <asn:1> *src @@    got gned short [noderef] [usertype] <asn:1> *src @@
   drivers/firmware/efi/test/efi_test.c:451:52: sparse:    expected unsigned short [noderef] [usertype] <asn:1> *src
   drivers/firmware/efi/test/efi_test.c:451:52: sparse:    got unsigned short [usertype] *[addressable] variable_name
   drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect type in initializer (different address spaces) @@    expected unsigned short [usertype] *[assigned] s @@    got unsigneunsigned short [usertype] *[assigned] s @@
   drivers/firmware/efi/test/efi_test.c:35:27: sparse:    expected unsigned short [usertype] *[assigned] s
   drivers/firmware/efi/test/efi_test.c:35:27: sparse:    got unsigned short [noderef] [usertype] <asn:1> *str
   drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got olatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:44:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:44:13: sparse:    got unsigned short [usertype] *
   drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got olatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:50:21: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:50:21: sparse:    got unsigned short [usertype] *
   drivers/firmware/efi/test/efi_test.c:464:52: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected unsigned short [noderef] [usertype] <asn:1> *src @@    got gned short [noderef] [usertype] <asn:1> *src @@
   drivers/firmware/efi/test/efi_test.c:464:52: sparse:    expected unsigned short [noderef] [usertype] <asn:1> *src
   drivers/firmware/efi/test/efi_test.c:464:52: sparse:    got unsigned short [usertype] *[addressable] variable_name
   drivers/firmware/efi/test/efi_test.c:473:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:473:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:473:13: sparse:    got unsigned long [usertype] *[addressable] status
   drivers/firmware/efi/test/efi_test.c:480:35: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got  volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:480:35: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:480:35: sparse:    got unsigned long *[addressable] variable_name_size
   drivers/firmware/efi/test/efi_test.c:491:62: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected unsigned short [noderef] [usertype] <asn:1> *dst @@    got gned short [noderef] [usertype] <asn:1> *dst @@
   drivers/firmware/efi/test/efi_test.c:491:62: sparse:    expected unsigned short [noderef] [usertype] <asn:1> *dst
   drivers/firmware/efi/test/efi_test.c:491:62: sparse:    got unsigned short [usertype] *[addressable] variable_name
   drivers/firmware/efi/test/efi_test.c:499:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got  volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:499:21: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:499:21: sparse:    got unsigned long *[addressable] variable_name_size
   drivers/firmware/efi/test/efi_test.c:506:53: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void [noderef] <asn:1> *to @@    got struct guid_t [uvoid [noderef] <asn:1> *to @@
   drivers/firmware/efi/test/efi_test.c:506:53: sparse:    expected void [noderef] <asn:1> *to
   drivers/firmware/efi/test/efi_test.c:506:53: sparse:    got struct guid_t [usertype] *[addressable] vendor_guid
   drivers/firmware/efi/test/efi_test.c:534:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:534:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:534:13: sparse:    got unsigned long [usertype] *[addressable] status
   drivers/firmware/efi/test/efi_test.c:541:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got void const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:541:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:541:13: sparse:    got unsigned int [usertype] *[addressable] high_count
   drivers/firmware/efi/test/efi_test.c:558:37: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const [noderef] <asn:1> * @@    got n:1> * @@
   drivers/firmware/efi/test/efi_test.c:558:37: sparse:    expected void const [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:558:37: sparse:    got void *
   drivers/firmware/efi/test/efi_test.c:587:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got uvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:587:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:587:13: sparse:    got unsigned long [usertype] *[addressable] status
   drivers/firmware/efi/test/efi_test.c:593:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got unsignvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:593:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:593:13: sparse:    got unsigned long long [usertype] *[addressable] maximum_variable_storage_size
   drivers/firmware/efi/test/efi_test.c:597:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got unsignvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:597:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:597:13: sparse:    got unsigned long long [usertype] *[addressable] remaining_variable_storage_size
   drivers/firmware/efi/test/efi_test.c:601:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got unsignvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:601:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:601:13: sparse:    got unsigned long long [usertype] *[addressable] maximum_variable_size
   drivers/firmware/efi/test/efi_test.c:637:21: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got stvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:637:21: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:637:21: sparse:    got struct efi_capsule_header_t [usertype] **
>> drivers/firmware/efi/test/efi_test.c:641:50: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void const [noderef] <asn:1> *from @@    got struct efi_capsule_header_t [usertyvoid const [noderef] <asn:1> *from @@
   drivers/firmware/efi/test/efi_test.c:641:50: sparse:    expected void const [noderef] <asn:1> *from
>> drivers/firmware/efi/test/efi_test.c:641:50: sparse:    got struct efi_capsule_header_t [usertype] *[addressable] [assigned] c
   drivers/firmware/efi/test/efi_test.c:655:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got unsigned lonvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:655:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:655:13: sparse:    got unsigned long [usertype] *[addressable] [assigned] status
   drivers/firmware/efi/test/efi_test.c:665:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got unsigned long lonvoid const volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:665:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:665:13: sparse:    got unsigned long long [usertype] *[addressable] [assigned] maximum_capsule_size
   drivers/firmware/efi/test/efi_test.c:670:13: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const volatile [noderef] <asn:1> * @@    got t volatile [noderef] <asn:1> * @@
   drivers/firmware/efi/test/efi_test.c:670:13: sparse:    expected void const volatile [noderef] <asn:1> *
   drivers/firmware/efi/test/efi_test.c:670:13: sparse:    got int *[addressable] [assigned] reset_type
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
--
   drivers/scsi/esas2r/esas2r.h:1305:13: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:321:23: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:322:23: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:333:25: sparse: sparse: cast to restricted __le16
   drivers/scsi/esas2r/esas2r_ioctl.c:334:29: sparse: sparse: invalid assignment: |=
   drivers/scsi/esas2r/esas2r_ioctl.c:334:29: sparse:    left side has type unsigned int
   drivers/scsi/esas2r/esas2r_ioctl.c:334:29: sparse:    right side has type restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:355:31: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] ctrl_code @@    got restrunsigned int [usertype] ctrl_code @@
   drivers/scsi/esas2r/esas2r_ioctl.c:355:31: sparse:    expected unsigned int [usertype] ctrl_code
   drivers/scsi/esas2r/esas2r_ioctl.c:355:31: sparse:    got restricted __le32 [usertype]
   drivers/scsi/esas2r/esas2r_ioctl.c:356:31: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned short [usertype] target_id @@    got resunsigned short [usertype] target_id @@
   drivers/scsi/esas2r/esas2r_ioctl.c:356:31: sparse:    expected unsigned short [usertype] target_id
   drivers/scsi/esas2r/esas2r_ioctl.c:356:31: sparse:    got restricted __le16 [usertype]
   drivers/scsi/esas2r/esas2r_ioctl.c:357:31: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r.h:1305:13: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:419:57: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] csmi_status @@    got restrunsigned int [usertype] csmi_status @@
   drivers/scsi/esas2r/esas2r_ioctl.c:419:57: sparse:    expected unsigned int [usertype] csmi_status
   drivers/scsi/esas2r/esas2r_ioctl.c:419:57: sparse:    got restricted __le32 [usertype]
   drivers/scsi/esas2r/esas2r_ioctl.c:425:29: sparse: sparse: invalid assignment: |=
   drivers/scsi/esas2r/esas2r_ioctl.c:425:29: sparse:    left side has type unsigned int
   drivers/scsi/esas2r/esas2r_ioctl.c:425:29: sparse:    right side has type restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:569:39: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:600:49: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] csmi_status @@    got restrunsigned int [usertype] csmi_status @@
   drivers/scsi/esas2r/esas2r_ioctl.c:600:49: sparse:    expected unsigned int [usertype] csmi_status
   drivers/scsi/esas2r/esas2r_ioctl.c:600:49: sparse:    got restricted __le32 [usertype]
   drivers/scsi/esas2r/esas2r_ioctl.c:632:21: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:642:22: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r.h:1305:13: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:697:17: sparse: sparse: cast to restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:1013:37: sparse: sparse: invalid assignment: |=
   drivers/scsi/esas2r/esas2r_ioctl.c:1013:37: sparse:    left side has type unsigned int
   drivers/scsi/esas2r/esas2r_ioctl.c:1013:37: sparse:    right side has type restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:1015:38: sparse: sparse: incorrect type in assignment (different base types) @@    expected unsigned int [usertype] length @@    got restrunsigned int [usertype] length @@
   drivers/scsi/esas2r/esas2r_ioctl.c:1015:38: sparse:    expected unsigned int [usertype] length
   drivers/scsi/esas2r/esas2r_ioctl.c:1015:38: sparse:    got restricted __le32 [usertype]
   drivers/scsi/esas2r/esas2r_ioctl.c:1030:45: sparse: sparse: invalid assignment: |=
   drivers/scsi/esas2r/esas2r_ioctl.c:1030:45: sparse:    left side has type unsigned int
   drivers/scsi/esas2r/esas2r_ioctl.c:1030:45: sparse:    right side has type restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:1032:45: sparse: sparse: invalid assignment: |=
   drivers/scsi/esas2r/esas2r_ioctl.c:1032:45: sparse:    left side has type unsigned int
   drivers/scsi/esas2r/esas2r_ioctl.c:1032:45: sparse:    right side has type restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:1041:45: sparse: sparse: invalid assignment: |=
   drivers/scsi/esas2r/esas2r_ioctl.c:1041:45: sparse:    left side has type unsigned int
   drivers/scsi/esas2r/esas2r_ioctl.c:1041:45: sparse:    right side has type restricted __le32
   drivers/scsi/esas2r/esas2r_ioctl.c:1044:45: sparse: sparse: invalid assignment: |=
   drivers/scsi/esas2r/esas2r_ioctl.c:1044:45: sparse:    left side has type unsigned int
   drivers/scsi/esas2r/esas2r_ioctl.c:1044:45: sparse:    right side has type restricted __le32
   drivers/scsi/esas2r/esas2r.h:1305:13: sparse: sparse: cast to restricted __le32
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
--
   arch/x86/kvm/../../../virt/kvm/kvm_main.c:2960:57: sparse: sparse: cast removes address space '<asn:1>' of expression
   arch/x86/kvm/../../../virt/kvm/kvm_main.c:2960:57: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected struct compat_sigset_t const [noderef] [usertype] <asn:1> *compat @@    got n:1> *compat @@
   arch/x86/kvm/../../../virt/kvm/kvm_main.c:2960:57: sparse:    expected struct compat_sigset_t const [noderef] [usertype] <asn:1> *compat
   arch/x86/kvm/../../../virt/kvm/kvm_main.c:2960:57: sparse:    got void *
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
--
>> lib/iov_iter.c:145:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> lib/iov_iter.c:145:36: sparse:    expected void const *to
>> lib/iov_iter.c:145:36: sparse:    got void [noderef] <asn:1> *to
--
>> lib/usercopy.c:33:36: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> lib/usercopy.c:33:36: sparse:    expected void const *to
>> lib/usercopy.c:33:36: sparse:    got void [noderef] <asn:1> *to
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
   include/linux/uaccess.h:105:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
   include/linux/uaccess.h:105:28: sparse:    expected void const *to
   include/linux/uaccess.h:105:28: sparse:    got void [noderef] <asn:1> *to
   arch/x86/include/asm/bitops.h:104:36: sparse: sparse: shift too big (72) for type int
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
   drivers/vhost/scsi.c:1218:30: sparse: sparse: restricted __virtio32 degrades to integer
   drivers/vhost/scsi.c:1218:30: sparse: sparse: restricted __virtio32 degrades to integer
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:931:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] <asvoid *addr @@
   drivers/vhost/vhost.c:931:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:931:16: sparse:    got restricted __virtio16 [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:916:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] [usertype] <asvoid *addr @@
   drivers/vhost/vhost.c:916:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:916:16: sparse:    got restricted __virtio16 [noderef] [usertype] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:1008:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] <asvoid *addr @@
   drivers/vhost/vhost.c:1008:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:1008:16: sparse:    got restricted __virtio16 [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:983:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] <asvoid *addr @@
   drivers/vhost/vhost.c:983:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:983:16: sparse:    got restricted __virtio16 [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:989:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] <asvoid *addr @@
   drivers/vhost/vhost.c:989:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:989:16: sparse:    got restricted __virtio16 [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:938:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] <asvoid *addr @@
   drivers/vhost/vhost.c:938:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:938:16: sparse:    got restricted __virtio16 [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:996:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] <asvoid *addr @@
   drivers/vhost/vhost.c:996:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:996:16: sparse:    got restricted __virtio16 [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:1002:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] [usertype] <asvoid *addr @@
   drivers/vhost/vhost.c:1002:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:1002:16: sparse:    got restricted __virtio16 [noderef] [usertype] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:983:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] <asvoid *addr @@
   drivers/vhost/vhost.c:983:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:983:16: sparse:    got restricted __virtio16 [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
   drivers/vhost/vhost.c:983:16: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void *addr @@    got restricted __virtio16 [noderef] <asvoid *addr @@
   drivers/vhost/vhost.c:983:16: sparse:    expected void *addr
   drivers/vhost/vhost.c:983:16: sparse:    got restricted __virtio16 [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return expression (different address spaces) @@    expected void [noderef] <asn:1> * @@    got n:1> * @@
   drivers/vhost/vhost.c:747:17: sparse:    expected void [noderef] <asn:1> *
   drivers/vhost/vhost.c:747:17: sparse:    got void *
   drivers/vhost/vhost.c:894:42: sparse: sparse: incorrect type in argument 2 (different address spaces) @@    expected void [noderef] <asn:1> *addr @@    got n:1> *addr @@
   drivers/vhost/vhost.c:894:42: sparse:    expected void [noderef] <asn:1> *addr
   drivers/vhost/vhost.c:894:42: sparse:    got void *addr
--
>> net/dccp/proto.c:527:52: sparse: sparse: incorrect type in argument 2 (different base types) @@    expected restricted __be32 const [usertype] service @@    got cted __be32 const [usertype] service @@
   net/dccp/proto.c:527:52: sparse:    expected restricted __be32 const [usertype] service
>> net/dccp/proto.c:527:52: sparse:    got int [addressable] [assigned] val
   net/dccp/proto.c:736:57: sparse: sparse: incorrect type in argument 2 (different base types) @@    expected restricted __be32 [usertype] param @@    got pe] param @@
   net/dccp/proto.c:736:57: sparse:    expected restricted __be32 [usertype] param
   net/dccp/proto.c:736:57: sparse:    got int cmsg_type
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
   include/linux/uaccess.h:105:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
   include/linux/uaccess.h:105:28: sparse:    expected void const *to
   include/linux/uaccess.h:105:28: sparse:    got void [noderef] <asn:1> *to
--
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to
>> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argument 1 (different address spaces) @@    expected void const *to @@    got void [noderevoid const *to @@
>> include/linux/uaccess.h:118:28: sparse:    expected void const *to
>> include/linux/uaccess.h:118:28: sparse:    got void [noderef] <asn:1> *to

vim +118 include/linux/uaccess.h

   108	
   109	static __always_inline __must_check unsigned long
   110	__copy_to_user(void __user *to, const void *from, unsigned long n)
   111	{
   112		unsigned long to_copy = n;
   113	
   114		might_fault();
   115		kasan_check_read(from, n);
   116		check_object_size(from, n, true);
   117		n = raw_copy_to_user(to, from, n);
 > 118		kmsan_copy_to_user(to, from, to_copy, n);
   119		return n;
   120	}
   121	

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

  parent reply	other threads:[~2019-11-03 22:10 UTC|newest]

Thread overview: 61+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-30 14:22 [PATCH RFC v2 00/25] Add KernelMemorySanitizer infrastructure glider
2019-10-30 14:22 ` [PATCH RFC v2 01/25] stackdepot: check depot_index before accessing the stack slab glider
2019-10-30 14:22 ` [PATCH RFC v2 02/25] stackdepot: prevent Clang from optimizing away stackdepot_memcmp() glider
2019-11-01  5:50   ` Sergey Senozhatsky
2019-11-06 11:43     ` Alexander Potapenko
2019-11-07  6:08       ` Sergey Senozhatsky
2019-11-07  9:04         ` Arnd Bergmann
2019-11-07  9:22           ` Alexander Potapenko
2019-11-07  9:28             ` Arnd Bergmann
2019-11-07  9:43               ` Alexander Potapenko
     [not found]             ` <47fdac13-fa2c-2acd-2480-5e6d4db208f8@virtuozzo.com>
2019-11-07 10:00               ` Arnd Bergmann
     [not found]                 ` <6875c6e6-2f1f-f8e6-e5d7-d451c48397ff@virtuozzo.com>
2019-11-07 10:30                   ` Alexander Potapenko
2019-10-30 14:22 ` [PATCH RFC v2 03/25] kasan: stackdepot: move filter_irq_stacks() to stackdepot.c glider
2019-10-30 14:22 ` [PATCH RFC v2 04/25] stackdepot: reserve 5 extra bits in depot_stack_handle_t glider
2019-10-30 14:22 ` [PATCH RFC v2 05/25] kmsan: add ReST documentation glider
2019-10-30 14:22 ` [PATCH RFC v2 06/25] kmsan: gfp: introduce __GFP_NO_KMSAN_SHADOW glider
2019-10-30 14:22 ` [PATCH RFC v2 07/25] kmsan: introduce __no_sanitize_memory and __SANITIZE_MEMORY__ glider
2019-10-30 15:50   ` Andrey Konovalov
2019-11-01 12:52     ` Alexander Potapenko
2019-10-30 14:22 ` [PATCH RFC v2 08/25] kmsan: reduce vmalloc space glider
2019-10-30 14:22 ` [PATCH RFC v2 09/25] kmsan: add KMSAN runtime glider
2019-11-08 12:08   ` Dmitry Vyukov
2019-11-08 12:17     ` Dmitry Vyukov
2019-11-21 12:06       ` Alexander Potapenko
2019-11-13  8:13   ` Wolfram Sang
2019-11-21 12:01     ` Alexander Potapenko
2019-10-30 14:22 ` [PATCH RFC v2 10/25] kmsan: define READ_ONCE_NOCHECK() glider
2019-11-05 14:21   ` Mark Rutland
2019-11-21 12:08     ` Alexander Potapenko
2019-10-30 14:22 ` [PATCH RFC v2 11/25] kmsan: x86: sync metadata pages on page fault glider
2019-10-30 14:22 ` [PATCH RFC v2 12/25] kmsan: add tests for KMSAN glider
2019-10-30 14:22 ` [PATCH RFC v2 13/25] kmsan: make READ_ONCE_TASK_STACK() return initialized values glider
2019-10-30 14:22 ` [PATCH RFC v2 14/25] kmsan: Kconfig changes to disable options incompatible with KMSAN glider
2019-10-30 14:34   ` Qian Cai
2019-10-30 14:34   ` Christoph Hellwig
2019-10-30 14:22 ` [PATCH RFC v2 15/25] kmsan: Changing existing files to enable KMSAN builds glider
2019-10-30 14:36   ` Christoph Hellwig
2019-10-30 14:22 ` [PATCH RFC v2 16/25] kmsan: disable KMSAN instrumentation for certain kernel parts glider
2019-10-30 14:22 ` [PATCH RFC v2 17/25] kmsan: mm: call KMSAN hooks from SLUB code glider
2019-10-30 16:07   ` Andrey Konovalov
2019-10-30 14:22 ` [PATCH RFC v2 18/25] kmsan: call KMSAN hooks where needed glider
2019-10-31 11:49   ` Petr Mladek
2019-11-01  8:26     ` Sergey Senozhatsky
2019-11-05 14:12       ` Alexander Potapenko
2019-11-06  9:04         ` Petr Mladek
2019-11-06  9:07         ` Sergey Senozhatsky
2019-10-30 14:22 ` [PATCH RFC v2 19/25] kmsan: disable instrumentation of certain functions glider
2019-10-30 14:22 ` [PATCH RFC v2 20/25] kmsan: unpoison |tlb| in arch_tlb_gather_mmu() glider
2019-10-30 14:22 ` [PATCH RFC v2 21/25] kmsan: use __msan_memcpy() where possible glider
2019-10-30 14:22 ` [PATCH RFC v2 22/25] kmsan: unpoisoning buffers from devices etc glider
2019-10-30 14:38   ` Christoph Hellwig
2019-11-05 15:02     ` Alexander Potapenko
2019-11-07 13:00       ` Alexander Potapenko
2019-11-13 11:07         ` Alexander Potapenko
2019-11-01 22:25   ` kbuild test robot
2019-11-03 18:16   ` kbuild test robot
2019-10-30 14:22 ` [PATCH RFC v2 23/25] kmsan: hooks for copy_to_user() and friends glider
2019-11-01 23:08   ` kbuild test robot
2019-11-03 22:10   ` kbuild test robot [this message]
2019-10-30 14:22 ` [PATCH RFC v2 24/25] kmsan: disable strscpy() optimization under KMSAN glider
2019-10-30 14:22 ` [PATCH RFC v2 25/25] net: kasan: kmsan: support CONFIG_GENERIC_CSUM on x86, enable it for KASAN/KMSAN glider

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201911040626.EBolry6N%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.