Commit 01fde9a0 authored by Ilya Lipnitskiy's avatar Ilya Lipnitskiy Committed by Thomas Bogendoerfer
Browse files

MIPS: kernel: proc: fix trivial style errors



Fix the following checkpatch errors - no logic changes:

WARNING: Block comments use a trailing */ on a separate line
+ *   */
ERROR: space prohibited before open square bracket '['
+	char fmt [64];
ERROR: space prohibited before that ',' (ctx:WxE)
+			seq_printf(m, "%s0x%04x", i ? ", " : "" ,
ERROR: trailing whitespace
+^Iseq_printf(m, "isa\t\t\t:"); $
ERROR: trailing statements should be on next line

Signed-off-by: default avatarIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Signed-off-by: default avatarThomas Bogendoerfer <tsbogend@alpha.franken.de>
parent a923a267
Loading
Loading
Loading
Loading
+43 −24
Original line number Diff line number Diff line
@@ -19,8 +19,8 @@
unsigned int vced_count, vcei_count;

/*
 *  * No lock; only written during early bootup by CPU 0.
 *   */
 * No lock; only written during early bootup by CPU 0.
 */
static RAW_NOTIFIER_HEAD(proc_cpuinfo_chain);

int __ref register_proc_cpuinfo_notifier(struct notifier_block *nb)
@@ -113,25 +113,44 @@ static int show_cpuinfo(struct seq_file *m, void *v)
	seq_printf(m, "\n");

	seq_printf(m, "ASEs implemented\t:");
	if (cpu_has_mips16)	seq_printf(m, "%s", " mips16");
	if (cpu_has_mips16e2)	seq_printf(m, "%s", " mips16e2");
	if (cpu_has_mdmx)	seq_printf(m, "%s", " mdmx");
	if (cpu_has_mips3d)	seq_printf(m, "%s", " mips3d");
	if (cpu_has_smartmips)	seq_printf(m, "%s", " smartmips");
	if (cpu_has_dsp)	seq_printf(m, "%s", " dsp");
	if (cpu_has_dsp2)	seq_printf(m, "%s", " dsp2");
	if (cpu_has_dsp3)	seq_printf(m, "%s", " dsp3");
	if (cpu_has_mipsmt)	seq_printf(m, "%s", " mt");
	if (cpu_has_mmips)	seq_printf(m, "%s", " micromips");
	if (cpu_has_vz)		seq_printf(m, "%s", " vz");
	if (cpu_has_msa)	seq_printf(m, "%s", " msa");
	if (cpu_has_eva)	seq_printf(m, "%s", " eva");
	if (cpu_has_htw)	seq_printf(m, "%s", " htw");
	if (cpu_has_xpa)	seq_printf(m, "%s", " xpa");
	if (cpu_has_loongson_mmi)	seq_printf(m, "%s", " loongson-mmi");
	if (cpu_has_loongson_cam)	seq_printf(m, "%s", " loongson-cam");
	if (cpu_has_loongson_ext)	seq_printf(m, "%s", " loongson-ext");
	if (cpu_has_loongson_ext2)	seq_printf(m, "%s", " loongson-ext2");
	if (cpu_has_mips16)
		seq_printf(m, "%s", " mips16");
	if (cpu_has_mips16e2)
		seq_printf(m, "%s", " mips16e2");
	if (cpu_has_mdmx)
		seq_printf(m, "%s", " mdmx");
	if (cpu_has_mips3d)
		seq_printf(m, "%s", " mips3d");
	if (cpu_has_smartmips)
		seq_printf(m, "%s", " smartmips");
	if (cpu_has_dsp)
		seq_printf(m, "%s", " dsp");
	if (cpu_has_dsp2)
		seq_printf(m, "%s", " dsp2");
	if (cpu_has_dsp3)
		seq_printf(m, "%s", " dsp3");
	if (cpu_has_mipsmt)
		seq_printf(m, "%s", " mt");
	if (cpu_has_mmips)
		seq_printf(m, "%s", " micromips");
	if (cpu_has_vz)
		seq_printf(m, "%s", " vz");
	if (cpu_has_msa)
		seq_printf(m, "%s", " msa");
	if (cpu_has_eva)
		seq_printf(m, "%s", " eva");
	if (cpu_has_htw)
		seq_printf(m, "%s", " htw");
	if (cpu_has_xpa)
		seq_printf(m, "%s", " xpa");
	if (cpu_has_loongson_mmi)
		seq_printf(m, "%s", " loongson-mmi");
	if (cpu_has_loongson_cam)
		seq_printf(m, "%s", " loongson-cam");
	if (cpu_has_loongson_ext)
		seq_printf(m, "%s", " loongson-ext");
	if (cpu_has_loongson_ext2)
		seq_printf(m, "%s", " loongson-ext2");
	seq_printf(m, "\n");

	if (cpu_has_mmips) {