Message ID | 0750654d-a21f-44b5-bf90-1474ec5f88e1@web.de (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | module: Use seq_putc() in two functions | expand |
diff --git a/kernel/module/procfs.c b/kernel/module/procfs.c index 0a4841e88adb..dc91d3dba8f3 100644 --- a/kernel/module/procfs.c +++ b/kernel/module/procfs.c @@ -35,7 +35,7 @@ static inline void print_unload_info(struct seq_file *m, struct module *mod) } if (!printed_something) - seq_puts(m, "-"); + seq_putc(m, '-'); } #else /* !CONFIG_MODULE_UNLOAD */ static inline void print_unload_info(struct seq_file *m, struct module *mod) @@ -99,7 +99,7 @@ static int m_show(struct seq_file *m, void *p) if (mod->taints) seq_printf(m, " %s", module_flags(mod, buf, true)); - seq_puts(m, "\n"); + seq_putc(m, '\n'); return 0; }