History

kernel/workqueue.c: pr_warning/pr_warn & printk/pr_info

tj: Refreshed on top of wq/for-3.16.

Fabian Frederick committed 12 years ago

Commit 2d916031 parent 534a3fb1 file · +3 −3Browse files

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

Unified · Split

kernel/workqueue.c+3−3
@@ -4117,8 +4117,8 @@ static void wq_update_unbound_numa(struct workqueue_struct *wq, int cpu, · 4116 unmodified lines
41174117 /* create a new pwq */
41184118 pwq = alloc_unbound_pwq(wq, target_attrs);
41194119 if (!pwq) {
4120− pr_warning("workqueue: allocation failed while updating NUMA affinity of \"%s\"\n",
4121− wq->name);
4120+ pr_warn("workqueue: allocation failed while updating NUMA affinity of \"%s\"\n",
4121+ wq->name);
41224122 mutex_lock(&wq->mutex);
41234123 goto use_dfl_pwq;
41244124 }
@@ -4568,7 +4568,7 @@ void print_worker_info(const char *log_lvl, struct task_struct *task) · 443 unmodified lines
45684568 probe_kernel_read(desc, worker->desc, sizeof(desc) - 1);
45694569
45704570 if (fn || name[0] || desc[0]) {
4571− printk("%sWorkqueue: %s %pf", log_lvl, name, fn);
4571+ pr_info("%sWorkqueue: %s %pf", log_lvl, name, fn);
45724572 if (desc[0])
45734573 pr_cont(" (%s)", desc);
45744574 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