Messages in this thread | | | From | Linus Walleij <> | Date | Wed, 11 Jan 2017 14:30:50 +0100 | Subject | Re: [PATCH] pinctrl: Drop error prints on kzalloc() failure |
| |
On Thu, Jan 5, 2017 at 5:07 PM, Bjorn Andersson <bjorn.andersson@linaro.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@linaro.org>
OK good cleanup. Patch applied.
> Hope you don't find this too OCD-ish.
We have the same condition ...
Yours, Linus Walleij
| |