Message ID | a44f2ae6-0242-40a3-bdfc-b81fe862eec9@web.de (mailing list archive) |
---|---|
State | Handled Elsewhere |
Headers | show |
Series | module: tracking: Extend format string of a seq_printf() call in unloaded_tainted_modules_seq_show() | expand |
diff --git a/kernel/module/tracking.c b/kernel/module/tracking.c index 16742d1c630c..9f84271c23b3 100644 --- a/kernel/module/tracking.c +++ b/kernel/module/tracking.c @@ -94,9 +94,7 @@ static int unloaded_tainted_modules_seq_show(struct seq_file *m, void *p) l = module_flags_taint(mod_taint->taints, buf); buf[l++] = '\0'; - seq_printf(m, "%s (%s) %llu", mod_taint->name, buf, mod_taint->count); - seq_puts(m, "\n"); - + seq_printf(m, "%s (%s) %llu\n", mod_taint->name, buf, mod_taint->count); return 0; }