CC: [email protected] BCC: [email protected] TO: Liu Yi L <[email protected]>
tree: https://github.com/luxis1999/iommufd iommufd-v5.17-rc6 head: 340b1a57e312d5c0622af07796235073b0d8dbf3 commit: a3273f1f88fe60e784d6e9916269a7d70fc6daf4 [24/27] iommufd: Add vfio_group_set/unset_iommufd helpers :::::: branch date: 7 hours ago :::::: commit date: 7 hours ago config: i386-randconfig-c001 (https://download.01.org/0day-ci/archive/20220319/[email protected]/config) compiler: gcc-9 (Ubuntu 9.4.0-1ubuntu1~20.04) 9.4.0 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <[email protected]> Reported-by: Julia Lawall <[email protected]> cocci warnings: (new ones prefixed by >>) >> drivers/iommu/iommufd/vfio_compat.c:494:2-8: preceding lock on line 491 vim +494 drivers/iommu/iommufd/vfio_compat.c a3273f1f88fe60 Nicolin Chen 2022-01-31 481 a3273f1f88fe60 Nicolin Chen 2022-01-31 482 void vfio_group_unset_iommufd(void *iommufd, struct list_head *device_list) a3273f1f88fe60 Nicolin Chen 2022-01-31 483 { a3273f1f88fe60 Nicolin Chen 2022-01-31 484 struct iommufd_ctx *ictx = (struct iommufd_ctx *)iommufd; a3273f1f88fe60 Nicolin Chen 2022-01-31 485 struct iommufd_ioas *ioas; a3273f1f88fe60 Nicolin Chen 2022-01-31 486 struct vfio_device *device; a3273f1f88fe60 Nicolin Chen 2022-01-31 487 unsigned int ioas_id; a3273f1f88fe60 Nicolin Chen 2022-01-31 488 a3273f1f88fe60 Nicolin Chen 2022-01-31 489 if (!ictx) a3273f1f88fe60 Nicolin Chen 2022-01-31 490 return; a3273f1f88fe60 Nicolin Chen 2022-01-31 @491 mutex_lock(&ictx->vfio_compat); a3273f1f88fe60 Nicolin Chen 2022-01-31 492 ioas = get_compat_ioas(ictx); a3273f1f88fe60 Nicolin Chen 2022-01-31 493 if (IS_ERR(ioas)) a3273f1f88fe60 Nicolin Chen 2022-01-31 @494 return; -- 0-DAY CI Kernel Test Service https://01.org/lkp _______________________________________________ kbuild mailing list -- [email protected] To unsubscribe send an email to [email protected]
