[dpdk-test-report] |WARNING| pw32522 [PATCH 2/4] net/i40e: add null point check and fix mem leak

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Dec 20 10:17:55 CET 2017


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

_coding style issues_


WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#47: FILE: drivers/net/i40e/i40e_ethdev.c:7058:
+		if (NULL == tunnel) {

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#96: FILE: drivers/net/i40e/i40e_ethdev.c:7539:
+		if (NULL == tunnel) {

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#121: FILE: drivers/net/i40e/i40e_ethdev.c:9170:
+		if (NULL == ethertype_filter) {

WARNING:CONSTANT_COMPARISON: Comparisons should place the constant on the right side of the test
#142: FILE: drivers/net/i40e/i40e_fdir.c:1615:
+		if (NULL == fdir_filter) {

total: 0 errors, 4 warnings, 0 checks, 117 lines checked


More information about the test-report mailing list