Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1335535

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

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] gpio-mcp23s08: correctly handling failed allocation
Date 2016-02-16 16:40 +0100
Message-ID <r2PTk-1fi-19@gated-at.bofh.it> (permalink)
References <r2DyO-1ku-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

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

Patch applied.

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

[PATCH] gpio-mcp23s08: correctly handling failed allocation Insu Yun <wuninsu@gmail.com> - 2016-02-16 03:30 +0100
  Re: [PATCH] gpio-mcp23s08: correctly handling failed allocation Linus Walleij <linus.walleij@linaro.org> - 2016-02-16 16:40 +0100

csiph-web