diff options
author | Sean Hefty <sean.hefty@intel.com> | 2005-08-14 00:05:57 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2005-08-26 23:37:35 -0400 |
commit | 97f52eb438be7caebe026421545619d8a0c1398a (patch) | |
tree | 1085acb833b691e9cc7ef607e4b4ac8cbd81e03f /drivers/infiniband/ulp/ipoib/ipoib_main.c | |
parent | 92a6b34bf4d0d11c54b2a6bdd6240f98cb326200 (diff) |
[PATCH] IB: sparse endianness cleanup
Fix sparse warnings. Use __be* where appropriate.
Signed-off-by: Sean Hefty <sean.hefty@intel.com>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/ulp/ipoib/ipoib_main.c')
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index d4300e4a36d8..7f349693b40a 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c | |||
@@ -609,8 +609,8 @@ static int ipoib_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
609 | ipoib_warn(priv, "Unicast, no %s: type %04x, QPN %06x " | 609 | ipoib_warn(priv, "Unicast, no %s: type %04x, QPN %06x " |
610 | IPOIB_GID_FMT "\n", | 610 | IPOIB_GID_FMT "\n", |
611 | skb->dst ? "neigh" : "dst", | 611 | skb->dst ? "neigh" : "dst", |
612 | be16_to_cpup((u16 *) skb->data), | 612 | be16_to_cpup((__be16 *) skb->data), |
613 | be32_to_cpup((u32 *) phdr->hwaddr), | 613 | be32_to_cpup((__be32 *) phdr->hwaddr), |
614 | IPOIB_GID_ARG(*(union ib_gid *) (phdr->hwaddr + 4))); | 614 | IPOIB_GID_ARG(*(union ib_gid *) (phdr->hwaddr + 4))); |
615 | dev_kfree_skb_any(skb); | 615 | dev_kfree_skb_any(skb); |
616 | ++priv->stats.tx_dropped; | 616 | ++priv->stats.tx_dropped; |