Skip to content

Commit

Permalink
IB/ipoib: Use __func__ instead of function's name
Browse files Browse the repository at this point in the history
Changed debug statements to use %s and __func__ instead
of hard-coded function's name.

Signed-off-by: Erez Alfasi <[email protected]>
Signed-off-by: Leon Romanovsky <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
  • Loading branch information
erezamellanox authored and jgunthorpe committed Feb 14, 2019
1 parent 36f0a1c commit 0dd9ce1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/infiniband/ulp/ipoib/ipoib_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ static void path_free(struct net_device *dev, struct ipoib_path *path)
while ((skb = __skb_dequeue(&path->queue)))
dev_kfree_skb_irq(skb);

ipoib_dbg(ipoib_priv(dev), "path_free\n");
ipoib_dbg(ipoib_priv(dev), "%s\n", __func__);

/* remove all neigh connected to this path */
ipoib_del_neighs_by_gid(dev, path->pathrec.dgid.raw);
Expand Down Expand Up @@ -1641,7 +1641,7 @@ static void ipoib_neigh_hash_uninit(struct net_device *dev)
{
struct ipoib_dev_priv *priv = ipoib_priv(dev);

ipoib_dbg(priv, "ipoib_neigh_hash_uninit\n");
ipoib_dbg(priv, "%s\n", __func__);
init_completion(&priv->ntbl.deleted);

cancel_delayed_work_sync(&priv->neigh_reap_task);
Expand Down

0 comments on commit 0dd9ce1

Please sign in to comment.