[dpdk-test-report] |WARNING| pw85508 [PATCH v1 1/2] common/iavf: emulated pci interfaces on vfio-user client

checkpatch at dpdk.org checkpatch at dpdk.org
Sat Dec 19 15:50:39 CET 2020


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

_coding style issues_


WARNING:TYPO_SPELLING: 'infor' may be misspelled - perhaps 'info'?
#308: 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
#436: FILE: drivers/common/iavf/vfio_user/vfio_user_pci.c:160:
+	return;
+}

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

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

total: 0 errors, 4 warnings, 718 lines checked


More information about the test-report mailing list