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

sfc: Fix byte order warnings for ethtool RX filter interface



sparse has got a bit more picky since I last ran it over this.  Add
forced casts for use of ~0 as a big-endian value.  Undo the pointless
optimisation of parameter validation with '|'; using '||' avoids these
warnings.

Signed-off-by: default avatarBen Hutchings <bhutchings@solarflare.com>
parent bb728820
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment