Commit f9b182e24ecb2b3bb33340f053ba31c8c4e1d895
Committed by
Linus Torvalds
1 parent
2e14967075
Exists in
master
and in
39 other branches
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: Mandeep Singh Baines <msb@chromium.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
kernel/taskstats.c
... | ... | @@ -685,7 +685,7 @@ |
685 | 685 | goto err_cgroup_ops; |
686 | 686 | |
687 | 687 | family_registered = 1; |
688 | - printk("registered taskstats version %d\n", TASKSTATS_GENL_VERSION); | |
688 | + pr_info("registered taskstats version %d\n", TASKSTATS_GENL_VERSION); | |
689 | 689 | return 0; |
690 | 690 | err_cgroup_ops: |
691 | 691 | genl_unregister_ops(&family, &taskstats_ops); |