Skip to content

Commit

Permalink
taskstats: use appropriate printk priority level
Browse files Browse the repository at this point in the history
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: Mandeep Singh Baines <msb@chromium.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Mandeep Singh Baines authored and Linus Torvalds committed Mar 24, 2011
1 parent 2e14967 commit f9b182e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/taskstats.c
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ static int __init taskstats_init(void)
goto err_cgroup_ops;

family_registered = 1;
printk("registered taskstats version %d\n", TASKSTATS_GENL_VERSION);
pr_info("registered taskstats version %d\n", TASKSTATS_GENL_VERSION);
return 0;
err_cgroup_ops:
genl_unregister_ops(&family, &taskstats_ops);
Expand Down

0 comments on commit f9b182e

Please sign in to comment.