Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit bbec969b authored by Ben Hutchings's avatar Ben Hutchings
Browse files

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: default avatarBen Hutchings <bhutchings@solarflare.com>
parent b8e02517
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment