On Tue, Apr 17, 2012 at 10:32 AM, Viresh Kumar <[email protected]> wrote:

> This was the place that caused crash for me.
>
> I would apply following change in my patch before sending pull request
> to Arnd.
>
> -       *map = kzalloc(sizeof(*map) * count, GFP_KERNEL);
> +       *map = kzalloc(sizeof(**map) * count, GFP_KERNEL);

Ah, great you found it!

Thanks,
Linus Walleij
_______________________________________________
devicetree-discuss mailing list
[email protected]
https://lists.ozlabs.org/listinfo/devicetree-discuss

Reply via email to