OSDN Git Service

kernel/workqueue.c: pr_warning/pr_warn & printk/pr_info
authorValdis Kletnieks <Valdis.Kletnieks@vt.edu>
Tue, 27 May 2014 18:28:59 +0000 (14:28 -0400)
committerTejun Heo <tj@kernel.org>
Wed, 28 May 2014 14:22:34 +0000 (10:22 -0400)
commit015af06e103fa47af29ada0f564301c81d4973b2
tree2f7c9e01e522659424f24a2c4a0c72b5179d284e
parent74b414ead1133972817d3ce7b934356150d03a7d
kernel/workqueue.c: pr_warning/pr_warn & printk/pr_info

This commit did an incorrect printk->pr_info conversion. If we were
converting to pr_info() we should lose the log_level parameter. The problem is
that this is called (indirectly) by show_regs_print_info(), which is called
with various log_levels (from _INFO clear to _EMERG). So we leave it as
a printk() call so the desired log_level is applied.

Not a full revert, as the other half of the patch is correct.

Signed-off-by: Valdis Kletnieks <valdis.kletnieks@vt.edu>
Signed-off-by: Tejun Heo <tj@kernel.org>
kernel/workqueue.c