[PATCH] EDAC: Fix typo in comments

chen zhang posted 1 patch 3 years, 5 months ago
drivers/edac/i5400_edac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] EDAC: Fix typo in comments
Posted by chen zhang 3 years, 5 months ago
Fix spelling typo in comments.

Reported-by: k2ci <kernel-bot@kylinos.cn>
Signed-off-by: chen zhang <chenzhang@kylinos.cn>
---
 drivers/edac/i5400_edac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/edac/i5400_edac.c b/drivers/edac/i5400_edac.c
index f76624ee82ef..b04c6dc0cf1f 100644
--- a/drivers/edac/i5400_edac.c
+++ b/drivers/edac/i5400_edac.c
@@ -279,7 +279,7 @@ static inline int from_nf_ferr(unsigned int mask)
 #define FERR_NF_RECOVERABLE	to_nf_mask(ERROR_NF_RECOVERABLE)
 #define FERR_NF_UNCORRECTABLE	to_nf_mask(ERROR_NF_UNCORRECTABLE)
 
-/* Defines to extract the vaious fields from the
+/* Defines to extract the various fields from the
  *	MTRx - Memory Technology Registers
  */
 #define MTR_DIMMS_PRESENT(mtr)		((mtr) & (1 << 10))
-- 
2.25.1
Re: [PATCH] EDAC: Fix typo in comments
Posted by Borislav Petkov 3 years, 4 months ago
On Wed, Nov 02, 2022 at 04:12:48PM +0800, chen zhang wrote:
> Fix spelling typo in comments.
> 
> Reported-by: k2ci <kernel-bot@kylinos.cn>
> Signed-off-by: chen zhang <chenzhang@kylinos.cn>
> ---
>  drivers/edac/i5400_edac.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/edac/i5400_edac.c b/drivers/edac/i5400_edac.c
> index f76624ee82ef..b04c6dc0cf1f 100644
> --- a/drivers/edac/i5400_edac.c
> +++ b/drivers/edac/i5400_edac.c
> @@ -279,7 +279,7 @@ static inline int from_nf_ferr(unsigned int mask)
>  #define FERR_NF_RECOVERABLE	to_nf_mask(ERROR_NF_RECOVERABLE)
>  #define FERR_NF_UNCORRECTABLE	to_nf_mask(ERROR_NF_UNCORRECTABLE)
>  
> -/* Defines to extract the vaious fields from the
> +/* Defines to extract the various fields from the
>   *	MTRx - Memory Technology Registers
>   */
>  #define MTR_DIMMS_PRESENT(mtr)		((mtr) & (1 << 10))
> -- 

Applied, thanks.

-- 
Regards/Gruss,
    Boris.

https://people.kernel.org/tglx/notes-about-netiquette