IB/ipoib: Fix typos in error messages
authorMichael S. Tsirkin <mst@dev.mellanox.co.il>
Fri, 18 May 2007 13:12:54 +0000 (16:12 +0300)
committerRoland Dreier <rolandd@cisco.com>
Mon, 21 May 2007 20:29:15 +0000 (13:29 -0700)
Trivial error message fixups.

Signed-off-by: Michael S. Tsirkin <mst@dev.mellanox.co.il>
Signed-off-by: Roland Dreier <rolandd@cisco.com>
drivers/infiniband/ulp/ipoib/ipoib_ib.c
drivers/infiniband/ulp/ipoib/ipoib_multicast.c

index e3b0937011d122df60b7a38e3a5410c565733327..c1aad06eb4e9b0222457b5c7efc8fc146a39b839 100644 (file)
@@ -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;
        }
index 54fbead4de01f110f3cca9cf06e6fed366e821c9..aae367057a569d9f0889c3f2e3dfb16894b40fae 100644 (file)
@@ -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));