Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1556486
| From | Linus Walleij <linus.walleij@linaro.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] pinctrl: Drop error prints on kzalloc() failure |
| Date | 2017-01-11 14:40 +0100 |
| Message-ID | <sYria-7uK-17@gated-at.bofh.it> (permalink) |
| References | <sWqqd-25X-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] pinctrl: Drop error prints on kzalloc() failure Bjorn Andersson <bjorn.andersson@linaro.org> - 2017-01-06 01:20 +0100 Re: [PATCH] pinctrl: Drop error prints on kzalloc() failure Linus Walleij <linus.walleij@linaro.org> - 2017-01-11 14:40 +0100
csiph-web