diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-08-15 11:24:05 +0200 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2017-08-28 22:00:38 +0200 |
commit | caaa15c5097d58545075a8bbdf208078b87d5f28 (patch) | |
tree | 0e77b5c53dd4477b6562e30d5f0f478d04da5b9a /drivers/nvme | |
parent | nvme-fabrics: log a warning if hostid is invalid (diff) | |
download | linux-caaa15c5097d58545075a8bbdf208078b87d5f28.tar.xz linux-caaa15c5097d58545075a8bbdf208078b87d5f28.zip |
nvme: fix identify namespace logging
Use ctrl->device and lose the func name.
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r-- | drivers/nvme/host/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 0b979e16655e..b2daeafbeadd 100644 --- 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->device, "Identify namespace failed\n"); return -ENODEV; } |