aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_target.rs
diff options
context:
space:
mode:
authorMaxime Chevallier <[email protected]>2024-08-23 10:07:12 +0000
committerThomas Gleixner <[email protected]>2024-08-23 11:55:15 +0000
commit880799fc7a3a127c43143935c1a8767d77c19cae (patch)
tree90a3a15ecbefb1f552fc621cf4b2d2a546aec477 /scripts/generate_rust_target.rs
parentirqchip/gic-v3: Init SRE before poking sysregs (diff)
downloadkernel-880799fc7a3a127c43143935c1a8767d77c19cae.tar.gz
kernel-880799fc7a3a127c43143935c1a8767d77c19cae.zip
irqchip/irq-msi-lib: Check for NULL ops in msi_lib_irq_domain_select()
The irq_domain passed to msi_lib_irq_domain_select() may not have msi_parent_ops set. There is a NULL pointer check for it, but unfortunately there is a dereference of the parent ops pointer before that. Move the NULL pointer test before the first use of that pointer. This was found on a MacchiatoBin (Marvell Armada 8K SoC), which uses the irq-mvebu-sei driver. Fixes: 72e257c6f058 ("irqchip: Provide irq-msi-lib") Signed-off-by: Maxime Chevallier <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Link: https://lore.kernel.org/all/[email protected] Closes: https://lore.kernel.org/all/[email protected]/
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions