[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for vfio: Make emulated devices prepared for vfio device cdev (rev4)

Patchwork patchwork at emeril.freedesktop.org
Mon Mar 27 11:23:24 UTC 2023


== Series Details ==

Series: vfio: Make emulated devices prepared for vfio device cdev (rev4)
URL   : https://patchwork.freedesktop.org/series/114846/
State : warning

== Summary ==

Error: dim checkpatch failed
b5391e6b2896 iommu/iommufd: Pass iommufd_ctx pointer in iommufd_get_ioas()
c01840bafa3b iommufd: Create access in vfio_iommufd_emulated_bind()
-:103: CHECK:COMPARISON_TO_NULL: Comparison to NULL could be written "access->ioas"
#103: FILE: drivers/iommu/iommufd/device.c:487:
+	if (access->ioas != NULL && access->ioas->obj.id != ioas_id)

total: 0 errors, 0 warnings, 1 checks, 165 lines checked
f3d9dac0a268 vfio-iommufd: No need to record iommufd_ctx in vfio_device
ab6fbacfb65a vfio-iommufd: Make vfio_iommufd_emulated_bind() return iommufd_access ID
a58e614509df vfio/mdev: Uses the vfio emulated iommufd ops set in the mdev sample drivers
d35b9576c6aa vfio: Check the presence for iommufd callbacks in __vfio_register_dev()




More information about the Intel-gfx mailing list