public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH V2] drivers/dax: Fix typo in comment
@ 2026-04-05  3:45 Yahu YH12 Gao
  2026-04-13 15:16 ` Jonathan Cameron
  0 siblings, 1 reply; 3+ messages in thread
From: Yahu YH12 Gao @ 2026-04-05  3:45 UTC (permalink / raw)
  To: Dan Williams, Vishal Verma, Dave Jiang
  Cc: linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org,
	nvdimm@lists.linux.dev, Yahu YH12 Gao

Fix a typo in dax_copy_to_iter where "vfs_red" should be "vfs_read".

Signed-off-by: Yahu Gao <gaoyh12@lenovo.com>

diff --git a/drivers/dax/super.c b/drivers/dax/super.c
index c00b9dff4a06..e32db0eba9c1 100644
--- a/drivers/dax/super.c
+++ b/drivers/dax/super.c
@@ -192,7 +192,7 @@ size_t dax_copy_to_iter(struct dax_device *dax_dev, pgoff_t pgoff, void *addr,

        /*
         * The userspace address for the memory copy has already been validated
-        * via access_ok() in vfs_red, so use the 'no check' version to bypass
+        * via access_ok() in vfs_read, so use the 'no check' version to bypass
         * the HARDENED_USERCOPY overhead.
         */
        if (test_bit(DAXDEV_NOMC, &dax_dev->flags))
--
2.47.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-14  2:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-05  3:45 [PATCH V2] drivers/dax: Fix typo in comment Yahu YH12 Gao
2026-04-13 15:16 ` Jonathan Cameron
2026-04-14  2:15   ` [External] " Yahu YH12 Gao

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox