[dpdk-test-report] |WARNING| pw34309 [PATCH] net/i40e: add device args to disable global configuration

checkpatch at dpdk.org checkpatch at dpdk.org
Tue Jan 23 11:22:31 CET 2018


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

_coding style issues_


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

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

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

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

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

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

total: 0 errors, 1 warnings, 5 checks, 312 lines checked


More information about the test-report mailing list