Skip to content

Commit f9b182e

Browse files
Mandeep Singh Bainestorvalds
authored andcommitted
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>
1 parent 2e14967 commit f9b182e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎kernel/taskstats.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ static int __init taskstats_init(void)
685685
goto err_cgroup_ops;
686686

687687
family_registered = 1;
688-
printk("registered taskstats version %d\n", TASKSTATS_GENL_VERSION);
688+
pr_info("registered taskstats version %d\n", TASKSTATS_GENL_VERSION);
689689
return 0;
690690
err_cgroup_ops:
691691
genl_unregister_ops(&family, &taskstats_ops);

0 commit comments

Comments
 (0)