aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorGyeyoung Baek <[email protected]>2025-06-12 12:48:27 +0000
committerThomas Gleixner <[email protected]>2025-06-13 13:36:35 +0000
commit8a2277a3c9e4cc5398f80821afe7ecbe9bdf2819 (patch)
tree3b3abbc7669d48484a573cd3493950f6b190c110 /rust/helpers/helpers.c
parentgenirq/cpuhotplug: Restore affinity even for suspended IRQ (diff)
downloadkernel-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