Re: [RFC] gpio: remove gpio_descs global array

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

 



On Mon, Nov 3, 2014 at 11:11 PM, Linus Walleij <linus.walleij@xxxxxxxxxx> wrote:
> On Sat, Nov 1, 2014 at 8:03 AM, Alexandre Courbot <acourbot@xxxxxxxxxx> wrote:
>
>> The issue with this patch is its use of kzalloc() in gpiochip_add(), a
>> function potentially called during early boot, before kzalloc() becomes
>> usable. Hence its [RFC] status until we can find a solution for this or
>> agree that this issue is actually never ran into (from which point can
>> one use kzalloc()?)
>
> So which driver requires that the gpiochip be statically defined...
> I heard about early call but not *that* early.

Let me know if you feel adventurous - in that case I will submit a
proper version of this patch to put in -next, and we'll see if people
complain... :)
--
To unsubscribe from this list: send the line "unsubscribe linux-gpio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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