[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1667598657.325840.1498249545131@email.1und1.de>
Date: Fri, 23 Jun 2017 22:25:45 +0200 (CEST)
From: Stefan Wahren <stefan.wahren@...e.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>,
rjui@...adcom.com, sbranden@...adcom.com, kernel@...tin.sperl.org,
rafal@...ecki.pl, eric@...olt.net, rui.zhang@...el.com,
bcm-kernel-feedback-list@...adcom.com, f.fainelli@...il.com,
edubezval@...il.com
Cc: linux-kernel@...r.kernel.org, linux-pm@...r.kernel.org,
linux-rpi-kernel@...ts.infradead.org,
linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v2] thermal: bcm2835: Fix error code in
'bcm2835_thermal_probe'
> Christophe JAILLET <christophe.jaillet@...adoo.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@...adoo.fr>
Thanks, but Dan Carpenter already send a fix for this.
Powered by blists - more mailing lists