Re: [PATCH] gpio: gpiolib: set gpiochip_remove retval to void

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi abdoulaye,

On Fri, 30 May 2014 00:32:02 +0200 abdoulaye berthe <berthe.ab@xxxxxxxxx> 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@xxxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux