Re: [PATCH V2] drivers/dax: Fix typo in comment
From: Jonathan Cameron
Date: Mon Apr 13 2026 - 11:17:11 EST
On Sun, 5 Apr 2026 03:45:43 +0000
Yahu YH12 Gao <gaoyh12@xxxxxxxxxx> wrote:
> Fix a typo in dax_copy_to_iter where "vfs_red" should be "vfs_read".
>
> Signed-off-by: Yahu Gao <gaoyh12@xxxxxxxxxx>
>
Should have change log. Format as:
---
v2: What changed.
(Though given you've sent this out already just reply here to say what changed)
> 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
>