RDMA/efa: Fix incorrect error print
authorGal Pressman <galpress@amazon.com>
Tue, 10 Sep 2019 13:42:58 +0000 (14:42 +0100)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 16 Sep 2019 17:25:43 +0000 (14:25 -0300)
The error print should indicate that it failed to get the queue
attributes, not network attributes.

Link: https://lore.kernel.org/r/20190910134301.4194-2-galpress@amazon.com
Reviewed-by: Daniel Kranzdorf <dkkranzd@amazon.com>
Reviewed-by: Firas JahJah <firasj@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/efa/efa_com_cmd.c

index 501dce8..c079f13 100644 (file)
@@ -481,7 +481,7 @@ int efa_com_get_device_attr(struct efa_com_dev *edev,
                                  EFA_ADMIN_QUEUE_ATTR);
        if (err) {
                ibdev_err_ratelimited(edev->efa_dev,
-                                     "Failed to get network attributes %d\n",
+                                     "Failed to get queue attributes %d\n",
                                      err);
                return err;
        }