All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: kernel: proc: Remove spurious white space in cpuinfo
@ 2017-10-20 14:20 Aleksandar Markovic
  2017-10-20 15:17 ` Joe Perches
  2017-10-20 20:47   ` Maciej W. Rozycki
  0 siblings, 2 replies; 12+ messages in thread
From: Aleksandar Markovic @ 2017-10-20 14:20 UTC (permalink / raw)
  To: linux-mips
  Cc: Dragan Cecavac, Aleksandar Markovic, Douglas Leung, Goran Ferenc,
	James Hogan, James Hogan, linux-kernel, Maciej W. Rozycki,
	Miodrag Dinic, Paul Burton, Paul Burton, Petar Jovanovic,
	Raghu Gandham, Ralf Baechle

From: Dragan Cecavac <dragan.cecavac@mips.com>

Remove unnecessary space from FPU info segment of /proc/cpuinfo.

Signed-off-by: Dragan Cecavac <dragan.cecavac@mips.com>
Signed-off-by: Aleksandar Markovic <aleksandar.markovic@mips.com>
---
 arch/mips/kernel/proc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/kernel/proc.c b/arch/mips/kernel/proc.c
index bd9bf52..99f9aab 100644
--- a/arch/mips/kernel/proc.c
+++ b/arch/mips/kernel/proc.c
@@ -58,7 +58,7 @@ static int show_cpuinfo(struct seq_file *m, void *v)
 
 	seq_printf(m, "processor\t\t: %ld\n", n);
 	sprintf(fmt, "cpu model\t\t: %%s V%%d.%%d%s\n",
-		      cpu_data[n].options & MIPS_CPU_FPU ? "  FPU V%d.%d" : "");
+		      cpu_data[n].options & MIPS_CPU_FPU ? " FPU V%d.%d" : "");
 	seq_printf(m, fmt, __cpu_name[n],
 		      (version >> 4) & 0x0f, version & 0x0f,
 		      (fp_vers >> 4) & 0x0f, fp_vers & 0x0f);
-- 
2.7.4

^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2017-10-23  8:00 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-20 14:20 [PATCH] MIPS: kernel: proc: Remove spurious white space in cpuinfo Aleksandar Markovic
2017-10-20 15:17 ` Joe Perches
2017-10-20 20:52   ` Maciej W. Rozycki
2017-10-20 20:52     ` Maciej W. Rozycki
2017-10-20 21:08     ` Joe Perches
2017-10-20 21:46       ` Maciej W. Rozycki
2017-10-20 21:46         ` Maciej W. Rozycki
2017-10-20 23:09         ` Joe Perches
2017-10-20 20:47 ` Maciej W. Rozycki
2017-10-20 20:47   ` Maciej W. Rozycki
2017-10-20 23:56   ` David Daney
2017-10-23  7:54     ` Miodrag Dinic

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.