[PATCH V4 3/5] pinctrl: Add SPEAr pinctrl drivers

Linus Walleij linus.walleij at linaro.org
Wed Apr 18 21:24:14 EST 2012


On Tue, Apr 17, 2012 at 10:32 AM, Viresh Kumar <viresh.kumar at st.com> 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


More information about the devicetree-discuss mailing list