diff options
| author | Gyeyoung Baek <[email protected]> | 2025-06-12 12:48:27 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2025-06-13 13:36:35 +0000 |
| commit | 8a2277a3c9e4cc5398f80821afe7ecbe9bdf2819 (patch) | |
| tree | 3b3abbc7669d48484a573cd3493950f6b190c110 /rust/helpers/helpers.c | |
| parent | genirq/cpuhotplug: Restore affinity even for suspended IRQ (diff) | |
| download | kernel-8a2277a3c9e4cc5398f80821afe7ecbe9bdf2819.tar.gz kernel-8a2277a3c9e4cc5398f80821afe7ecbe9bdf2819.zip | |
genirq/irq_sim: Initialize work context pointers properly
Initialize `ops` member's pointers properly by using kzalloc() instead of
kmalloc() when allocating the simulation work context. Otherwise the
pointers contain random content leading to invalid dereferencing.
Signed-off-by: Gyeyoung Baek <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
