public inbox for linux-cxl@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] drivers/dax: Fix typo in comment
@ 2026-04-05  3:19 Yahu YH12 Gao
  2026-04-06 15:23 ` Dave Jiang
  0 siblings, 1 reply; 2+ messages in thread
From: Yahu YH12 Gao @ 2026-04-05  3:19 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 mailto: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] 2+ messages in thread

* Re: [PATCH] drivers/dax: Fix typo in comment
  2026-04-05  3:19 [PATCH] drivers/dax: Fix typo in comment Yahu YH12 Gao
@ 2026-04-06 15:23 ` Dave Jiang
  0 siblings, 0 replies; 2+ messages in thread
From: Dave Jiang @ 2026-04-06 15:23 UTC (permalink / raw)
  To: Yahu YH12 Gao, Dan Williams, Vishal Verma
  Cc: linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org,
	nvdimm@lists.linux.dev



On 4/4/26 8:19 PM, Yahu YH12 Gao wrote:
> Fix a typo in dax_copy_to_iter where "vfs_red" should be "vfs_read".
> 
> Signed-off-by: Yahu Gao mailto:gaoyh12@lenovo.com

Reviewed-by: Dave Jiang <dave.jiang@intel.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	[flat|nested] 2+ messages in thread

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

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-05  3:19 [PATCH] drivers/dax: Fix typo in comment Yahu YH12 Gao
2026-04-06 15:23 ` Dave Jiang

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