[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <802ea8fd-b020-20f5-bcd2-9d58609e5c6b@users.sourceforge.net>
Date: Sat, 22 Oct 2016 21:56:47 +0200
From: SF Markus Elfring <elfring@...rs.sourceforge.net>
To: linux-ia64@...r.kernel.org, Al Viro <viro@...iv.linux.org.uk>,
Borislav Petkov <bp@...e.de>,
Fenghua Yu <fenghua.yu@...el.com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Hans-Christian Noren Egtvedt <egtvedt@...fundet.no>,
Ingo Molnar <mingo@...nel.org>,
Jörg Rödel <jroedel@...e.de>,
Krzysztof Kozlowski <krzk@...nel.org>,
Robert Richter <rrichter@...ium.com>,
Robin Murphy <robin.murphy@....com>,
Tony Luck <tony.luck@...el.com>,
Toshi Kani <toshi.kani@....com>,
Vineet Gupta <vgupta@...opsys.com>
Cc: LKML <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: [PATCH 4/6] IA64-setup: Use seq_putc() in show_cpuinfo()
From: Markus Elfring <elfring@...rs.sourceforge.net>
Date: Sat, 22 Oct 2016 20:42:20 +0200
A single character (line break) should be put into a sequence.
Thus use the corresponding function "seq_putc".
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@...rs.sourceforge.net>
---
arch/ia64/kernel/setup.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/ia64/kernel/setup.c b/arch/ia64/kernel/setup.c
index 7ec7acc..28741f7 100644
--- a/arch/ia64/kernel/setup.c
+++ b/arch/ia64/kernel/setup.c
@@ -705,8 +705,7 @@ show_cpuinfo (struct seq_file *m, void *v)
"thread id : %u\n",
c->core_id, c->thread_id);
#endif
- seq_printf(m,"\n");
-
+ seq_putc(m, '\n');
return 0;
}
--
2.10.1
Powered by blists - more mailing lists