Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

irqchip/gic-v3-its: Fix VPE activate callback return value

its_vpe_irq_domain_activate should always return 0. Really. There
is not a single case why it wouldn't. So this "return true;" is
really a copy/paste issue that got revealed now that we actually
check the return value of the activate method.

Brown paper bag day.

Fixes: 2247e1bf7063 ("irqchip/gic-v3-its: Limit scope of VPE mapping to be per ITS")
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>

+1 -1
+1 -1
drivers/irqchip/irq-gic-v3-its.c
··· 2802 2802 2803 2803 /* If we use the list map, we issue VMAPP on demand... */ 2804 2804 if (its_list_map) 2805 - return true; 2805 + return 0; 2806 2806 2807 2807 /* Map the VPE to the first possible CPU */ 2808 2808 vpe->col_idx = cpumask_first(cpu_online_mask);