Commit 85c4f6b
Robert Foss
workqueue: Don't call va_start / va_end twice
JIRA: https://issues.redhat.com/browse/RHEL-53569
Upstream Status: v6.12-rc1
commit 9b59a85
Author: Matthew Brost <matthew.brost@intel.com>
AuthorDate: Tue Aug 20 12:38:08 2024 -0700
Commit: Tejun Heo <tj@kernel.org>
CommitDate: Tue Aug 20 09:38:39 2024 -1000
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>
Signed-off-by: Robert Foss <rfoss@redhat.com>1 parent e29258c commit 85c4f6b
2 files changed
+3
-19
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
539 | | - | |
540 | | - | |
541 | | - | |
542 | | - | |
543 | | - | |
544 | | - | |
545 | | - | |
546 | | - | |
547 | | - | |
548 | | - | |
549 | | - | |
550 | | - | |
551 | | - | |
552 | | - | |
| 539 | + | |
| 540 | + | |
553 | 541 | | |
554 | 542 | | |
555 | 543 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5537 | 5537 | | |
5538 | 5538 | | |
5539 | 5539 | | |
5540 | | - | |
5541 | 5540 | | |
5542 | 5541 | | |
5543 | | - | |
| 5542 | + | |
5544 | 5543 | | |
5545 | | - | |
5546 | 5544 | | |
5547 | 5545 | | |
5548 | 5546 | | |
| |||
5574 | 5572 | | |
5575 | 5573 | | |
5576 | 5574 | | |
5577 | | - | |
5578 | 5575 | | |
5579 | | - | |
5580 | 5576 | | |
5581 | 5577 | | |
5582 | 5578 | | |
| |||
0 commit comments