diff options
author | Chaitanya Kulkarni <kch@nvidia.com> | 2024-02-06 01:30:21 +0100 |
---|---|---|
committer | Keith Busch <kbusch@kernel.org> | 2024-02-07 19:37:05 +0100 |
commit | e8c263ed6de8183e670fbd127c2512292a2ad8eb (patch) | |
tree | 23851a740d39d16f3fc4d638aceef4b8c88cdaaa | |
parent | nvme: move passthrough logging attribute to head (diff) | |
download | linux-e8c263ed6de8183e670fbd127c2512292a2ad8eb.tar.xz linux-e8c263ed6de8183e670fbd127c2512292a2ad8eb.zip |
nvme-core: fix comment to reflect right functions
The functions and the attribute listed in the comment doesn't exists in
the code, (ns->logging_enabled, nvme_passthru_err_log_enabled_store()
and nvme_passthru_err_log_enabled_show())
Update the comment with right function names and a comment
ns->head->passthru_err_log_enabled,
nvme_io_passthru_err_log_enabled_store() and
nvme_io_passthru_err_log_enabled_show().
Signed-off-by: Chaitanya Kulkarni <kch@nvidia.com>
Reviewed-by: Alan Adamson <alan.adamson@oracle.com>
Signed-off-by: Keith Busch <kbusch@kernel.org>
-rw-r--r-- | drivers/nvme/host/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c index 246e92c05aac..60537c9224bf 100644 --- a/drivers/nvme/host/core.c +++ b/drivers/nvme/host/core.c @@ -3761,8 +3761,8 @@ static void nvme_alloc_ns(struct nvme_ctrl *ctrl, struct nvme_ns_info *info) /* * Set ns->disk->device->driver_data to ns so we can access - * ns->logging_enabled in nvme_passthru_err_log_enabled_store() and - * nvme_passthru_err_log_enabled_show(). + * ns->head->passthru_err_log_enabled in + * nvme_io_passthru_err_log_enabled_[store | show](). */ dev_set_drvdata(disk_to_dev(ns->disk), ns); |