提交 16273010 编写于 作者: M Markus Elfring 提交者: Paul Mackerras

KVM: PPC: Use seq_puts() in kvmppc_exit_timing_show()

A headline should be quickly put into a sequence. Thus use the
function "seq_puts" instead of "seq_printf" for this purpose.

This issue was detected by using the Coccinelle software.
Signed-off-by: NMarkus Elfring <elfring@users.sourceforge.net>
Signed-off-by: NPaul Mackerras <paulus@ozlabs.org>
上级 81ceca05
...@@ -143,8 +143,7 @@ static int kvmppc_exit_timing_show(struct seq_file *m, void *private) ...@@ -143,8 +143,7 @@ static int kvmppc_exit_timing_show(struct seq_file *m, void *private)
int i; int i;
u64 min, max, sum, sum_quad; u64 min, max, sum, sum_quad;
seq_printf(m, "%s", "type count min max sum sum_squared\n"); seq_puts(m, "type count min max sum sum_squared\n");
for (i = 0; i < __NUMBER_OF_KVM_EXIT_TYPES; i++) { for (i = 0; i < __NUMBER_OF_KVM_EXIT_TYPES; i++) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册