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>
This commit is contained in:
Gal Pressman 2019-09-10 14:42:58 +01:00 коммит произвёл Jason Gunthorpe
Родитель 5d44adebbb
Коммит a3f4b8e318
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
}