Commit 2337f809 authored by Roland Dreier's avatar Roland Dreier

IPoIB: Trivial formatting cleanups

Fix whitespace blunders, convert "foo* bar" to "foo *bar", etc.
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 657c2f2c
...@@ -500,7 +500,7 @@ void ipoib_cm_dev_cleanup(struct net_device *dev); ...@@ -500,7 +500,7 @@ void ipoib_cm_dev_cleanup(struct net_device *dev);
struct ipoib_cm_tx *ipoib_cm_create_tx(struct net_device *dev, struct ipoib_path *path, struct ipoib_cm_tx *ipoib_cm_create_tx(struct net_device *dev, struct ipoib_path *path,
struct ipoib_neigh *neigh); struct ipoib_neigh *neigh);
void ipoib_cm_destroy_tx(struct ipoib_cm_tx *tx); void ipoib_cm_destroy_tx(struct ipoib_cm_tx *tx);
void ipoib_cm_skb_too_long(struct net_device* dev, struct sk_buff *skb, void ipoib_cm_skb_too_long(struct net_device *dev, struct sk_buff *skb,
unsigned int mtu); unsigned int mtu);
void ipoib_cm_handle_rx_wc(struct net_device *dev, struct ib_wc *wc); void ipoib_cm_handle_rx_wc(struct net_device *dev, struct ib_wc *wc);
void ipoib_cm_handle_tx_wc(struct net_device *dev, struct ib_wc *wc); void ipoib_cm_handle_tx_wc(struct net_device *dev, struct ib_wc *wc);
...@@ -582,7 +582,7 @@ int ipoib_cm_add_mode_attr(struct net_device *dev) ...@@ -582,7 +582,7 @@ int ipoib_cm_add_mode_attr(struct net_device *dev)
return 0; return 0;
} }
static inline void ipoib_cm_skb_too_long(struct net_device* dev, struct sk_buff *skb, static inline void ipoib_cm_skb_too_long(struct net_device *dev, struct sk_buff *skb,
unsigned int mtu) unsigned int mtu)
{ {
dev_kfree_skb_any(skb); dev_kfree_skb_any(skb);
......
...@@ -155,7 +155,7 @@ static struct sk_buff *ipoib_cm_alloc_rx_skb(struct net_device *dev, int id, int ...@@ -155,7 +155,7 @@ static struct sk_buff *ipoib_cm_alloc_rx_skb(struct net_device *dev, int id, int
return NULL; return NULL;
} }
static void ipoib_cm_start_rx_drain(struct ipoib_dev_priv* priv) static void ipoib_cm_start_rx_drain(struct ipoib_dev_priv *priv)
{ {
struct ib_send_wr *bad_wr; struct ib_send_wr *bad_wr;
struct ipoib_cm_rx *p; struct ipoib_cm_rx *p;
...@@ -1150,7 +1150,7 @@ static void ipoib_cm_skb_reap(struct work_struct *work) ...@@ -1150,7 +1150,7 @@ static void ipoib_cm_skb_reap(struct work_struct *work)
spin_unlock_irq(&priv->tx_lock); spin_unlock_irq(&priv->tx_lock);
} }
void ipoib_cm_skb_too_long(struct net_device* dev, struct sk_buff *skb, void ipoib_cm_skb_too_long(struct net_device *dev, struct sk_buff *skb,
unsigned int mtu) unsigned int mtu)
{ {
struct ipoib_dev_priv *priv = netdev_priv(dev); struct ipoib_dev_priv *priv = netdev_priv(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment