[PATCH] LoongArch: Fix Chinese comma

Jinyang He posted 1 patch 2 years, 7 months ago
arch/loongarch/include/asm/cpu.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] LoongArch: Fix Chinese comma
Posted by Jinyang He 2 years, 7 months ago
Fix Chinese comma in cpu.h.

Signed-off-by: Jinyang He <hejinyang@loongson.cn>
---
 arch/loongarch/include/asm/cpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/loongarch/include/asm/cpu.h b/arch/loongarch/include/asm/cpu.h
index 754f28506791..c3da91759472 100644
--- a/arch/loongarch/include/asm/cpu.h
+++ b/arch/loongarch/include/asm/cpu.h
@@ -36,7 +36,7 @@
 
 #define PRID_SERIES_LA132	0x8000  /* Loongson 32bit */
 #define PRID_SERIES_LA264	0xa000  /* Loongson 64bit, 2-issue */
-#define PRID_SERIES_LA364	0xb000  /* Loongson 64bit,3-issue */
+#define PRID_SERIES_LA364	0xb000  /* Loongson 64bit, 3-issue */
 #define PRID_SERIES_LA464	0xc000  /* Loongson 64bit, 4-issue */
 #define PRID_SERIES_LA664	0xd000  /* Loongson 64bit, 6-issue */
 
-- 
2.34.3

Re: [PATCH] LoongArch: Fix Chinese comma
Posted by Xi Ruoyao 2 years, 7 months ago
On Wed, 2023-02-01 at 17:29 +0800, Jinyang He wrote:
> Fix Chinese comma in cpu.h.
> 
> Signed-off-by: Jinyang He <hejinyang@loongson.cn>

This is obvious, while I'm wondering if we have a "-Werror=something"
compiler option which can catch non-ASCII characters immediately.

> ---
>  arch/loongarch/include/asm/cpu.h | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/arch/loongarch/include/asm/cpu.h
> b/arch/loongarch/include/asm/cpu.h
> index 754f28506791..c3da91759472 100644
> --- a/arch/loongarch/include/asm/cpu.h
> +++ b/arch/loongarch/include/asm/cpu.h
> @@ -36,7 +36,7 @@
>  
>  #define PRID_SERIES_LA132      0x8000  /* Loongson 32bit */
>  #define PRID_SERIES_LA264      0xa000  /* Loongson 64bit, 2-issue */
> -#define PRID_SERIES_LA364      0xb000  /* Loongson 64bit,3-issue */
> +#define PRID_SERIES_LA364      0xb000  /* Loongson 64bit, 3-issue */
>  #define PRID_SERIES_LA464      0xc000  /* Loongson 64bit, 4-issue */
>  #define PRID_SERIES_LA664      0xd000  /* Loongson 64bit, 6-issue */
>  

-- 
Xi Ruoyao <xry111@xry111.site>
School of Aerospace Science and Technology, Xidian University
Re: [PATCH] LoongArch: Fix Chinese comma
Posted by Huacai Chen 2 years, 7 months ago
Queued, thanks.

Huacai

On Wed, Feb 1, 2023 at 7:09 PM Xi Ruoyao <xry111@xry111.site> wrote:
>
> On Wed, 2023-02-01 at 17:29 +0800, Jinyang He wrote:
> > Fix Chinese comma in cpu.h.
> >
> > Signed-off-by: Jinyang He <hejinyang@loongson.cn>
>
> This is obvious, while I'm wondering if we have a "-Werror=something"
> compiler option which can catch non-ASCII characters immediately.
>
> > ---
> >  arch/loongarch/include/asm/cpu.h | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/arch/loongarch/include/asm/cpu.h
> > b/arch/loongarch/include/asm/cpu.h
> > index 754f28506791..c3da91759472 100644
> > --- a/arch/loongarch/include/asm/cpu.h
> > +++ b/arch/loongarch/include/asm/cpu.h
> > @@ -36,7 +36,7 @@
> >
> >  #define PRID_SERIES_LA132      0x8000  /* Loongson 32bit */
> >  #define PRID_SERIES_LA264      0xa000  /* Loongson 64bit, 2-issue */
> > -#define PRID_SERIES_LA364      0xb000  /* Loongson 64bit,3-issue */
> > +#define PRID_SERIES_LA364      0xb000  /* Loongson 64bit, 3-issue */
> >  #define PRID_SERIES_LA464      0xc000  /* Loongson 64bit, 4-issue */
> >  #define PRID_SERIES_LA664      0xd000  /* Loongson 64bit, 6-issue */
> >
>
> --
> Xi Ruoyao <xry111@xry111.site>
> School of Aerospace Science and Technology, Xidian University