diff options
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; |