Commit f9b182e2 authored by Mandeep Singh Baines's avatar Mandeep Singh Baines Committed by Linus Torvalds

taskstats: use appropriate printk priority level

printk()s without a priority level default to KERN_WARNING.  To reduce
noise at KERN_WARNING, this patch set the priority level appriopriately
for unleveled printks()s.  This should be useful to folks that look at
dmesg warnings closely.
Signed-off-by: default avatarMandeep Singh Baines <msb@chromium.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 2e149670
...@@ -685,7 +685,7 @@ static int __init taskstats_init(void) ...@@ -685,7 +685,7 @@ static int __init taskstats_init(void)
goto err_cgroup_ops; goto err_cgroup_ops;
family_registered = 1; family_registered = 1;
printk("registered taskstats version %d\n", TASKSTATS_GENL_VERSION); pr_info("registered taskstats version %d\n", TASKSTATS_GENL_VERSION);
return 0; return 0;
err_cgroup_ops: err_cgroup_ops:
genl_unregister_ops(&family, &taskstats_ops); genl_unregister_ops(&family, &taskstats_ops);
......
Markdown is supported
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