* [dpdk-test-report] |WARNING| pw35286 [PATCH 42/80] net/sfc/base: decode Medford2 FEC stats if available
[not found] <1519112078-20113-43-git-send-email-arybchenko@solarflare.com>
@ 2018-02-20 7:48 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2018-02-20 7:48 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/35286
_coding style issues_
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#39: FILE: drivers/net/sfc/base/ef10_mac.c:531:
+ if ((rc = efx_mac_stats_mask_add_ranges(maskp, mask_size,
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around stat[EFX_MAC_FEC_UNCORRECTED_ERRORS]
#61: FILE: drivers/net/sfc/base/ef10_mac.c:901:
+ EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_UNCORRECTED_ERRORS]), &value);
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around stat[EFX_MAC_FEC_CORRECTED_ERRORS]
#64: FILE: drivers/net/sfc/base/ef10_mac.c:904:
+ EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_ERRORS]), &value);
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE0]
#68: FILE: drivers/net/sfc/base/ef10_mac.c:908:
+ EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE0]),
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE1]
#73: FILE: drivers/net/sfc/base/ef10_mac.c:913:
+ EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE1]),
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE2]
#78: FILE: drivers/net/sfc/base/ef10_mac.c:918:
+ EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE2]),
CHECK:UNNECESSARY_PARENTHESES: Unnecessary parentheses around stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE3]
#83: FILE: drivers/net/sfc/base/ef10_mac.c:923:
+ EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_FEC_CORRECTED_SYMBOLS_LANE3]),
total: 1 errors, 0 warnings, 6 checks, 76 lines checked
^ permalink raw reply [flat|nested] only message in thread