Messages in this thread | | | Date | Fri, 30 May 2014 08:58:32 +1000 | From | Stephen Rothwell <> | Subject | Re: [PATCH] gpio: gpiolib: set gpiochip_remove retval to void |
| |
Hi abdoulaye,
On Fri, 30 May 2014 00:32:02 +0200 abdoulaye berthe <berthe.ab@gmail.com> wrote: > > + if (test_bit(FLAG_REQUESTED, &chip->desc[id].flags)) > + panic("gpio: removing gpiochip with gpios still requested\n");
Someone else already commented that panic is probably overkill ... is there no way to log this and continue?
-- Cheers, Stephen Rothwell sfr@canb.auug.org.au [unhandled content-type:application/pgp-signature] | |