From mboxrd@z Thu Jan 1 00:00:00 1970 Content-Type: multipart/mixed; boundary="===============3900484419040754493==" MIME-Version: 1.0 From: kbuild test robot 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 Message-ID: <201911040626.EBolry6N%lkp@intel.com> In-Reply-To: <20191030142237.249532-24-glider@google.com> List-Id: --===============3900484419040754493== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable 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 h= elp 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/37406= 982] url: https://github.com/0day-ci/linux/commits/glider-google-com/Add-Kern= elMemorySanitizer-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=3Dx86_64 allmodconfig make C=3D1 CF=3D'-fdiagnostic-prefix -D__CHECK_ENDIAN__' If you fix the issue, kindly add following tag Reported-by: kbuild test robot sparse warnings: (new ones prefixed by >>) >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to -- drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned shor= t [usertype] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect ty= pe in argument 1 (different address spaces) @@ expected void const volat= ile [noderef] * @@ got olatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected void con= st volatile [noderef] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned shor= t [usertype] * drivers/firmware/efi/test/efi_test.c:265:39: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const [nod= eref] * @@ got [noderef] * @@ drivers/firmware/efi/test/efi_test.c:265:39: sparse: expected void co= nst [noderef] * drivers/firmware/efi/test/efi_test.c:265:39: sparse: got void *[addre= ssable] data drivers/firmware/efi/test/efi_test.c:275:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:275:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:275:13: sparse: got unsigned lon= g [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:304:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:304:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:304:13: sparse: got unsigned lon= g [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:313:27: sparse: sparse: incorrect t= ype in assignment (different address spaces) @@ expected struct efi_time= _cap_t [noderef] [usertype] *cap_local @@ got p_t [noderef] [use= rtype] *cap_local @@ drivers/firmware/efi/test/efi_test.c:313:27: sparse: expected struct = efi_time_cap_t [noderef] [usertype] *cap_local drivers/firmware/efi/test/efi_test.c:313:27: sparse: got struct efi_t= ime_cap_t [usertype] * drivers/firmware/efi/test/efi_test.c:320:41: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void [noderef] = *to @@ got struct efi_time_t [uvoid [noderef] *to @@ drivers/firmware/efi/test/efi_test.c:320:41: sparse: expected void [n= oderef] *to drivers/firmware/efi/test/efi_test.c:320:41: sparse: got struct efi_t= ime_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:337:46: sparse: sparse: incorrect t= ype in argument 2 (different address spaces) @@ expected void const [nod= eref] *from @@ got struct efi_timvoid const [noderef] *f= rom @@ drivers/firmware/efi/test/efi_test.c:337:46: sparse: expected void co= nst [noderef] *from drivers/firmware/efi/test/efi_test.c:337:46: sparse: got struct efi_t= ime_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:342:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:342:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:342:13: sparse: got unsigned lon= g [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:366:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:366:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:366:13: sparse: got unsigned lon= g [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:372:38: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:372:38: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:372:38: sparse: got unsigned cha= r [usertype] *[addressable] enabled drivers/firmware/efi/test/efi_test.c:377:47: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void [noderef] = *to @@ got struct efi_time_t [uvoid [noderef] *to @@ drivers/firmware/efi/test/efi_test.c:377:47: sparse: expected void [n= oderef] *to drivers/firmware/efi/test/efi_test.c:377:47: sparse: got struct efi_t= ime_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:401:60: sparse: sparse: incorrect t= ype in argument 2 (different address spaces) @@ expected void const [nod= eref] *from @@ got struct efi_timvoid const [noderef] *f= rom @@ drivers/firmware/efi/test/efi_test.c:401:60: sparse: expected void co= nst [noderef] *from drivers/firmware/efi/test/efi_test.c:401:60: sparse: got struct efi_t= ime_t [usertype] *[addressable] time drivers/firmware/efi/test/efi_test.c:409:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:409:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:409:13: sparse: got unsigned lon= g [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:433:21: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got volatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:433:21: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:433:21: sparse: got unsigned lon= g *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:441:52: sparse: sparse: incorrect t= ype in argument 2 (different address spaces) @@ expected void const [nod= eref] *from @@ got struct guivoid const [noderef] *from = @@ drivers/firmware/efi/test/efi_test.c:441:52: sparse: expected void co= nst [noderef] *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 t= ype in argument 1 (different address spaces) @@ expected unsigned short = [noderef] [usertype] *src @@ got gned short [noderef] [usertype]= *src @@ drivers/firmware/efi/test/efi_test.c:451:52: sparse: expected unsigne= d short [noderef] [usertype] *src drivers/firmware/efi/test/efi_test.c:451:52: sparse: got unsigned sho= rt [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:35:27: sparse: sparse: incorrect ty= pe in initializer (different address spaces) @@ expected unsigned short = [usertype] *[assigned] s @@ got unsigneunsigned short [usertype] *[assig= ned] 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 shor= t [noderef] [usertype] *str drivers/firmware/efi/test/efi_test.c:44:13: sparse: sparse: incorrect ty= pe in argument 1 (different address spaces) @@ expected void const volat= ile [noderef] * @@ got olatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:44:13: sparse: expected void con= st volatile [noderef] * drivers/firmware/efi/test/efi_test.c:44:13: sparse: got unsigned shor= t [usertype] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: sparse: incorrect ty= pe in argument 1 (different address spaces) @@ expected void const volat= ile [noderef] * @@ got olatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:50:21: sparse: expected void con= st volatile [noderef] * drivers/firmware/efi/test/efi_test.c:50:21: sparse: got unsigned shor= t [usertype] * drivers/firmware/efi/test/efi_test.c:464:52: sparse: sparse: incorrect t= ype in argument 2 (different address spaces) @@ expected unsigned short = [noderef] [usertype] *src @@ got gned short [noderef] [usertype]= *src @@ drivers/firmware/efi/test/efi_test.c:464:52: sparse: expected unsigne= d short [noderef] [usertype] *src drivers/firmware/efi/test/efi_test.c:464:52: sparse: got unsigned sho= rt [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:473:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:473:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:473:13: sparse: got unsigned lon= g [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:480:35: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got volatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:480:35: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:480:35: sparse: got unsigned lon= g *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:491:62: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected unsigned short = [noderef] [usertype] *dst @@ got gned short [noderef] [usertype]= *dst @@ drivers/firmware/efi/test/efi_test.c:491:62: sparse: expected unsigne= d short [noderef] [usertype] *dst drivers/firmware/efi/test/efi_test.c:491:62: sparse: got unsigned sho= rt [usertype] *[addressable] variable_name drivers/firmware/efi/test/efi_test.c:499:21: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got volatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:499:21: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:499:21: sparse: got unsigned lon= g *[addressable] variable_name_size drivers/firmware/efi/test/efi_test.c:506:53: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void [noderef] = *to @@ got struct guid_t [uvoid [noderef] *to @@ drivers/firmware/efi/test/efi_test.c:506:53: sparse: expected void [n= oderef] *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 t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:534:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:534:13: sparse: got unsigned lon= g [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:541:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got void const volatile [noderef] * = @@ drivers/firmware/efi/test/efi_test.c:541:13: sparse: expected void co= nst volatile [noderef] * 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 t= ype in argument 1 (different address spaces) @@ expected void const [nod= eref] * @@ got n:1> * @@ drivers/firmware/efi/test/efi_test.c:558:37: sparse: expected void co= nst [noderef] * drivers/firmware/efi/test/efi_test.c:558:37: sparse: got void * drivers/firmware/efi/test/efi_test.c:587:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got uvoid const volatile [noderef] *= @@ drivers/firmware/efi/test/efi_test.c:587:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:587:13: sparse: got unsigned lon= g [usertype] *[addressable] status drivers/firmware/efi/test/efi_test.c:593:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got unsignvoid const volatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:593:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:593:13: sparse: got unsigned lon= g long [usertype] *[addressable] maximum_variable_storage_size drivers/firmware/efi/test/efi_test.c:597:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got unsignvoid const volatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:597:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:597:13: sparse: got unsigned lon= g long [usertype] *[addressable] remaining_variable_storage_size drivers/firmware/efi/test/efi_test.c:601:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got unsignvoid const volatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:601:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:601:13: sparse: got unsigned lon= g long [usertype] *[addressable] maximum_variable_size drivers/firmware/efi/test/efi_test.c:637:21: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got stvoid const volatile [noderef] = * @@ drivers/firmware/efi/test/efi_test.c:637:21: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:637:21: sparse: got struct efi_c= apsule_header_t [usertype] ** >> drivers/firmware/efi/test/efi_test.c:641:50: sparse: sparse: incorrect t= ype in argument 2 (different address spaces) @@ expected void const [nod= eref] *from @@ got struct efi_capsule_header_t [usertyvoid const= [noderef] *from @@ drivers/firmware/efi/test/efi_test.c:641:50: sparse: expected void co= nst [noderef] *from >> drivers/firmware/efi/test/efi_test.c:641:50: sparse: got struct efi_c= apsule_header_t [usertype] *[addressable] [assigned] c drivers/firmware/efi/test/efi_test.c:655:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got unsigned lonvoid const volatile [noderef= ] * @@ drivers/firmware/efi/test/efi_test.c:655:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:655:13: sparse: got unsigned lon= g [usertype] *[addressable] [assigned] status drivers/firmware/efi/test/efi_test.c:665:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got unsigned long lonvoid const volatile [no= deref] * @@ drivers/firmware/efi/test/efi_test.c:665:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:665:13: sparse: got unsigned lon= g long [usertype] *[addressable] [assigned] maximum_capsule_size drivers/firmware/efi/test/efi_test.c:670:13: sparse: sparse: incorrect t= ype in argument 1 (different address spaces) @@ expected void const vola= tile [noderef] * @@ got t volatile [noderef] * @@ drivers/firmware/efi/test/efi_test.c:670:13: sparse: expected void co= nst volatile [noderef] * drivers/firmware/efi/test/efi_test.c:670:13: sparse: got int *[addres= sable] [assigned] reset_type -- >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *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 restr= icted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:322:23: sparse: sparse: cast to restr= icted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:333:25: sparse: sparse: cast to restr= icted __le16 drivers/scsi/esas2r/esas2r_ioctl.c:334:29: sparse: sparse: invalid assig= nment: |=3D 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 typ= e restricted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:355:31: sparse: sparse: incorrect typ= e in assignment (different base types) @@ expected unsigned int [usertyp= e] 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 __l= e32 [usertype] drivers/scsi/esas2r/esas2r_ioctl.c:356:31: sparse: sparse: incorrect typ= e in assignment (different base types) @@ expected unsigned short [usert= ype] 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 __l= e16 [usertype] drivers/scsi/esas2r/esas2r_ioctl.c:357:31: sparse: sparse: cast to restr= icted __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 typ= e in assignment (different base types) @@ expected unsigned int [usertyp= e] 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 __l= e32 [usertype] drivers/scsi/esas2r/esas2r_ioctl.c:425:29: sparse: sparse: invalid assig= nment: |=3D 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 typ= e restricted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:569:39: sparse: sparse: cast to restr= icted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:600:49: sparse: sparse: incorrect typ= e in assignment (different base types) @@ expected unsigned int [usertyp= e] 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 __l= e32 [usertype] drivers/scsi/esas2r/esas2r_ioctl.c:632:21: sparse: sparse: cast to restr= icted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:642:22: sparse: sparse: cast to restr= icted __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 restr= icted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:1013:37: sparse: sparse: invalid assi= gnment: |=3D drivers/scsi/esas2r/esas2r_ioctl.c:1013:37: sparse: left side has typ= e unsigned int drivers/scsi/esas2r/esas2r_ioctl.c:1013:37: sparse: right side has ty= pe restricted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:1015:38: sparse: sparse: incorrect ty= pe in assignment (different base types) @@ expected unsigned int [userty= pe] 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 assi= gnment: |=3D drivers/scsi/esas2r/esas2r_ioctl.c:1030:45: sparse: left side has typ= e unsigned int drivers/scsi/esas2r/esas2r_ioctl.c:1030:45: sparse: right side has ty= pe restricted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:1032:45: sparse: sparse: invalid assi= gnment: |=3D drivers/scsi/esas2r/esas2r_ioctl.c:1032:45: sparse: left side has typ= e unsigned int drivers/scsi/esas2r/esas2r_ioctl.c:1032:45: sparse: right side has ty= pe restricted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:1041:45: sparse: sparse: invalid assi= gnment: |=3D drivers/scsi/esas2r/esas2r_ioctl.c:1041:45: sparse: left side has typ= e unsigned int drivers/scsi/esas2r/esas2r_ioctl.c:1041:45: sparse: right side has ty= pe restricted __le32 drivers/scsi/esas2r/esas2r_ioctl.c:1044:45: sparse: sparse: invalid assi= gnment: |=3D drivers/scsi/esas2r/esas2r_ioctl.c:1044:45: sparse: left side has typ= e unsigned int drivers/scsi/esas2r/esas2r_ioctl.c:1044:45: sparse: right side has ty= pe 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 argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to -- >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to -- >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to -- arch/x86/kvm/../../../virt/kvm/kvm_main.c:2960:57: sparse: sparse: cast = removes address space '' of expression arch/x86/kvm/../../../virt/kvm/kvm_main.c:2960:57: sparse: sparse: incor= rect type in argument 2 (different address spaces) @@ expected struct co= mpat_sigset_t const [noderef] [usertype] *compat @@ got n:1> *co= mpat @@ arch/x86/kvm/../../../virt/kvm/kvm_main.c:2960:57: sparse: expected s= truct compat_sigset_t const [noderef] [usertype] *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 argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to -- >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to -- >> lib/iov_iter.c:145:36: sparse: sparse: incorrect type in argument 1 (dif= ferent address spaces) @@ expected void const *to @@ got void [nodere= void const *to @@ >> lib/iov_iter.c:145:36: sparse: expected void const *to >> lib/iov_iter.c:145:36: sparse: got void [noderef] *to -- >> lib/usercopy.c:33:36: sparse: sparse: incorrect type in argument 1 (diff= erent address spaces) @@ expected void const *to @@ got void [noderev= oid const *to @@ >> lib/usercopy.c:33:36: sparse: expected void const *to >> lib/usercopy.c:33:36: sparse: got void [noderef] *to -- >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to include/linux/uaccess.h:105:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ include/linux/uaccess.h:105:28: sparse: expected void const *to include/linux/uaccess.h:105:28: sparse: got void [noderef] *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 argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to drivers/vhost/scsi.c:1218:30: sparse: sparse: restricted __virtio32 degr= ades to integer drivers/vhost/scsi.c:1218:30: sparse: sparse: restricted __virtio32 degr= ades to integer -- >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * drivers/vhost/vhost.c:747:17: sparse: got void * >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * drivers/vhost/vhost.c:747:17: sparse: got void * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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 restricte= d __virtio16 [noderef] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *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 restricte= d __virtio16 [noderef] [usertype] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *addr drivers/vhost/vhost.c:894:42: sparse: got void *addr drivers/vhost/vhost.c:1008:16: sparse: sparse: incorrect type in argumen= t 2 (different address spaces) @@ expected void *addr @@ got restrict= ed __virtio16 [noderef] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *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 restricte= d __virtio16 [noderef] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *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 restricte= d __virtio16 [noderef] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *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 restricte= d __virtio16 [noderef] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *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 restricte= d __virtio16 [noderef] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *addr drivers/vhost/vhost.c:894:42: sparse: got void *addr drivers/vhost/vhost.c:1002:16: sparse: sparse: incorrect type in argumen= t 2 (different address spaces) @@ expected void *addr @@ got restrict= ed __virtio16 [noderef] [usertype] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *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 restricte= d __virtio16 [noderef] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *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 restricte= d __virtio16 [noderef] * drivers/vhost/vhost.c:747:17: sparse: sparse: incorrect type in return e= xpression (different address spaces) @@ expected void [noderef] = * @@ got n:1> * @@ drivers/vhost/vhost.c:747:17: sparse: expected void [noderef] = * 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] *addr @= @ got n:1> *addr @@ drivers/vhost/vhost.c:894:42: sparse: expected void [noderef] = *addr drivers/vhost/vhost.c:894:42: sparse: got void *addr -- >> net/dccp/proto.c:527:52: sparse: sparse: incorrect type in argument 2 (d= ifferent base types) @@ expected restricted __be32 const [usertype] serv= ice @@ got cted __be32 const [usertype] service @@ net/dccp/proto.c:527:52: sparse: expected restricted __be32 const [us= ertype] 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 (d= ifferent 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 argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to include/linux/uaccess.h:105:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ include/linux/uaccess.h:105:28: sparse: expected void const *to include/linux/uaccess.h:105:28: sparse: got void [noderef] *to -- >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *to >> include/linux/uaccess.h:118:28: sparse: sparse: incorrect type in argume= nt 1 (different address spaces) @@ expected void const *to @@ got voi= d [noderevoid const *to @@ >> include/linux/uaccess.h:118:28: sparse: expected void const *to >> include/linux/uaccess.h:118:28: sparse: got void [noderef] *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 =3D n; 113 = 114 might_fault(); 115 kasan_check_read(from, n); 116 check_object_size(from, n, true); 117 n =3D 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 Cent= er https://lists.01.org/pipermail/kbuild-all Intel Corporati= on --===============3900484419040754493==--