aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/qlogic/qlge/qlge_main.c
diff options
context:
space:
mode:
authorLi RongQing <roy.qing.li@gmail.com>2012-07-09 20:56:06 +0000
committerDavid S. Miller <davem@davemloft.net>2012-07-11 01:31:23 -0700
commit5b70ca3599071a0e26bceab9dd6d7e4c53318881 (patch)
tree979fa357f308329817c51229e6f3f9cbb324604b /drivers/net/ethernet/qlogic/qlge/qlge_main.c
parentMerge branch 'davem-next.r8169' of git://violet.fr.zoreil.com/romieu/linux (diff)
downloadlinux-dev-5b70ca3599071a0e26bceab9dd6d7e4c53318881.tar.xz
linux-dev-5b70ca3599071a0e26bceab9dd6d7e4c53318881.zip
ksz884x: fix Endian
ETH_P_IP is host Endian, skb->protocol is big Endian, when compare them, Using htons on skb->protocol is wrong. And fix two code style issues: indentation and remove unnecessary parentheses. CC: Tristram Ha <Tristram.Ha@micrel.com> CC: Ben Hutchings <bhutchings@solarflare.com> CC: Joe Perches <joe@perches.com> Signed-off-by: Li RongQing <roy.qing.li@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions