2015-05-13 06:55:29

by Stephen Rothwell

[permalink] [raw]
Subject: linux-next: build failure after merge of the gpio tree

Hi Linus,

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

drivers/gpio/gpio-dln2.c: In function 'dln2_gpio_probe':
drivers/gpio/gpio-dln2.c:469:12: error: 'struct gpio_chip' has no member named 'exported'
dln2->gpio.exported = true;
^

Caused by commit 6a4b6b0a3b55 ("gpio: sysfs: clean up chip class-device
handling").

I have used the gpio tree from next-20150512 for today.
--
Cheers,
Stephen Rothwell [email protected]


Attachments:
(No filename) (819.00 B)
OpenPGP digital signature

2015-05-13 07:05:11

by Alexandre Courbot

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the gpio tree

On Wed, May 13, 2015 at 3:55 PM, Stephen Rothwell <[email protected]> wrote:
> Hi Linus,
>
> After merging the gpio tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/gpio/gpio-dln2.c: In function 'dln2_gpio_probe':
> drivers/gpio/gpio-dln2.c:469:12: error: 'struct gpio_chip' has no member named 'exported'
> dln2->gpio.exported = true;
> ^
>
> Caused by commit 6a4b6b0a3b55 ("gpio: sysfs: clean up chip class-device
> handling").

Johan has submitted a fix for this:

https://lkml.org/lkml/2015/5/12/437

2015-05-13 07:36:20

by Johan Hovold

[permalink] [raw]
Subject: Re: linux-next: build failure after merge of the gpio tree

On Wed, May 13, 2015 at 04:55:16PM +1000, Stephen Rothwell wrote:
> Hi Linus,
>
> After merging the gpio tree, today's linux-next build (x86_64
> allmodconfig) failed like this:
>
> drivers/gpio/gpio-dln2.c: In function 'dln2_gpio_probe':
> drivers/gpio/gpio-dln2.c:469:12: error: 'struct gpio_chip' has no member named 'exported'
> dln2->gpio.exported = true;
> ^
>
> Caused by commit 6a4b6b0a3b55 ("gpio: sysfs: clean up chip class-device
> handling").
>
> I have used the gpio tree from next-20150512 for today.

A fix for this was posted yesterday (when detected by the kbuild test
robot):

https://lkml.org/lkml/2015/5/12/437

Johan