From: Ben Hutchings Date: Thu, 6 Sep 2012 01:11:04 +0000 (+0100) Subject: sfc: Fix byte order warnings for ethtool RX filter interface X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~45^2~143^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e0c3408a5414d4e1f8ca7fadcb513c13bd747e8;p=pandora-kernel.git 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: Ben Hutchings --- Reading git-diff-tree failed