|WARNING| pw156735 [PATCH v3 09/10] uapi: import VFIO header

checkpatch at dpdk.org checkpatch at dpdk.org
Fri Sep 19 10:37:37 CEST 2025


Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/156735

_coding style issues_


WARNING:TYPO_SPELLING: 'succes' may be misspelled - perhaps 'success'?
#239: FILE: kernel/linux/uapi/linux/vfio.h:143:
+ * Return: 0 on succes, -errno on failure.
                 ^^^^^^

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1550: FILE: kernel/linux/uapi/linux/vfio.h:1454:
+ * The functionality is incorporated for devices that needs bus master control,
                                                                 ^^^^^^

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1552: FILE: kernel/linux/uapi/linux/vfio.h:1456:
+ * applicable to PCI devices, as bus master control for PCI devices is managed
                                      ^^^^^^

WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#1555: FILE: kernel/linux/uapi/linux/vfio.h:1459:
+ * When the device's BUS MASTER setting is configured as CLEAR, it will result in
                          ^^^^^^

WARNING:TYPO_SPELLING: 'MASTER' may be misspelled - perhaps 'PRIMARY'?
#1557: FILE: kernel/linux/uapi/linux/vfio.h:1461:
+ * the device's BUS MASTER setting as SET (enable) will grant the device the
                     ^^^^^^

WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#1562: FILE: kernel/linux/uapi/linux/vfio.h:1466:
+#define		VFIO_DEVICE_FEATURE_CLEAR_MASTER	0	/* Clear Bus Master */
        		                                	 	             ^^^^^^

WARNING:TYPO_SPELLING: 'Master' may be misspelled - perhaps 'Primary'?
#1563: FILE: kernel/linux/uapi/linux/vfio.h:1467:
+#define		VFIO_DEVICE_FEATURE_SET_MASTER		1	/* Set Bus Master */
        		                              		 	           ^^^^^^

WARNING:LONG_LINE_COMMENT: line length of 110 exceeds 100 columns
#1869: FILE: kernel/linux/uapi/linux/vfio.h:1773:
+ * VFIO_IOMMU_SPAPR_REGISTER_MEMORY - _IOW(VFIO_TYPE, VFIO_BASE + 17, struct vfio_iommu_spapr_register_memory)

WARNING:LONG_LINE_COMMENT: line length of 112 exceeds 100 columns
#1885: FILE: kernel/linux/uapi/linux/vfio.h:1789:
+ * VFIO_IOMMU_SPAPR_UNREGISTER_MEMORY - _IOW(VFIO_TYPE, VFIO_BASE + 18, struct vfio_iommu_spapr_register_memory)

WARNING:LONG_LINE_COMMENT: line length of 101 exceeds 100 columns
#1894: FILE: kernel/linux/uapi/linux/vfio.h:1798:
+ * VFIO_IOMMU_SPAPR_TCE_CREATE - _IOWR(VFIO_TYPE, VFIO_BASE + 19, struct vfio_iommu_spapr_tce_create)

total: 0 errors, 10 warnings, 1838 lines checked


More information about the test-report mailing list