sfc: Fix byte order warnings for ethtool RX filter interface
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 6 Sep 2012 01:11:04 +0000 (02:11 +0100)
committerBen Hutchings <bhutchings@solarflare.com>
Sat, 1 Dec 2012 00:26:06 +0000 (00:26 +0000)
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: Ben Hutchings <bhutchings@solarflare.com>

No differences found