Commit 9b59a85
workqueue: Don't call va_start / va_end twice
Calling va_start / va_end multiple times is undefined and causes
problems with certain compiler / platforms.
Change alloc_ordered_workqueue_lockdep_map to a macro and updated
__alloc_workqueue to take a va_list argument.
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Tejun Heo <tj@kernel.org>
Cc: Lai Jiangshan <jiangshanlai@gmail.com>
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Tejun Heo <tj@kernel.org>1 parent 8dffaec commit 9b59a85
2 files changed
+3
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
543 | 543 | | |
544 | 544 | | |
545 | 545 | | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
553 | | - | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | | - | |
558 | | - | |
559 | | - | |
| 546 | + | |
| 547 | + | |
560 | 548 | | |
561 | 549 | | |
562 | 550 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5619 | 5619 | | |
5620 | 5620 | | |
5621 | 5621 | | |
5622 | | - | |
5623 | 5622 | | |
5624 | 5623 | | |
5625 | | - | |
| 5624 | + | |
5626 | 5625 | | |
5627 | | - | |
5628 | 5626 | | |
5629 | 5627 | | |
5630 | 5628 | | |
| |||
5656 | 5654 | | |
5657 | 5655 | | |
5658 | 5656 | | |
5659 | | - | |
5660 | 5657 | | |
5661 | | - | |
5662 | 5658 | | |
5663 | 5659 | | |
5664 | 5660 | | |
| |||
0 commit comments