On Sat, May 6, 2017 at 10:23 AM, Christophe JAILLET <[email protected]> wrote:
> If 'devm_kzalloc' fails, a NULL pointer will be dereferenced. > Return -ENOMEM instead, as done for the other memory allocation just a > few lines below. > BTW, change the 'devm_kzalloc' into a 'devm_kcalloc'. > > Signed-off-by: Christophe JAILLET <[email protected]> Patch applied. Yours, Linus Walleij

