automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw153383 [PATCH v9 1/3] cmdline: use C standard library as number parser
       [not found] <9ea91fbec73396343179143e9c3b058148f05c5b.1746797960.git.anatoly.burakov@intel.com>
@ 2025-05-09 13:40 ` checkpatch
  0 siblings, 0 replies; only message in thread
From: checkpatch @ 2025-05-09 13:40 UTC (permalink / raw)
  To: test-report; +Cc: Anatoly Burakov

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

_coding style issues_


ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#373: FILE: lib/cmdline/cmdline_parse_num.c:182:
+			}
+			else {

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#384: FILE: lib/cmdline/cmdline_parse_num.c:188:
+			if (c == '0') {
[...]
-			else  {
[...]

ERROR:ELSE_AFTER_BRACE: else should follow close brace '}'
#388: FILE: lib/cmdline/cmdline_parse_num.c:191:
 			}
+			else {

WARNING:BRACES: braces {} are not necessary for single statement blocks
#388: FILE: lib/cmdline/cmdline_parse_num.c:191:
+			else {
 				st = ERROR;
 			}

WARNING:BRACES: braces {} are not necessary for any arm of this statement
#398: FILE: lib/cmdline/cmdline_parse_num.c:197:
+			if (c == 'b') {
[...]
-			else if (c >= '0' && c <= '7') {
[...]

WARNING:TYPO_SPELLING: 'ressize' may be misspelled - perhaps 'resize'?
#605: FILE: lib/cmdline/cmdline_parse_num.c:282:
+	unsigned ressize)

WARNING:UNSPECIFIED_INT: Prefer 'unsigned int' to bare use of 'unsigned'
#605: FILE: lib/cmdline/cmdline_parse_num.c:282:
+	unsigned ressize)

WARNING:TYPO_SPELLING: 'ressize' may be misspelled - perhaps 'resize'?
#618: FILE: lib/cmdline/cmdline_parse_num.c:295:
+	if (res && check_res_size(&nd, ressize) < 0)

total: 2 errors, 6 warnings, 532 lines checked

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-09 13:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <9ea91fbec73396343179143e9c3b058148f05c5b.1746797960.git.anatoly.burakov@intel.com>
2025-05-09 13:40 ` |WARNING| pw153383 [PATCH v9 1/3] cmdline: use C standard library as number parser checkpatch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).