diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-09-11 21:25:13 +0400 |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-12-01 04:26:11 +0400 |
commit | bbec969b7f57a6ab5683145b99da869f99080e2a (patch) | |
tree | 2474715e0ccabcd8cb0b5573b00e36a737d00cf9 /drivers/net/ethernet/sfc/nic.c | |
parent | b8e0251730775cc970d2453dedd454b8ae071dd9 (diff) | |
download | linux-bbec969b7f57a6ab5683145b99da869f99080e2a.tar.xz |
sfc: Fix check for failure of MC_CMD_FLUSH_RX_QUEUES
efx_mcdi_rpc_start() returns a negative value on error or zero on
success. However one caller that can't properly handle failure then
does WARN_ON(rc > 0). Change it to WARN_ON(rc < 0).
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/nic.c')
0 files changed, 0 insertions, 0 deletions