Subject: [PATCH iproute2-next 06/10] rdma: Print supplied device name in case of wrong name

From: Leon Romanovsky <[email-masked]>
Date: Wed, 27 Dec 2017 09:57:55 +0200

From: Leon Romanovsky <[email-masked]>

Signed-off-by: Leon Romanovsky <[email-masked]>
---
 rdma/utils.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/rdma/utils.c b/rdma/utils.c
index 5c0f021a..998a178d 100644
--- a/rdma/utils.c
+++ b/rdma/utils.c
@@ -176,7 +176,7 @@ int rd_exec_dev(struct rd *rd, int (*cb)(struct rd *rd))
 	} else {
 		dev_map = dev_map_lookup(rd, false);
 		if (!dev_map) {
-			pr_err("Wrong device name\n");
+			pr_err("Wrong device name - %s\n", rd_argv(rd));
 			ret = -ENOENT;
 			goto out;
 		}
-- 
2.15.1