diff options
author | Sagi Grimberg <sagi@grimberg.me> | 2017-08-15 12:24:05 +0300 |
---|---|---|
committer | Sagi Grimberg <sagi@grimberg.me> | 2017-08-28 23:00:38 +0300 |
commit | caaa15c5097d58545075a8bbdf208078b87d5f28 (patch) | |
tree | 0e77b5c53dd4477b6562e30d5f0f478d04da5b9a /drivers/nvme | |
parent | 9b483da15dd0c94b62ae4e789b37dfff4410f45e (diff) | |
download | blackbird-obmc-linux-caaa15c5097d58545075a8bbdf208078b87d5f28.tar.gz blackbird-obmc-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; } |