[dpdk-test-report] |WARNING| [PATCH 7/7] pci: Clarify interfaces for dynamic attach/detach of drivers

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 23 20:37:36 CET 2016


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

_coding style issues_


WARNING:BRACES: braces {} are not necessary for single statement blocks
#123: FILE: lib/librte_eal/common/eal_common_pci.c:240:
+	if (driver == NULL) {
+		return 0;
+	}

WARNING:BRACES: braces {} are not necessary for single statement blocks
#225: FILE: lib/librte_eal/common/eal_common_pci.c:352:
+		if (rte_eal_pci_remove_driver(dev) < 0) {
+			return -1;
+		}

total: 0 errors, 2 warnings, 215 lines checked


More information about the test-report mailing list