[dpdk-test-report] |WARNING| pw34832 [PATCH v2 3/3] net/i40e: fix multiple driver support issue

checkpatch at dpdk.org checkpatch at dpdk.org
Thu Feb 1 13:00:47 CET 2018


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: static const char * array should probably be static const char * const
#77: FILE: drivers/net/i40e/i40e_ethdev.c:983:
+	static const char *valid_keys[] = {

CHECK:BRACES: Unbalanced braces around else statement
#196: FILE: drivers/net/i40e/i40e_ethdev.c:3131:
+	} else

CHECK:BRACES: Unbalanced braces around else statement
#298: FILE: drivers/net/i40e/i40e_ethdev.c:7986:
+		} else

CHECK:BRACES: braces {} should be used on all arms of this statement
#352: FILE: drivers/net/i40e/i40e_ethdev.c:8152:
+	if (!pf->dis_global_cfg) {
[...]
+	} else
[...]

CHECK:BRACES: Unbalanced braces around else statement
#363: FILE: drivers/net/i40e/i40e_ethdev.c:8163:
+	} else

total: 0 errors, 1 warnings, 4 checks, 326 lines checked


More information about the test-report mailing list