Commit 27bba4d6 authored by Jiri Slaby's avatar Jiri Slaby Committed by Rusty Russell
Browse files

module: use pr_cont

When dumping loaded modules, we print them one by one in separate
printks. Let's use pr_cont as they are continuation prints.

Signed-off-by: default avatarJiri Slaby <>
Cc: Rusty Russell <>
Signed-off-by: default avatarRusty Russell <>
parent 33807f4f
......@@ -3809,12 +3809,12 @@ void print_modules(void)
list_for_each_entry_rcu(mod, &modules, list) {
if (mod->state == MODULE_STATE_UNFORMED)
printk(" %s%s", mod->name, module_flags(mod, buf));
pr_cont(" %s%s", mod->name, module_flags(mod, buf));
if (last_unloaded_module[0])
printk(" [last unloaded: %s]", last_unloaded_module);
pr_cont(" [last unloaded: %s]", last_unloaded_module);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment