From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij@linaro.org (Linus Walleij) Date: Wed, 18 Apr 2012 13:24:14 +0200 Subject: [PATCH V4 3/5] pinctrl: Add SPEAr pinctrl drivers In-Reply-To: <4F8D2A88.6060309@st.com> References: <4F8D2A88.6060309@st.com> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Tue, Apr 17, 2012 at 10:32 AM, Viresh Kumar 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