Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1673843
| From | Stefan Wahren <stefan.wahren@i2se.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] thermal: bcm2835: Fix error code in 'bcm2835_thermal_probe' |
| Date | 2017-06-23 22:30 +0200 |
| Message-ID | <tVDnl-6P1-51@gated-at.bofh.it> (permalink) |
| References | <tVCKC-6lJ-23@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> Christophe JAILLET <christophe.jaillet@wanadoo.fr> hat am 23. Juni 2017 um 21:44 geschrieben: > > > 'tz' is a valid pointer at this point, so calling PTR_ERR on it is > pointless. > This 'err = PTR_ERR(tz)' looks like a cut'n'paste from a few lines above. > So remove it. 'err' is already the error we want to report. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Thanks, but Dan Carpenter already send a fix for this.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] thermal: bcm2835: Fix error code in 'bcm2835_thermal_probe' Christophe JAILLET <christophe.jaillet@wanadoo.fr> - 2017-06-23 21:50 +0200
Re: [PATCH v2] thermal: bcm2835: Fix error code in 'bcm2835_thermal_probe' Stefan Wahren <stefan.wahren@i2se.com> - 2017-06-23 22:30 +0200
Re: [PATCH v2] thermal: bcm2835: Fix error code in 'bcm2835_thermal_probe' Eduardo Valentin <edubezval@gmail.com> - 2017-07-01 05:00 +0200
csiph-web