Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1479652 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2016-09-09 06:40 +0200
Last post2016-09-12 15:30 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  linux-next: build failure after merge of the gpio tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-09-09 06:40 +0200
    Re: linux-next: build failure after merge of the gpio tree Linus Walleij <linus.walleij@linaro.org> - 2016-09-12 15:30 +0200

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

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2016-09-09 06:40 +0200
Subjectlinux-next: build failure after merge of the gpio tree
Message-ID<sflLz-6LR-3@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1481283

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-09-12 15:30 +0200
Message-ID<sgzt8-3QU-31@gated-at.bofh.it>
In reply to#1479652
On Fri, Sep 9, 2016 at 6:36 AM, Stephen Rothwell <sfr@canb.auug.org.au> 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

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web