projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
09fdc23
)
nvme-fabrics: log a warning if hostid is invalid
author
Guan Junxiong
<guanjunxiong@huawei.com>
Thu, 3 Aug 2017 13:40:26 +0000
(21:40 +0800)
committer
Sagi Grimberg
<sagi@grimberg.me>
Mon, 28 Aug 2017 20:00:37 +0000
(23:00 +0300)
This helps users to quickly spot the reason of why connection fails
if the hostid is not compliant with the uuid format.
Signed-off-by: Guan Junxiong <guanjunxiong@huawei.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/fabrics.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/fabrics.c
b/drivers/nvme/host/fabrics.c
index 5f5cd306f76d05e8cb7351cb91403d7f9a554d9a..fc3b6552f46750fd1187052bf91c73596cf82836 100644
(file)
--- a/
drivers/nvme/host/fabrics.c
+++ b/
drivers/nvme/host/fabrics.c
@@
-735,6
+735,7
@@
static int nvmf_parse_options(struct nvmf_ctrl_options *opts,
goto out;
}
if (uuid_parse(p, &hostid)) {
+ pr_err("Invalid hostid %s\n", p);
ret = -EINVAL;
goto out;
}