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:
Родитель
5d44adebbb
Коммит
a3f4b8e318
|
@ -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;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче