lkml.org 
[lkml]   [2014]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [RFC] gpio: remove gpio_descs global array
From
On Sat, Nov 1, 2014 at 8:03 AM, Alexandre Courbot <acourbot@nvidia.com> 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.

Yours,
Linus Walleij


\
 
 \ /
  Last update: 2014-11-03 15:21    [W:0.107 / U:0.940 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site