[PATCH RFC] nvme-core: Log the ctrl device instance name
Sagi Grimberg
sagig at dev.mellanox.co.il
Sun Jan 10 04:44:55 PST 2016
> if (nvme_identify_ns(ns->ctrl, ns->ns_id, &id)) {
> - dev_warn(ns->ctrl->dev, "%s: Identify failure nvme%dn%d\n",
> + dev_warn(ns->ctrl->device, "%s: Identify failure nvme%dn%d\n",
> __func__, ns->ctrl->instance, ns->ns_id);
Oops,
That ought to be replaced with:
dev_warn(disk_to_dev(ns->disk, "%s: Identify failure\n",
__func__);
More information about the Linux-nvme
mailing list