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

From: Stephen Rothwell
Date: Fri Sep 09 2016 - 00:37:05 EST


Hi Linus,

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.

--
Cheers,
Stephen Rothwell