Re: [RFC] gpio: remove gpio_descs global array

2014-11-11 Thread Linus Walleij
On Tue, Nov 4, 2014 at 10:10 AM, Alexandre Courbot wrote: > On Mon, Nov 3, 2014 at 11:11 PM, Linus Walleij > wrote: >> On Sat, Nov 1, 2014 at 8:03 AM, Alexandre Courbot >> wrote: >> >>> The issue with this patch is its use of kzalloc() in gpiochip_add(), a >>> function potentially called durin

Re: [RFC] gpio: remove gpio_descs global array

2014-11-04 Thread Alexandre Courbot
On Mon, Nov 3, 2014 at 11:11 PM, Linus Walleij wrote: > On Sat, Nov 1, 2014 at 8:03 AM, Alexandre Courbot 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

Re: [RFC] gpio: remove gpio_descs global array

2014-11-03 Thread Linus Walleij
On Sat, Nov 1, 2014 at 8:03 AM, Alexandre Courbot 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 i