IB/ipoib: Fix typos in error messages
Trivial error message fixups. Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il> Signed-off-by: Roland Dreier <rolandd@cisco.com>
This commit is contained in:
parent
56a8c8b6ac
commit
24bd1e4e32
2 changed files with 2 additions and 2 deletions
|
@ -470,7 +470,7 @@ int ipoib_ib_dev_open(struct net_device *dev)
|
|||
|
||||
ret = ipoib_cm_dev_open(dev);
|
||||
if (ret) {
|
||||
ipoib_warn(priv, "ipoib_ib_post_receives returned %d\n", ret);
|
||||
ipoib_warn(priv, "ipoib_cm_dev_open returned %d\n", ret);
|
||||
ipoib_ib_dev_stop(dev, 1);
|
||||
return -1;
|
||||
}
|
||||
|
|
|
@ -524,7 +524,7 @@ void ipoib_mcast_join_task(struct work_struct *work)
|
|||
return;
|
||||
|
||||
if (ib_query_gid(priv->ca, priv->port, 0, &priv->local_gid))
|
||||
ipoib_warn(priv, "ib_gid_entry_get() failed\n");
|
||||
ipoib_warn(priv, "ib_query_gid() failed\n");
|
||||
else
|
||||
memcpy(priv->dev->dev_addr + 4, priv->local_gid.raw, sizeof (union ib_gid));
|
||||
|
||||
|
|
Loading…
Reference in a new issue