From: Markus Elfring <elfr...@users.sourceforge.net>
Date: Sat, 22 Oct 2016 20:53:38 +0200

A string which did not contain a data format specification should be put
into a sequence. Thus use the corresponding function "seq_puts".

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfr...@users.sourceforge.net>
---
 arch/ia64/sn/kernel/sn2/sn_hwperf.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/ia64/sn/kernel/sn2/sn_hwperf.c 
b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
index b999257..435002a 100644
--- a/arch/ia64/sn/kernel/sn2/sn_hwperf.c
+++ b/arch/ia64/sn/kernel/sn2/sn_hwperf.c
@@ -400,9 +400,9 @@ static int sn_topology_show(struct seq_file *s, void *d)
        int nasid_msb;
 
        if (obj == objs) {
-               seq_printf(s, "# sn_topology version 2\n");
-               seq_printf(s, "# objtype ordinal location partition"
-                       " [attribute value [, ...]]\n");
+               seq_puts(s,
+                        "# sn_topology version 2\n"
+                        "# objtype ordinal location partition [attribute value 
[, ...]]\n");
 
                if (ia64_sn_get_sn_info(0,
                        &shubtype, &nasid_mask, &nasid_shift, &system_size,
-- 
2.10.1

Reply via email to