Re: [patch] irqchip/sirfsoc: Fix generic chip allocation wreckage

From: Thomas Gleixner
Date: Thu Jul 09 2015 - 04:24:34 EST


On Mon, 6 Jul 2015, Thomas Gleixner wrote:
>
> #define SIRFSOC_NUM_IRQS 64
> +#define SIRFSOC_NUM_BANKS (SIRFSOC_NUM_IRQS / 2)

Heat induced brain damage, that wants to be:

+#define SIRFSOC_NUM_BANKS (SIRFSOC_NUM_IRQS / 32)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/