commit | bbec969b7f57a6ab5683145b99da869f99080e2a | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Tue Sep 11 18:25:13 2012 +0100 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Sat Dec 01 00:26:11 2012 +0000 |
tree | 2474715e0ccabcd8cb0b5573b00e36a737d00cf9 | |
parent | b8e0251730775cc970d2453dedd454b8ae071dd9 [diff] |
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>