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

* Re: [PATCH V2] drivers/dax: Fix typo in comment
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Cameron @ 2026-04-13 15:16 UTC (permalink / raw)
  To: Yahu YH12 Gao
  Cc: Dan Williams, Vishal Verma, Dave Jiang,
	linux-kernel@vger.kernel.org, linux-cxl@vger.kernel.org,
	nvdimm@lists.linux.dev

On Sun, 5 Apr 2026 03:45:43 +0000
Yahu YH12 Gao <gaoyh12@lenovo.com> wrote:

> Fix a typo in dax_copy_to_iter where "vfs_red" should be "vfs_read".
> 
> Signed-off-by: Yahu Gao <gaoyh12@lenovo.com>
> 

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
> 


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

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



> -----Original Message-----
> From: Jonathan Cameron <jonathan.cameron@huawei.com>
> Sent: 2026年4月13日 11:17
> To: Yahu YH12 Gao <gaoyh12@lenovo.com>
> Cc: Dan Williams <dan.j.williams@intel.com>; Vishal Verma
> <vishal.l.verma@intel.com>; Dave Jiang <dave.jiang@intel.com>;
> linux-kernel@vger.kernel.org; linux-cxl@vger.kernel.org;
> nvdimm@lists.linux.dev
> Subject: [External] Re: [PATCH V2] drivers/dax: Fix typo in comment
> 
> On Sun, 5 Apr 2026 03:45:43 +0000
> Yahu YH12 Gao <gaoyh12@lenovo.com> wrote:
> 
> > Fix a typo in dax_copy_to_iter where "vfs_red" should be "vfs_read".
> >
> > Signed-off-by: Yahu Gao <gaoyh12@lenovo.com>
> >
> 
> Should have change log.  Format as:
> 
> ---
> 
> v2: What changed.
> 
> 
> (Though given you've sent this out already just reply here to say what
> changed)

V2: Remove word 'mailto' in signature.
The signature of patch V1 is " Signed-off-by: Yahu Gao mailto:gaoyh12@lenovo.com".
                                            ^
Change the signature to " Signed-off-by: Yahu Gao <gaoyh12@lenovo.com>" in V2.

> 
> > 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] 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