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


Groups > linux.kernel > #1321270 > unrolled thread

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

Started byStephen Rothwell <sfr@canb.auug.org.au>
First post2016-01-29 02:50 +0100
Last post2016-02-08 18:40 +0100
Articles 3 — 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-01-29 02:50 +0100
    Re: linux-next: build failure after merge of the gpio tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-02-04 03:20 +0100
      Re: linux-next: build failure after merge of the gpio tree Linus Walleij <linus.walleij@linaro.org> - 2016-02-08 18:40 +0100

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

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2016-01-29 02:50 +0100
Subjectlinux-next: build failure after merge of the gpio tree
Message-ID<qW6md-3JJ-7@gated-at.bofh.it>
Hi Linus,

After merging the gpio tree, today's linux-next build (x86_64
allmodconfig) failed like this:

drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_save_regs':
drivers/gpio/gpio-mpc8xxx.c:57:21: error: implicit declaration of function 'in_be32' [-Werror=implicit-function-declaration]
  mpc8xxx_gc->data = in_be32(mm->regs + GPIO_DAT);
                     ^
drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_set':
drivers/gpio/gpio-mpc8xxx.c:100:2: error: implicit declaration of function 'out_be32' [-Werror=implicit-function-declaration]
  out_be32(mm->regs + GPIO_DAT, mpc8xxx_gc->data);
  ^
drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_dir_in':
drivers/gpio/gpio-mpc8xxx.c:139:2: error: implicit declaration of function 'clrbits32' [-Werror=implicit-function-declaration]
  clrbits32(mm->regs + GPIO_DIR, mpc8xxx_gpio2mask(gpio));
  ^
drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_dir_out':
drivers/gpio/gpio-mpc8xxx.c:156:2: error: implicit declaration of function 'setbits32' [-Werror=implicit-function-declaration]
  setbits32(mm->regs + GPIO_DIR, mpc8xxx_gpio2mask(gpio));
  ^
drivers/gpio/gpio-mpc8xxx.c: In function 'mpc512x_irq_set_type':
drivers/gpio/gpio-mpc8xxx.c:289:3: error: implicit declaration of function 'clrsetbits_be32' [-Werror=implicit-function-declaration]
   clrsetbits_be32(reg, 3 << shift, 2 << shift);
   ^
drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_probe':
drivers/gpio/gpio-mpc8xxx.c:419:26: error: 'NO_IRQ' undeclared (first use in this function)
  if (mpc8xxx_gc->irqn == NO_IRQ)   
                          ^
drivers/gpio/gpio-mpc8xxx.c:419:26: note: each undeclared identifier is reported only once for each function it appears in

Exposed by commit

  5df7fd46b70b ("pio/qoriq: Add qoriq platforms support")

The COMPILE_TEST dependency has revealed several implicit includes ...

I have used the gpio tree from next-20160128 for today.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[toc] | [next] | [standalone]


#1326350

FromStephen Rothwell <sfr@canb.auug.org.au>
Date2016-02-04 03:20 +0100
Message-ID<qYhGy-2jU-7@gated-at.bofh.it>
In reply to#1321270
Hi Linus,

On Fri, 29 Jan 2016 12:45:57 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> After merging the gpio tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
> 
> drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_save_regs':
> drivers/gpio/gpio-mpc8xxx.c:57:21: error: implicit declaration of function 'in_be32' [-Werror=implicit-function-declaration]
>   mpc8xxx_gc->data = in_be32(mm->regs + GPIO_DAT);
>                      ^
> drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_set':
> drivers/gpio/gpio-mpc8xxx.c:100:2: error: implicit declaration of function 'out_be32' [-Werror=implicit-function-declaration]
>   out_be32(mm->regs + GPIO_DAT, mpc8xxx_gc->data);
>   ^
> drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_dir_in':
> drivers/gpio/gpio-mpc8xxx.c:139:2: error: implicit declaration of function 'clrbits32' [-Werror=implicit-function-declaration]
>   clrbits32(mm->regs + GPIO_DIR, mpc8xxx_gpio2mask(gpio));
>   ^
> drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_gpio_dir_out':
> drivers/gpio/gpio-mpc8xxx.c:156:2: error: implicit declaration of function 'setbits32' [-Werror=implicit-function-declaration]
>   setbits32(mm->regs + GPIO_DIR, mpc8xxx_gpio2mask(gpio));
>   ^
> drivers/gpio/gpio-mpc8xxx.c: In function 'mpc512x_irq_set_type':
> drivers/gpio/gpio-mpc8xxx.c:289:3: error: implicit declaration of function 'clrsetbits_be32' [-Werror=implicit-function-declaration]
>    clrsetbits_be32(reg, 3 << shift, 2 << shift);
>    ^
> drivers/gpio/gpio-mpc8xxx.c: In function 'mpc8xxx_probe':
> drivers/gpio/gpio-mpc8xxx.c:419:26: error: 'NO_IRQ' undeclared (first use in this function)
>   if (mpc8xxx_gc->irqn == NO_IRQ)   
>                           ^
> drivers/gpio/gpio-mpc8xxx.c:419:26: note: each undeclared identifier is reported only once for each function it appears in
> 
> Exposed by commit
> 
>   5df7fd46b70b ("pio/qoriq: Add qoriq platforms support")
> 
> The COMPILE_TEST dependency has revealed several implicit includes ...
> 
> I have used the gpio tree from next-20160128 for today.

I am still getting this error.
-- 
Cheers,
Stephen Rothwell

[toc] | [prev] | [next] | [standalone]


#1329402

FromLinus Walleij <linus.walleij@linaro.org>
Date2016-02-08 18:40 +0100
Message-ID<qZXX4-8qz-35@gated-at.bofh.it>
In reply to#1326350
On Thu, Feb 4, 2016 at 3:16 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:

> Hi Linus,

>> I have used the gpio tree from next-20160128 for today.
>
> I am still getting this error.

Sorry for slow attendance :(

Fixed it now, I hope.

Yours,
Linus Walleij

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web