2022-03-18 16:07:43

by Julia Lawall

[permalink] [raw]
Subject: [PATCH] xen/arm: fix typos in comments

Various spelling mistakes in comments.
Detected with the help of Coccinelle.

Signed-off-by: Julia Lawall <[email protected]>

---
arch/arm/xen/mm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c
index a7e54a087b80..607c1a557ccc 100644
--- a/arch/arm/xen/mm.c
+++ b/arch/arm/xen/mm.c
@@ -105,7 +105,7 @@ bool xen_arch_need_swiotlb(struct device *dev,
* - The Linux page refers to foreign memory
* - The device doesn't support coherent DMA request
*
- * The Linux page may be spanned acrros multiple Xen page, although
+ * The Linux page may be spanned across multiple Xen page, although
* it's not possible to have a mix of local and foreign Xen page.
* Furthermore, range_straddles_page_boundary is already checking
* if buffer is physically contiguous in the host RAM.


2022-03-18 17:51:43

by Luca Fancellu

[permalink] [raw]
Subject: Re: [PATCH] xen/arm: fix typos in comments



> On 18 Mar 2022, at 10:37, Julia Lawall <[email protected]> wrote:
>
> Various spelling mistakes in comments.
> Detected with the help of Coccinelle.
>
> Signed-off-by: Julia Lawall <[email protected]>

Reviewed-by: Luca Fancellu <[email protected]>

Cheers,
Luca

>
> ---
> arch/arm/xen/mm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/arm/xen/mm.c b/arch/arm/xen/mm.c
> index a7e54a087b80..607c1a557ccc 100644
> --- a/arch/arm/xen/mm.c
> +++ b/arch/arm/xen/mm.c
> @@ -105,7 +105,7 @@ bool xen_arch_need_swiotlb(struct device *dev,
> * - The Linux page refers to foreign memory
> * - The device doesn't support coherent DMA request
> *
> - * The Linux page may be spanned acrros multiple Xen page, although
> + * The Linux page may be spanned across multiple Xen page, although
> * it's not possible to have a mix of local and foreign Xen page.
> * Furthermore, range_straddles_page_boundary is already checking
> * if buffer is physically contiguous in the host RAM.
>
>

2022-03-19 06:31:00

by Stefano Stabellini

[permalink] [raw]
Subject: Re: [PATCH] xen/arm: fix typos in comments

On Fri, 18 Mar 2022, Luca Fancellu wrote:
> > On 18 Mar 2022, at 10:37, Julia Lawall <[email protected]> wrote:
> >
> > Various spelling mistakes in comments.
> > Detected with the help of Coccinelle.
> >
> > Signed-off-by: Julia Lawall <[email protected]>
>
> Reviewed-by: Luca Fancellu <[email protected]>

Acked-by: Stefano Stabellini <[email protected]>

I assume this patch will go via the trivial tree? If not and you want
this patch to be picked up in the Xen tree let me know.