[dpdk-test-report] |WARNING| pw94303 [PATCH v2] app/testpmd: send failure logs to stderr

checkpatch at dpdk.org checkpatch at dpdk.org
Wed Jun 16 18:34:03 CEST 2021


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

_coding style issues_


WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1305: FILE: app/test-pmd/cmdline.c:6182:
+		fprintf(stderr, "	Failed to get slave list for port = %d
",

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1316: FILE: app/test-pmd/cmdline.c:6202:
+			"	Failed to get active slave list for port = %d
",

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1326: FILE: app/test-pmd/cmdline.c:6220:
+		fprintf(stderr, "	Failed to get primary slave for port = %d
",

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1337: FILE: app/test-pmd/cmdline.c:6274:
+		fprintf(stderr, "	 Failed to set primary slave for port = %d.
",

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1338: FILE: app/test-pmd/cmdline.c:6275:
+			master_port_id);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1349: FILE: app/test-pmd/cmdline.c:6332:
+			"	 Failed to add slave %d to master port = %d.
",

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1349: FILE: app/test-pmd/cmdline.c:6332:
+			"	 Failed to add slave %d to master port = %d.
",

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1350: FILE: app/test-pmd/cmdline.c:6333:
+			slave_port_id, master_port_id);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1350: FILE: app/test-pmd/cmdline.c:6333:
+			slave_port_id, master_port_id);

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1361: FILE: app/test-pmd/cmdline.c:6391:
+			"	 Failed to remove slave %d from master port = %d.
",

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1361: FILE: app/test-pmd/cmdline.c:6391:
+			"	 Failed to remove slave %d from master port = %d.
",

WARNING:TYPO_SPELLING: 'slave' may be misspelled - perhaps 'secondary'?
#1362: FILE: app/test-pmd/cmdline.c:6392:
+			slave_port_id, master_port_id);

WARNING:TYPO_SPELLING: 'master' may be misspelled - perhaps 'primary'?
#1362: FILE: app/test-pmd/cmdline.c:6392:
+			slave_port_id, master_port_id);

WARNING:TYPO_SPELLING: 'contrl' may be misspelled - perhaps 'control'?
#1444: FILE: app/test-pmd/cmdline.c:7404:
+			"bad flow contrl parameter, return code = %d 
",

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#1444: FILE: app/test-pmd/cmdline.c:7404:
+			"bad flow contrl parameter, return code = %d 
",

WARNING:TYPO_SPELLING: 'contrl' may be misspelled - perhaps 'control'?
#1455: FILE: app/test-pmd/cmdline.c:7455:
+			"bad priority flow contrl parameter, return code = %d 
",

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#1455: FILE: app/test-pmd/cmdline.c:7455:
+			"bad priority flow contrl parameter, return code = %d 
",

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#1493: FILE: app/test-pmd/cmdline.c:8771:
+			"bad unicast hash table parameter, return code = %d 
",

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#1505: FILE: app/test-pmd/cmdline.c:8834:
+			"bad unicast hash table parameter, return code = %d 
",

WARNING:QUOTED_WHITESPACE_BEFORE_NEWLINE: unnecessary whitespace before a quoted newline
#1517: FILE: app/test-pmd/cmdline.c:8980:
+			"bad VF receive mode parameter, return code = %d 
",

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#3410: FILE: app/test-pmd/config.c:960:
+			(unsigned)reg_off);

WARNING:LONG_LINE: line length of 107 exceeds 100 columns
#3435: FILE: app/test-pmd/config.c:980:
+			"Port %d: register offset %u (0x%X) out of port PCI resource (length=%"PRIu64")
",

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#3436: FILE: app/test-pmd/config.c:981:
+			port_id, (unsigned)reg_off, (unsigned)reg_off, pci_len);

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#3436: FILE: app/test-pmd/config.c:981:
+			port_id, (unsigned)reg_off, (unsigned)reg_off, pci_len);

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'rx_vlan_strip_set', this function's name, in a string
#4133: FILE: app/test-pmd/config.c:4222:
+			"rx_vlan_strip_set(port_pi=%d, on=%d) failed diag=%d
",

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'rx_vlan_strip_set_on_queue', this function's name, in a string
#4145: FILE: app/test-pmd/config.c:4240:
+			"rx_vlan_strip_set_on_queue(port_pi=%d, queue_id=%d, on=%d) failed diag=%d
",

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'rx_vlan_filter_set', this function's name, in a string
#4157: FILE: app/test-pmd/config.c:4267:
+			"rx_vlan_filter_set(port_pi=%d, on=%d) failed diag=%d
",

WARNING:EMBEDDED_FUNCTION_NAME: Prefer using '"%s...", __func__' to using 'set_vf_rate_limit', this function's name, in a string
#4339: FILE: app/test-pmd/config.c:4860:
+		"set_vf_rate_limit for port_id=%d failed diag=%d
",

total: 0 errors, 28 warnings, 4808 lines checked
--- a/doc/guides/rel_notes/release_21_08.rst
+++ b/doc/guides/rel_notes/release_21_08.rst


More information about the test-report mailing list