aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/module.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2014-02-02 19:43:13 -0500
committerRusty Russell <rusty@rustcorp.com.au>2014-03-12 21:40:59 -0400
commit27bba4d6bb3779a6678b31f9c9b9c1553c63fa95 (patch)
tree7659372c0c1cff5d7feb3c621fdafeaf000385c8 /kernel/module.c
parent33807f4f0daec3b00565c2932d95f614f5833adf (diff)
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: Jiri Slaby <jslaby@suse.cz> Cc: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'kernel/module.c')
-rw-r--r--kernel/module.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/kernel/module.c b/kernel/module.c
index d24fcf29cb64..efa1e6031950 100644
--- a/kernel/module.c
+++ b/kernel/module.c
@@ -3809,12 +3809,12 @@ void print_modules(void)
3809 list_for_each_entry_rcu(mod, &modules, list) { 3809 list_for_each_entry_rcu(mod, &modules, list) {
3810 if (mod->state == MODULE_STATE_UNFORMED) 3810 if (mod->state == MODULE_STATE_UNFORMED)
3811 continue; 3811 continue;
3812 printk(" %s%s", mod->name, module_flags(mod, buf)); 3812 pr_cont(" %s%s", mod->name, module_flags(mod, buf));
3813 } 3813 }
3814 preempt_enable(); 3814 preempt_enable();
3815 if (last_unloaded_module[0]) 3815 if (last_unloaded_module[0])
3816 printk(" [last unloaded: %s]", last_unloaded_module); 3816 pr_cont(" [last unloaded: %s]", last_unloaded_module);
3817 printk("\n"); 3817 pr_cont("\n");
3818} 3818}
3819 3819
3820#ifdef CONFIG_MODVERSIONS 3820#ifdef CONFIG_MODVERSIONS