Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1516712
| From | Olof Johansson <olof@lixom.net> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH] ARM: zx: Fix error handling |
| Date | 2016-11-08 02:20 +0100 |
| Message-ID | <sB3eW-2Bm-9@gated-at.bofh.it> (permalink) |
| References | <sxTvr-29w-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sun, Oct 30, 2016 at 09:10:10AM +0100, Christophe JAILLET wrote: > 'devm_ioremap_resource()' returns an error pointer in case of error, not > NULL. So test it with IS_ERR. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> > --- > 'return -EIO;' could also be turned into 'return PTR_ERR(pcubase);' in > order to propagate the error value. Applied to fixes-non-critical. Thanks! -Olof
Back to linux.kernel | Previous | Next — Previous in thread | Find similar | Unroll thread
[PATCH] ARM: zx: Fix error handling Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2016-10-30 09:20 +0100 Re: [PATCH] ARM: zx: Fix error handling Russell King - ARM Linux <linux@armlinux.org.uk> - 2016-10-31 17:30 +0100 Re: [PATCH] ARM: zx: Fix error handling Olof Johansson <olof@lixom.net> - 2016-11-08 02:20 +0100
csiph-web