[PATCH] scatterlist: fix a typo

Sui Jingfeng posted 1 patch 1 month, 2 weeks ago
include/linux/scatterlist.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] scatterlist: fix a typo
Posted by Sui Jingfeng 1 month, 2 weeks ago
Replace the 'One' with 'On'.

Fixes: af2880ec4402 ("scatterlist: add dedicated config for DMA flags")
Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
---
 include/linux/scatterlist.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h
index e61d164622db..c5e2239b550e 100644
--- a/include/linux/scatterlist.h
+++ b/include/linux/scatterlist.h
@@ -273,7 +273,7 @@ static inline void sg_unmark_end(struct scatterlist *sg)
 }
 
 /*
- * One 64-bit architectures there is a 4-byte padding in struct scatterlist
+ * On 64-bit architectures there is a 4-byte padding in struct scatterlist
  * (assuming also CONFIG_NEED_SG_DMA_LENGTH is set). Use this padding for DMA
  * flags bits to indicate when a specific dma address is a bus address or the
  * buffer may have been bounced via SWIOTLB.
-- 
2.34.1
Re: [PATCH] scatterlist: fix a typo
Posted by Petr Tesařík 1 month, 2 weeks ago
On Sat, 12 Oct 2024 18:08:17 +0800
Sui Jingfeng <sui.jingfeng@linux.dev> wrote:

> Replace the 'One' with 'On'.

Yeah, that's right. Thank you!

Reviewed-by: Petr Tesarik <petr@tesarici.cz>

Petr T

> Fixes: af2880ec4402 ("scatterlist: add dedicated config for DMA flags")
> Signed-off-by: Sui Jingfeng <sui.jingfeng@linux.dev>
> ---
>  include/linux/scatterlist.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/include/linux/scatterlist.h b/include/linux/scatterlist.h
> index e61d164622db..c5e2239b550e 100644
> --- a/include/linux/scatterlist.h
> +++ b/include/linux/scatterlist.h
> @@ -273,7 +273,7 @@ static inline void sg_unmark_end(struct scatterlist *sg)
>  }
>  
>  /*
> - * One 64-bit architectures there is a 4-byte padding in struct scatterlist
> + * On 64-bit architectures there is a 4-byte padding in struct scatterlist
>   * (assuming also CONFIG_NEED_SG_DMA_LENGTH is set). Use this padding for DMA
>   * flags bits to indicate when a specific dma address is a bus address or the
>   * buffer may have been bounced via SWIOTLB.