[PATCH v2 1/2] gpio: brcmstb: Handle return value of devm_kasprintf
Linus Walleij
linus.walleij at linaro.org
Thu Sep 21 05:13:41 PDT 2017
On Thu, Sep 21, 2017 at 7:14 AM, Arvind Yadav <arvind.yadav.cs at gmail.com> wrote:
> devm_kasprintf() can fail here and we must check its return value.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs at gmail.com>
> ---
> changes in v2 :
> Set return 'err' to -ENOMEM.
Patch applied.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list