EDAC: Fix typo in comments

Message ID 20221102081248.45694-1-chenzhang@kylinos.cn
State New
Headers
Series EDAC: Fix typo in comments |

Commit Message

chen zhang Nov. 2, 2022, 8:12 a.m. UTC
  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(-)
  

Comments

Borislav Petkov Nov. 25, 2022, 6:31 p.m. UTC | #1
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.
  

Patch

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