[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdbL4OdQX4odEME2=L3ZDc+13mQ-aCkEim6gzSpk_Gm8+A@mail.gmail.com>
Date: Wed, 11 Jan 2017 14:30:50 +0100
From: Linus Walleij <linus.walleij@...aro.org>
To: Bjorn Andersson <bjorn.andersson@...aro.org>
Cc: "linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: Drop error prints on kzalloc() failure
On Thu, Jan 5, 2017 at 5:07 PM, Bjorn Andersson
<bjorn.andersson@...aro.org> wrote:
> Upon failing kzalloc() will print an error message in the log, so
> there's no need for additional printouts. Also standardizes the "!ptr"
> vs "ptr == NULL" while I'm touching those lines.
>
> Signed-off-by: Bjorn Andersson <bjorn.andersson@...aro.org>
OK good cleanup. Patch applied.
> Hope you don't find this too OCD-ish.
We have the same condition ...
Yours,
Linus Walleij
Powered by blists - more mailing lists