diff mbox series

[for-next,1/4] RDMA/efa: Fix incorrect error print

Message ID 20190910134301.4194-2-galpress@amazon.com (mailing list archive)
State Superseded
Delegated to: Jason Gunthorpe
Headers show
Series EFA RDMA read support | expand

Commit Message

Gal Pressman Sept. 10, 2019, 1:42 p.m. UTC
The error print should indicate that it failed to get the queue
attributes, not network attributes.

Reviewed-by: Daniel Kranzdorf <dkkranzd@amazon.com>
Reviewed-by: Firas JahJah <firasj@amazon.com>
Signed-off-by: Gal Pressman <galpress@amazon.com>
---
 drivers/infiniband/hw/efa/efa_com_cmd.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jason Gunthorpe Sept. 16, 2019, 5:37 p.m. UTC | #1
On Tue, Sep 10, 2019 at 02:42:58PM +0100, Gal Pressman wrote:
> The error print should indicate that it failed to get the queue
> attributes, not network attributes.
> 
> Reviewed-by: Daniel Kranzdorf <dkkranzd@amazon.com>
> Reviewed-by: Firas JahJah <firasj@amazon.com>
> Signed-off-by: Gal Pressman <galpress@amazon.com>
>  drivers/infiniband/hw/efa/efa_com_cmd.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Safe enough to apply to for-next, thanks

Jason
diff mbox series

Patch

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