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:
parent
e3dee3c81f
commit
b55644412f
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue