2022-11-02 08:32:07

by chen zhang

[permalink] [raw]
Subject: [PATCH] EDAC: Fix typo in comments

Fix spelling typo in comments.

Reported-by: k2ci <[email protected]>
Signed-off-by: chen zhang <[email protected]>
---
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



2022-11-25 19:02:09

by Borislav Petkov

[permalink] [raw]
Subject: Re: [PATCH] EDAC: Fix typo in comments

On Wed, Nov 02, 2022 at 04:12:48PM +0800, chen zhang wrote:
> Fix spelling typo in comments.
>
> Reported-by: k2ci <[email protected]>
> Signed-off-by: chen zhang <[email protected]>
> ---
> 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