summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/sfc/io.h
diff options
context:
space:
mode:
authorBen Hutchings <bhutchings@solarflare.com>2012-09-11 18:25:13 +0100
committerBen Hutchings <bhutchings@solarflare.com>2012-12-01 00:26:11 +0000
commitbbec969b7f57a6ab5683145b99da869f99080e2a (patch)
tree2474715e0ccabcd8cb0b5573b00e36a737d00cf9 /drivers/net/ethernet/sfc/io.h
parentb8e0251730775cc970d2453dedd454b8ae071dd9 (diff)
downloadblackbird-op-linux-bbec969b7f57a6ab5683145b99da869f99080e2a.tar.gz
blackbird-op-linux-bbec969b7f57a6ab5683145b99da869f99080e2a.zip
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/io.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud