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:
9b483da
)
nvme: fix identify namespace logging
author
Sagi Grimberg
<sagi@grimberg.me>
Tue, 15 Aug 2017 09:24:05 +0000
(12:24 +0300)
committer
Sagi Grimberg
<sagi@grimberg.me>
Mon, 28 Aug 2017 20:00:38 +0000
(23:00 +0300)
Use ctrl->device and lose the func name.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/host/core.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/nvme/host/core.c
b/drivers/nvme/host/core.c
index 0b979e16655eecff5c3176084575fcb15386abac..b2daeafbeadd7252dd9055ef9d5d4909faabb5bc 100644
(file)
--- a/
drivers/nvme/host/core.c
+++ b/
drivers/nvme/host/core.c
@@
-1167,7
+1167,7
@@
static void nvme_config_discard(struct nvme_ns *ns)
static int nvme_revalidate_ns(struct nvme_ns *ns, struct nvme_id_ns **id)
{
if (nvme_identify_ns(ns->ctrl, ns->ns_id, id)) {
- dev_warn(ns->ctrl->dev
, "%s: Identify failure\n", __func__
);
+ dev_warn(ns->ctrl->dev
ice, "Identify namespace failed\n"
);
return -ENODEV;
}