Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1573635
| From | Mark Brown <broonie@kernel.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors |
| Date | 2017-02-04 11:20 +0100 |
| Message-ID | <t75BM-7td-13@gated-at.bofh.it> (permalink) |
| References | <t6U3D-7uQ-13@gated-at.bofh.it> <t6U3E-7uQ-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
[Multipart message — attachments visible in raw view] - view raw
On Fri, Feb 03, 2017 at 01:56:01PM -0800, Dmitry Torokhov wrote: > - return NULL; > + return r ? r : ERR_PTR(-ENODEV); > } Please write normal conditional statements to keep the code legible.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-03 23:00 +0100
Re: [PATCH 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors Mark Brown <broonie@kernel.org> - 2017-02-04 11:20 +0100
[PATCH v2 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors Dmitry Torokhov <dmitry.torokhov@gmail.com> - 2017-02-04 19:20 +0100
Re: [PATCH v2 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors Mark Brown <broonie@kernel.org> - 2017-02-05 16:00 +0100
Re: [PATCH v2 2/5] regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors Mark Brown <broonie@kernel.org> - 2017-02-06 00:50 +0100
Applied "regulator: core: have regulator_dev_lookup() return ERR_PTR-encoded errors" to the regulator tree Mark Brown <broonie@kernel.org> - 2017-02-06 14:40 +0100
csiph-web