[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdaXfVJrYcG12RPA-RHU+72X4quNOCL7M2Ppb-P8Tw=Pwg@mail.gmail.com>
Date: Thu, 21 Sep 2017 14:13:41 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Arvind Yadav <arvind.yadav.cs@...il.com>
Cc: Gregory Fong <gregory.0xf0@...il.com>,
Brian Norris <computersforpeace@...il.com>,
Florian Fainelli <f.fainelli@...il.com>,
bcm-kernel-feedback-list <bcm-kernel-feedback-list@...adcom.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v2 1/2] gpio: brcmstb: Handle return value of devm_kasprintf
On Thu, Sep 21, 2017 at 7:14 AM, Arvind Yadav <arvind.yadav.cs@...il.com> wrote:
> devm_kasprintf() can fail here and we must check its return value.
>
> Signed-off-by: Arvind Yadav <arvind.yadav.cs@...il.com>
> ---
> changes in v2 :
> Set return 'err' to -ENOMEM.
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists