Re: [PATCH v2 1/2] gpio: brcmstb: Handle return value of devm_kasprintf

From: Linus Walleij
Date: Thu Sep 21 2017 - 08:13:49 EST


On Thu, Sep 21, 2017 at 7:14 AM, Arvind Yadav <arvind.yadav.cs@xxxxxxxxx> wrote:

> devm_kasprintf() can fail here and we must check its return value.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@xxxxxxxxx>
> ---
> changes in v2 :
> Set return 'err' to -ENOMEM.

Patch applied.

Yours,
Linus Walleij