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

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Nov 30 12:48:13 CET 2017


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

_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:742:
+	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:743:
+		&& (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:744:
+		&& (NULL == ops->config_mac_address))

total: 0 errors, 3 warnings, 308 lines checked


More information about the test-report mailing list