[Intel-gfx] ✗ Fi.CI.CHECKPATCH: warning for Enhance vfio PCI hot reset for vfio cdev device (rev2)

Patchwork patchwork at emeril.freedesktop.org
Sat May 13 14:03:53 UTC 2023


== Series Details ==

Series: Enhance vfio PCI hot reset for vfio cdev device (rev2)
URL   : https://patchwork.freedesktop.org/series/116991/
State : warning

== Summary ==

Error: dim checkpatch failed
a7174f490b03 vfio-iommufd: Create iommufd_access for noiommu devices
ec30c8fef218 vfio/pci: Update comment around group_fd get in vfio_pci_ioctl_pci_hot_reset()
a77f9349425e vfio/pci: Move the existing hot reset logic to be a helper
-:6: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#6: 
This prepares to add another method for hot reset. The major hot reset logic

total: 0 errors, 1 warnings, 0 checks, 99 lines checked
e61bed084fa4 vfio: Mark cdev usage in vfio_device
0bdfe10424d2 iommufd: Reserve all negative IDs in the iommufd xarray
a1ce1e605e4c vfio-iommufd: Add helper to retrieve iommufd_ctx and devid for vfio_device
5d87236894e5 vfio: Add helper to search vfio_device in a dev_set
e7c23092383b iommufd: Add iommufd_ctx_has_group()
a6a19d8a857f vfio/pci: Extend VFIO_DEVICE_GET_PCI_HOT_RESET_INFO for vfio device cdev
-:15: WARNING:COMMIT_LOG_LONG_LINE: Possible unwrapped commit description (prefer a maximum 75 chars per line)
#15: 
iommufd, or opened outside of the vfio device cdev API, the _INFO ioctl shall

-:112: CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#112: FILE: drivers/vfio/pci/vfio_pci_core.c:1273:
+	fill.devid = fill.dev_owned = vfio_device_cdev_opened(&vdev->vdev);

total: 0 errors, 1 warnings, 1 checks, 154 lines checked
8b87fbee5680 vfio/pci: Allow passing zero-length fd array in VFIO_DEVICE_PCI_HOT_RESET




More information about the Intel-gfx mailing list