summaryrefslogtreecommitdiff
path: root/drivers/infiniband
diff options
context:
space:
mode:
authorGal Pressman <galpress@amazon.com>2019-09-10 14:42:58 +0100
committerJason Gunthorpe <jgg@mellanox.com>2019-09-16 14:25:43 -0300
commita3f4b8e31822650f815f4219a4abde2001fd2fd0 (patch)
tree6bfd825f11c0a9c98629fc25e79ce7cc4c8f5fdc /drivers/infiniband
parent5d44adebbb7e785939df3db36ac360f5e8b73e44 (diff)
RDMA/efa: Fix incorrect error print
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>
Diffstat (limited to 'drivers/infiniband')
-rw-r--r--drivers/infiniband/hw/efa/efa_com_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/infiniband/hw/efa/efa_com_cmd.c b/drivers/infiniband/hw/efa/efa_com_cmd.c
index 501dce89f275..c079f1332082 100644
--- a/drivers/infiniband/hw/efa/efa_com_cmd.c
+++ b/drivers/infiniband/hw/efa/efa_com_cmd.c
@@ -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;
}