* [dpdk-test-report] |WARNING| pw21132 [PATCH 2/6] net/sfc/base: don't ignore requested MAC stats update period
[not found] <1488469608-2252-3-git-send-email-arybchenko@solarflare.com>
@ 2017-03-02 15:48 ` checkpatch
0 siblings, 0 replies; only message in thread
From: checkpatch @ 2017-03-02 15:48 UTC (permalink / raw)
To: test-report; +Cc: Andrew Rybchenko
Test-Label: checkpatch
Test-Status: WARNING
http://dpdk.org/patch/21132
_coding style issues_
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#95: FILE: drivers/net/sfc/base/efx_mcdi.c:1801:
+ if ((rc = efx_mcdi_mac_stats(enp, NULL, EFX_STATS_CLEAR, 0)) != 0)
ERROR:ASSIGN_IN_IF: do not use assignment in if condition
#104: FILE: drivers/net/sfc/base/efx_mcdi.c:1824:
+ if ((rc = efx_mcdi_mac_stats(enp, esmp, EFX_STATS_UPLOAD, 0)) != 0)
total: 2 errors, 0 warnings, 0 checks, 71 lines checked
^ permalink raw reply [flat|nested] only message in thread