[lkml]   [2017]   [Jan]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] pinctrl: Drop error prints on kzalloc() failure
On Thu, Jan 5, 2017 at 5:07 PM, Bjorn Andersson
<> 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 <>

OK good cleanup. Patch applied.

> Hope you don't find this too OCD-ish.

We have the same condition ...

Linus Walleij

 \ /
  Last update: 2017-01-11 14:31    [W:0.049 / U:0.628 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site