* [dpdk-test-report] |WARNING| pw41707 [v3, 12/23] net/softnic: add cli interface
[not found] <20180627163123.135686-13-jasvinder.singh@intel.com>
@ 2018-06-27 16:32 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-06-27 16:32 UTC (permalink / raw)
To: test-report; +Cc: Jasvinder Singh
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/41707
_coding style issues_
CHECK:BRACES: braces {} should be used on all arms of this statement
#426: FILE: drivers/net/softnic/parser.c:376:
+ if (pch != NULL) {
[...]
+ } else if (ch == '.' && saw_digit) {
[...]
+ } else
[...]
CHECK:BRACES: Unbalanced braces around else statement
#442: FILE: drivers/net/softnic/parser.c:392:
+ } else
CHECK:MULTIPLE_ASSIGNMENTS: multiple assignments should be avoided
#484: FILE: drivers/net/softnic/parser.c:434:
+ saw_xdigit = count_xdigit = 0;
WARNING:ARRAY_SIZE: Prefer ARRAY_SIZE(o)
#578: FILE: drivers/net/softnic/parser.c:528:
+ } while (++i != sizeof(o) / sizeof(o[0]) && end[0] != 0);
CHECK:BRACES: braces {} should be used on all arms of this statement
#585: FILE: drivers/net/softnic/parser.c:535:
+ if (i == ETHER_ADDR_LEN) {
[...]
+ } else if (i == ETHER_ADDR_LEN / 2) {
[...]
+ } else
[...]
CHECK:BRACES: Unbalanced braces around else statement
#600: FILE: drivers/net/softnic/parser.c:550:
+ } else
total: 0 errors, 1 warnings, 5 checks, 897 lines checked
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2018-06-27 16:32 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
[not found] <20180627163123.135686-13-jasvinder.singh@intel.com>
2018-06-27 16:32 ` [dpdk-test-report] |WARNING| pw41707 [v3, 12/23] net/softnic: add cli interface 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).