Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c32537d4 authored by Markus Elfring's avatar Markus Elfring Committed by Max Filippov
Browse files

xtensa: Use seq_puts() in c_show()



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: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: default avatarMax Filippov <jcmvbkbc@gmail.com>
parent a351e9b9
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -594,8 +594,7 @@ c_show(struct seq_file *f, void *slot)
		      (ccount_freq/10000) % 100,
		      loops_per_jiffy/(500000/HZ),
		      (loops_per_jiffy/(5000/HZ)) % 100);

	seq_printf(f,"flags\t\t: "
	seq_puts(f, "flags\t\t: "
#if XCHAL_HAVE_NMI
		     "nmi "
#endif