projects/linux·commit f9b182e2

taskstats: use appropriate printk priority level

f9b182e2 · Mandeep Singh Baines <[email protected]> · 2011-03-23 16:43:27 -07:00

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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Commit
f9b182e24ecb2b3bb33340f053ba31c8c4e1d895
Parents
2e149670

Changes

1 files changed · +1 −1

FileStatusAddDelContent
kernel/taskstats.cmodified+1−1View file

kernel/taskstats.c

View file
diff --git a/kernel/taskstats.c b/kernel/taskstats.c
index 3971c6b..9ffea36 100644
--- a/kernel/taskstats.c
+++ b/kernel/taskstats.c
@@ -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);