* |WARNING| pw119638 [PATCH 02/14] cmdline: fix whitespace
[not found] <20221109191445.140320-3-stephen@networkplumber.org>
@ 2022-11-09 19:15 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2022-11-09 19:15 UTC (permalink / raw)
To: test-report; +Cc: Stephen Hemminger
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/119638
_coding style issues_
WARNING:BRACES: braces {} are not necessary for single statement blocks
#100: FILE: lib/cmdline/cmdline_parse_string.c:80:
+ if (strncmp(buf, str, token_len)) {
continue;
}
WARNING:BRACES: braces {} are not necessary for single statement blocks
#105: FILE: lib/cmdline/cmdline_parse_string.c:84:
+ if (!cmdline_isendoftoken(*(buf+token_len))) {
continue;
}
ERROR:SPACING: space prohibited after that open parenthesis '('
#111: FILE: lib/cmdline/cmdline_parse_string.c:89:
+ } while ( (str = get_next_token(str)) != NULL);
WARNING:BRACES: braces {} are not necessary for single statement blocks
#129: FILE: lib/cmdline/cmdline_parse_string.c:152:
+ while ((str = get_next_token(str)) != NULL) {
ret++;
}
WARNING:LONG_LINE: line length of 105 exceeds 100 columns
#160: FILE: lib/cmdline/cmdline_rdline.c:407:
+ while (CIRBUF_GET_LEN(&rdl->right) + CIRBUF_GET_LEN(&rdl->left) <
total: 1 errors, 4 warnings, 59 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-11-09 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20221109191445.140320-3-stephen@networkplumber.org>
2022-11-09 19:15 ` |WARNING| pw119638 [PATCH 02/14] cmdline: fix whitespace 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).