diff options
| author | Tejun Heo <tj@kernel.org> | 2026-04-29 09:44:16 -1000 |
|---|---|---|
| committer | Tejun Heo <tj@kernel.org> | 2026-04-29 09:44:16 -1000 |
| commit | 20e81c64c905bd765e69ef07920d2b1130dc79b6 (patch) | |
| tree | eb6a0a4db318f5676b5ddf9b65f2176d2f0626fb /rust/kernel/block | |
| parent | 0de4cb473aed57ee4ba7e0551ad27bddc19fc519 (diff) | |
workqueue: Annotate alloc_workqueue_va() with __printf(1, 0)
alloc_workqueue_va() forwards its va_list to __alloc_workqueue() which
ultimately feeds vsnprintf(). __alloc_workqueue() already carries
__printf(1, 0); the new wrapper needs the same annotation so format
string checking propagates through the forwarding.
Fixes: 0de4cb473aed ("workqueue: fix devm_alloc_workqueue() va_list misuse")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202604300347.2LgXyteh-lkp@intel.com/
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'rust/kernel/block')
0 files changed, 0 insertions, 0 deletions
