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

From: Linus Walleij
Date: Mon Sep 12 2016 - 09:27:15 EST


On Fri, Sep 9, 2016 at 6:36 AM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> After merging the gpio tree, today's linux-next build (arm
> multi_v7_defconfig) failed like this:
>
> drivers/gpio/gpiolib.c: In function '_gpiochip_irqchip_add':
> drivers/gpio/gpiolib.c:1622:62: error: macro "WARN_ON" passed 3 arguments, but takes just 1
> "%s: Ignoring %d default trigger\n", of_node->full_name))
> ^
> drivers/gpio/gpiolib.c:1621:6: error: 'WARN_ON' undeclared (first use in this function)
> if (WARN_ON(of_node && type != IRQ_TYPE_NONE,
> ^
>
> Caused by commit
>
> 1ded8b1dafe6 ("gpio/gpiolib: Forbid irqchip default trigger if probed over DT")
>
> I used the version of the gpio tree from next-20160908 for today.

Sorry about this, fixed it up.

Yours,
Linus Walleij