|WARNING| pw138166 [PATCH] net/bnx2x: fix indentation
checkpatch at dpdk.org
checkpatch at dpdk.org
Mon Mar 11 17:47:46 CET 2024
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/138166
_coding style issues_
WARNING:BRACES: braces {} are not necessary for single statement blocks
#109: FILE: drivers/net/bnx2x/bnx2x_stats.c:494:
+ if (IS_VF(sc)) {
+ return;
+ }
WARNING:BRACES: braces {} are not necessary for any arm of this statement
#116: FILE: drivers/net/bnx2x/bnx2x_stats.c:498:
+ if (sc->port.pmf) {
[...]
- else if (sc->func_stx) {
[...]
WARNING:BRACES: braces {} are not necessary for single statement blocks
#123: FILE: drivers/net/bnx2x/bnx2x_stats.c:502:
+ else if (sc->func_stx) {
+ bnx2x_func_stats_init(sc);
+ }
CHECK:CAMELCASE: Avoid CamelCase: <funcID>
#223: FILE: drivers/net/bnx2x/bnx2x_stats.c:1376:
+ cur_query_entry->funcID = htole16(SC_FUNC(sc));
total: 0 errors, 3 warnings, 1 checks, 230 lines checked
More information about the test-report
mailing list