[dpdk-test-report] |WARNING| [RFC PATCH 4/6] eal/common: handle bus abstraction for device/driver objects

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 17 06:29:15 CET 2016


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#280: FILE: lib/librte_eal/common/eal_common_bus.c:112:
+	if (TAILQ_EMPTY(&rte_bus_list)) {
+		return 0;
+	}

ERROR:SPACING: spaces required around that '=' (ctx:VxW)
#580: FILE: lib/librte_eal/common/eal_common_pci.c:301:
+	struct rte_pci_driver *pci_drv= NULL;
 	                              ^

ERROR:SPACING: space required after that ';' (ctx:VxV)
#702: FILE: lib/librte_eal/common/eal_common_pci.c:449:
+			ret = pci_probe_all_drivers(pci_dev);`
 			                                    ^

total: 2 errors, 1 warnings, 604 lines checked


More information about the test-report mailing list