[dpdk-test-report] |WARNING| pw35284 [PATCH 27/80] net/sfc/base: refactoring eliminating code analysis warnings
checkpatch at dpdk.org
checkpatch at dpdk.org
Tue Feb 20 08:48:19 CET 2018
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/35284
_coding style issues_
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#47: FILE: drivers/net/sfc/base/ef10_mcdi.c:196:
+ size_t chunk = MIN(remaining, sizeof (data));
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#70: FILE: drivers/net/sfc/base/ef10_nvram.c:1352:
+ if ((rc = ef10_nvram_read_tlv_segment(enp, partn, 0,
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#149: FILE: drivers/net/sfc/base/efx_mcdi.c:1463:
+ namelen = MIN(sizeof (encp->enc_phy_name) - 1,
CHECK:SPACING: No space is necessary after a cast
#151: FILE: drivers/net/sfc/base/efx_mcdi.c:1465:
+ (void) memset(encp->enc_phy_name, 0,
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#152: FILE: drivers/net/sfc/base/efx_mcdi.c:1466:
+ sizeof (encp->enc_phy_name));
WARNING:SPACING: space prohibited between function name and open parenthesis '('
#187: FILE: drivers/net/sfc/base/siena_mcdi.c:135:
+ size_t chunk = MIN(remaining, sizeof (data));
total: 1 errors, 4 warnings, 1 checks, 259 lines checked
More information about the test-report
mailing list