Re: [PATCH] gpio-mcp23s08: correctly handling failed allocation

From: Linus Walleij
Date: Tue Feb 16 2016 - 10:37:40 EST


On Tue, Feb 16, 2016 at 3:19 AM, Insu Yun <wuninsu@xxxxxxxxx> wrote:

> Since devm_kzalloc can be failed in memory pressure,
> it needs to check and return -ENOMEM
>
> Signed-off-by: Insu Yun <wuninsu@xxxxxxxxx>

Patch applied.

Yours,
Linus Walleij