MIPS: kernel: proc: Fix typo in proc.c
PATCH 1/1 MIPS: kernel: proc: Fix typo in proc.c
Fix typo introduced in commit 515a6393 (MIPS: kernel: proc: Add MIPS R6 support to /proc/cpuinfo), mips1 should be tested against cpu_has_mips_1, not cpu_has_mips_r1.
arch/mips/kernel/proc.c +1 -1
@@ -83,7 +83,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) }seq_printf (m,"isa\t\t\t:" ); -if (cpu_has_mips_r1) +if (cpu_has_mips_1)seq_printf (m," mips1" );if (cpu_has_mips_2)seq_printf (m,"%s" ," mips2" );
Quoted 13 lines · Tony Wu
Fix typo introduced in commit
515a6393(MIPS: kernel: proc: Add MIPS R6 support to/proc/cpuinfo), mips1 should be tested againstcpu_has_mips_1, notcpu_has_mips_r1.Signed-off-by Tony Wu <[email protected]>Cc Markos Chandras <[email protected]>arch/mips/kernel/proc.c +0
-0
arch/mips/kernel/proc.c static int show_cpuinfo(struct seq_file *m, void *v) · line 89
Quoted 8 lines
arch/mips/kernel/proc.c +1
-1@@ -83,7 +83,7 @@ static int show_cpuinfo(struct seq_file *m, void *v) }seq_printf (m,"isa\t\t\t:" ); -if (cpu_has_mips_r1) +if (cpu_has_mips_1)seq_printf (m," mips1" );if (cpu_has_mips_2)seq_printf (m,"%s" ," mips2" );
Good catch. Might worth adding CC:stable #v4.0+ as well
Signature · 1 line
markos
Hello.
Quoted 1 line · Tony Wu
Fix typo introduced in commit
515a6393(MIPS: kernel: proc: Add
Please run the patch scripts/checkpatch.pl -- it now enforces certain
style of the commit citing.
Quoted 5 lines
MIPS R6 support to
/proc/cpuinfo), mips1 should be tested againstcpu_has_mips_1, notcpu_has_mips_r1.Signed-off-by Tony Wu <[email protected]>Cc Markos Chandras <[email protected]>
MBR, Sergei