Re: linux-next: build failure after merge of the mfd tree

From: Lee Jones
Date: Tue Jul 05 2022 - 09:06:08 EST


On Tue, 05 Jul 2022, Stephen Rothwell wrote:

> Hi all,
>
> After merging the mfd tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> drivers/mfd/axp20x.c:634:35: error: initialization of 'unsigned int (*)(struct regmap_irq_chip_data *, unsigned int, int)' from incompatible pointer type 'int (*)(unsigned int, int)' [-Werror=incompatible-pointer-types]
> 634 | .get_irq_reg = axp192_get_irq_reg,
> | ^~~~~~~~~~~~~~~~~~
> drivers/mfd/axp20x.c:634:35: note: (near initialization for 'axp192_regmap_irq_chip.get_irq_reg')
>
> Caused by commit
>
> 8c7d8aa029a3 ("mfd: axp20x: Add support for AXP192")
>
> I have used the mfd tree from next-20220704 for today.

Aidan, what are your plans?

--
Lee Jones [李琼斯]
Principal Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog