summaryrefslogtreecommitdiff
path: root/drivers/nvdimm/nd_virtio.c
diff options
context:
space:
mode:
authorShen Lichuan <shenlichuan@vivo.com>2024-09-26 15:57:00 +0800
committerIra Weiny <ira.weiny@intel.com>2024-11-13 12:32:57 -0600
commitf7f50742a6bb5f70b0e41cf9ed6255c7fded69b5 (patch)
treed5e2a9bfc828980821aff78767c4b2e595fa48ed /drivers/nvdimm/nd_virtio.c
parent50643bbc9eb697636d08ccabb54f1b7d57941910 (diff)
nvdimm: Correct some typos in comments
Fixed some confusing typos that were currently identified with codespell, the details are as follows: -in the code comments: drivers/nvdimm/nd_virtio.c:100: repsonse ==> response drivers/nvdimm/pfn_devs.c:542: namepace ==> namespace drivers/nvdimm/pmem.c:319: reenable ==> re-enable Signed-off-by: Shen Lichuan <shenlichuan@vivo.com> Reviewed-by: Dave Jiang <dave.jiang@intel.com> Reviewed-by: Pankaj Gupta <pankaj.gupta@amd.com> Link: https://patch.msgid.link/20240926075700.10122-1-shenlichuan@vivo.com Signed-off-by: Ira Weiny <ira.weiny@intel.com>
Diffstat (limited to 'drivers/nvdimm/nd_virtio.c')
-rw-r--r--drivers/nvdimm/nd_virtio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvdimm/nd_virtio.c b/drivers/nvdimm/nd_virtio.c
index f55d60922b87..c3f07be4aa22 100644
--- a/drivers/nvdimm/nd_virtio.c
+++ b/drivers/nvdimm/nd_virtio.c
@@ -97,7 +97,7 @@ static int virtio_pmem_flush(struct nd_region *nd_region)
dev_info(&vdev->dev, "failed to send command to virtio pmem device\n");
err = -EIO;
} else {
- /* A host repsonse results in "host_ack" getting called */
+ /* A host response results in "host_ack" getting called */
wait_event(req_data->host_acked, req_data->done);
err = le32_to_cpu(req_data->resp.ret);
}