[PATCH 2/2] gpio: gpiolib: set gpiochip_remove retval to void
Ralf Baechle
ralf at linux-mips.org
Fri May 30 08:48:59 PDT 2014
On Fri, May 30, 2014 at 01:39:15PM +0200, Geert Uytterhoeven wrote:
> > + if (test_bit(FLAG_REQUESTED, &chip->desc[id].flags))
> > + panic("gpio: removing gpiochip with gpios still requested\n");
>
> panic?
>
> Is this likely to happen?
And while we're at it - panic() is going to add a \n itself so don't pass a
string ending in \n to panic().
Ralf
More information about the linux-arm-kernel
mailing list