History

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.

Valdis Kletnieks committed 12 years ago

Commit 015af061 parent 74b414e1 file · +1 −1Browse files

Showing the changes to kernel/workqueue.c (1 of 1 file). Show all

Unified · Split

kernel/workqueue.c+1−1
@@ -4440,7 +4440,7 @@ void print_worker_info(const char *log_lvl, struct task_struct *task) · 4439 unmodified lines
4440 probe_kernel_read(desc, worker->desc, sizeof(desc) - 1);4440 probe_kernel_read(desc, worker->desc, sizeof(desc) - 1);
4441 4441
4442 if (fn || name[0] || desc[0]) {4442 if (fn || name[0] || desc[0]) {
4443 pr_info("%sWorkqueue: %s %pf", log_lvl, name, fn);4443 printk("%sWorkqueue: %s %pf", log_lvl, name, fn);
4444 if (desc[0])4444 if (desc[0])
4445 pr_cont(" (%s)", desc);4445 pr_cont(" (%s)", desc);
4446 pr_cont("\n");4446 pr_cont("\n");

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t