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

From: Aidan MacDonald <[email-masked]>
Date: Tue, 05 Jul 2022 15:26:59 +0100

Lee Jones <[email-masked]> writes:

> 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?

This is missing the prerequisite regmap-irq patches, sorry if it wasn't
clear from the cover letter.

Link: https://lore.kernel.org/lkml/[email-masked]/