[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171227075759.15289-7-leon@kernel.org>
Date: Wed, 27 Dec 2017 09:57:55 +0200
From: Leon Romanovsky <leon@...nel.org>
To: David Ahern <dsahern@...il.com>
Cc: Leon Romanovsky <leonro@...lanox.com>,
netdev <netdev@...r.kernel.org>,
Stephen Hemminger <stephen@...workplumber.org>
Subject: [PATCH iproute2-next 06/10] rdma: Print supplied device name in case of wrong name
From: Leon Romanovsky <leonro@...lanox.com>
Signed-off-by: Leon Romanovsky <leonro@...lanox.com>
---
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
Powered by blists - more mailing lists