[dpdk-test-report] |WARNING| pw31514 [PATCH v4] net/i40e: determine number of queues per VF during run time

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Nov 22 15:27:01 CET 2017


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

_coding style issues_


WARNING:STATIC_CONST_CHAR_ARRAY: char * array declaration might be better as static const
#99: FILE: drivers/net/i40e/i40e_ethdev.c:4008:
+	const char *valid_keys[] = {QUEUE_NUM_PER_VF_ARG, ""};

WARNING:SUSPECT_CODE_INDENT: suspect code indent for conditional statements (8, 14)
#113: FILE: drivers/net/i40e/i40e_ethdev.c:4022:
+	if (rte_kvargs_count(kvlist, QUEUE_NUM_PER_VF_ARG) > 1)
+	      PMD_DRV_LOG(WARNING, "More than one argument \"%s\" and only the "

total: 0 errors, 2 warnings, 0 checks, 98 lines checked


More information about the test-report mailing list