tree: git://linuxtv.org/media_tree.git master head: 3d3515312f97582136644a7327ed262c7bb7ea31 commit: f49308878d7202e07d8761238e01bd0e5fce2750 [51/52] media: media_device_enum_links32: clean a reserved field reproduce: # apt-get install sparse # sparse version: v0.6.1-rc1-7-g2b96cd8-dirty git checkout f49308878d7202e07d8761238e01bd0e5fce2750 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@xxxxxxxxx> sparse warnings: (new ones prefixed by >>) >> drivers/media/media-device.c:521:9: sparse: sparse: incorrect type in argument 1 (different address spaces) @@ expected void *s @@ got unsigned int [noderef] <asvoid *s @@ >> drivers/media/media-device.c:521:9: sparse: expected void *s >> drivers/media/media-device.c:521:9: sparse: got unsigned int [noderef] <asn:1> * vim +521 drivers/media/media-device.c 499 500 static long media_device_enum_links32(struct media_device *mdev, 501 struct media_links_enum32 __user *ulinks) 502 { 503 struct media_links_enum links; 504 compat_uptr_t pads_ptr, links_ptr; 505 int ret; 506 507 memset(&links, 0, sizeof(links)); 508 509 if (get_user(links.entity, &ulinks->entity) 510 || get_user(pads_ptr, &ulinks->pads) 511 || get_user(links_ptr, &ulinks->links)) 512 return -EFAULT; 513 514 links.pads = compat_ptr(pads_ptr); 515 links.links = compat_ptr(links_ptr); 516 517 ret = media_device_enum_links(mdev, &links); 518 if (ret) 519 return ret; 520 > 521 memset(ulinks->reserved, 0, sizeof(ulinks->reserved)); 522 523 return 0; 524 } 525 --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation