Commit 24bd1e4e authored by Michael S. Tsirkin's avatar Michael S. Tsirkin Committed by Roland Dreier

IB/ipoib: Fix typos in error messages

Trivial error message fixups.
Signed-off-by: default avatarMichael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
parent 56a8c8b6
...@@ -470,7 +470,7 @@ int ipoib_ib_dev_open(struct net_device *dev) ...@@ -470,7 +470,7 @@ int ipoib_ib_dev_open(struct net_device *dev)
ret = ipoib_cm_dev_open(dev); ret = ipoib_cm_dev_open(dev);
if (ret) { 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); ipoib_ib_dev_stop(dev, 1);
return -1; return -1;
} }
......
...@@ -524,7 +524,7 @@ void ipoib_mcast_join_task(struct work_struct *work) ...@@ -524,7 +524,7 @@ void ipoib_mcast_join_task(struct work_struct *work)
return; return;
if (ib_query_gid(priv->ca, priv->port, 0, &priv->local_gid)) 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 else
memcpy(priv->dev->dev_addr + 4, priv->local_gid.raw, sizeof (union ib_gid)); memcpy(priv->dev->dev_addr + 4, priv->local_gid.raw, sizeof (union ib_gid));
......
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