[dpdk-test-report] |WARNING| pw32752 [PATCH v2 1/3] kni: support for MAC addr change

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Dec 26 11:38:04 CET 2017


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

_coding style issues_


WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#328: FILE: lib/librte_kni/rte_kni.c:744:
+	if ((NULL == ops->change_mtu)

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#329: FILE: lib/librte_kni/rte_kni.c:745:
+		&& (NULL == ops->config_network_if)

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#330: FILE: lib/librte_kni/rte_kni.c:746:
+		&& (NULL == ops->config_mac_address))

total: 0 errors, 3 warnings, 301 lines checked


More information about the test-report mailing list