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

From: Linus Walleij
Date: Mon Aug 31 2015 - 02:49:26 EST


On Mon, Aug 31, 2015 at 8:40 AM, Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:

> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/