Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Aug 31, 2015 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi Linus,

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

drivers/gpio/gpio-etraxfs.c: In function 'etraxfs_gpio_irq_request_resources':
drivers/gpio/gpio-etraxfs.c:300:2: error: 'ret' undeclared (first use in this function)
ret = gpiochip_lock_as_irq(&chip->bgc.gc, d->hwirq);
^

Caused by commit

5e22ec019823 ("gpio: extraxfs: fix returnvar.cocci warnings")

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

Signature · 2 lines
Cheers,
Stephen Rothwell                    [email protected]
#1 lore raw
Quoted 11 lines · Stephen Rothwell

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

drivers/gpio/gpio-etraxfs.c: In function 'etraxfs_gpio_irq_request_resources':
drivers/gpio/gpio-etraxfs.c:300:2: error: 'ret' undeclared (first use in this function)
ret = gpiochip_lock_as_irq(&chip->bgc.gc, d->hwirq);
^

Caused by commit

5e22ec019823 ("gpio: extraxfs: fix returnvar.cocci warnings")

Seems like the coccinelle patch was made against an earlier version of the tree before some other patches went in.

Pulling this one out...

Thanks,
Linus Walleij