Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

authored by

Markus Elfring and committed by
Max Filippov
c32537d4 a351e9b9

+1 -2
+1 -2
arch/xtensa/kernel/setup.c
··· 594 594 (ccount_freq/10000) % 100, 595 595 loops_per_jiffy/(500000/HZ), 596 596 (loops_per_jiffy/(5000/HZ)) % 100); 597 - 598 - seq_printf(f,"flags\t\t: " 597 + seq_puts(f, "flags\t\t: " 599 598 #if XCHAL_HAVE_NMI 600 599 "nmi " 601 600 #endif