]> Git Repo - J-linux.git/commitdiff
nvdimm: Correct some typos in comments
authorShen Lichuan <[email protected]>
Thu, 26 Sep 2024 07:57:00 +0000 (15:57 +0800)
committerIra Weiny <[email protected]>
Wed, 13 Nov 2024 18:32:57 +0000 (12:32 -0600)
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 <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Pankaj Gupta <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Ira Weiny <[email protected]>
drivers/nvdimm/nd_virtio.c
drivers/nvdimm/pfn_devs.c
drivers/nvdimm/pmem.c

index f55d60922b87d366c069cc122593d9c275e61898..c3f07be4aa22adbedfcc5ee30bee9762c5d55e64 100644 (file)
@@ -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);
        }
index 586348125b61abb836a0e63858c9c47a1e9f7d66..cfdfe0eaa51210d98a0985fe3c897ffef4f51c74 100644 (file)
@@ -539,7 +539,7 @@ int nd_pfn_validate(struct nd_pfn *nd_pfn, const char *sig)
 
        if (!nd_pfn->uuid) {
                /*
-                * When probing a namepace via nd_pfn_probe() the uuid
+                * When probing a namespace via nd_pfn_probe() the uuid
                 * is NULL (see: nd_pfn_devinit()) we init settings from
                 * pfn_sb
                 */
index 210fb77f51ba026d943bbb95eefce8abecdd344c..d81faa9d89c935285450e69574695b5a13bf2c7c 100644 (file)
@@ -316,7 +316,7 @@ static long pmem_dax_direct_access(struct dax_device *dax_dev,
  * range, filesystem turns the normal pwrite to a dax_recovery_write.
  *
  * The recovery write consists of clearing media poison, clearing page
- * HWPoison bit, reenable page-wide read-write permission, flush the
+ * HWPoison bit, re-enable page-wide read-write permission, flush the
  * caches and finally write.  A competing pread thread will be held
  * off during the recovery process since data read back might not be
  * valid, and this is achieved by clearing the badblock records after
This page took 0.062669 seconds and 4 git commands to generate.