[dpdk-test-report] |WARNING| pw86114 [PATCH v3 1/5] common/iavf: emulated pci interfaces on vfio-user client

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Jan 7 09:42:51 CET 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'infor' may be misspelled - perhaps 'info'?
#310: FILE: drivers/common/iavf/vfio_user/vfio_user_pci.c:32:
+/* buffer length for region infor get */

WARNING:RETURN_VOID: void function return statements are not generally useful
#443: FILE: drivers/common/iavf/vfio_user/vfio_user_pci.c:165:
+	return;
+}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#473: FILE: drivers/common/iavf/vfio_user/vfio_user_pci.c:195:
+		if (h->id == cap) {
+			return h;
+		}

WARNING:LINE_CONTINUATIONS: Avoid unnecessary line continuations
#754: FILE: drivers/common/iavf/vfio_user/vfio_user_pci.c:476:
+			return (void *)((uintptr_t)region->mmaps[i].mem + \

total: 0 errors, 4 warnings, 729 lines checked


More information about the test-report mailing list