Skip to content

Commit 6f64a5e

Browse files
committed
Merge tag 'irq_urgent_for_v6.4_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull irq fix from Borislav Petkov: - Fix open firmware quirks validation so that they don't get applied wrongly * tag 'irq_urgent_for_v6.4_rc5' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: irqchip/gic: Correctly validate OF quirk descriptors
2 parents 5e89d62 + 2d5b205 commit 6f64a5e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

drivers/irqchip/irq-gic-common.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ void gic_enable_of_quirks(const struct device_node *np,
1616
const struct gic_quirk *quirks, void *data)
1717
{
1818
for (; quirks->desc; quirks++) {
19+
if (!quirks->compatible && !quirks->property)
20+
continue;
1921
if (quirks->compatible &&
2022
!of_device_is_compatible(np, quirks->compatible))
2123
continue;

0 commit comments

Comments
 (0)