rdma: Print supplied device name in case of wrong name

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
Leon Romanovsky 2017-12-27 09:57:55 +02:00 committed by David Ahern
parent e3dee3c81f
commit b55644412f
1 changed files with 1 additions and 1 deletions

View File

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