net/mlx4: fix sparse warnings on TX control flags, endianess
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 6 Mar 2012 04:03:41 +0000 (04:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 6 Mar 2012 20:19:17 +0000 (15:19 -0500)
commit4ef2a435bea24330781cbfe910a05810f17079d2
tree064400b7829ec5332fa1ef341a7908d5ca04a6de
parentebf8c9aa032f03343b91c91951b0705021b02eb0
net/mlx4: fix sparse warnings on TX control flags, endianess

Fix sparse warnings on incompatibility between the endianess of the ctrl_flags
field of struct mlx4_en_priv to the srcrb_flags field of struct
mlx4_wqe_ctrl_seg by changing the former to be __be32 instead of u32.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/mlx4_en.h