net: ipg.c fix bracing on endian swapping
authorHarvey Harrison <harvey.harrison@gmail.com>
Wed, 19 Nov 2008 23:54:38 +0000 (15:54 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 19 Nov 2008 23:54:38 +0000 (15:54 -0800)
commitb88ed5cc884e4c28d787cf0912b8635376f16a87
treee2668a2e0c8565145a8f43139b5f407be2f29968
parentde339c2aa7fea18410b1abeab5674bfbd4073a63
net: ipg.c fix bracing on endian swapping

rxfd->frag_info is a __le64, IPG_RFI_FRAGLEN is a cpu-endian
constant and wants to be outside of the le64_to_cpu. Fixed
in multiple places.

Also an occurrence where le64_to_cpu was used instead of cpu_to_le64

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ipg.c