Re: [PATCH -next] power: supply: ltc3651-charger: Fix wrong pointer passed to PTR_ERR()
From: Sebastian Reichel <sre@kernel.org>
Date: 2017-06-07 20:16:26
Attachments
- signature.asc [application/pgp-signature] 833 bytes
From: Sebastian Reichel <sre@kernel.org>
Date: 2017-06-07 20:16:26
Hi, On Wed, May 17, 2017 at 12:11:32PM +0000, Wei Yongjun wrote:
From: Wei Yongjun <redacted> PTR_ERR should access the value just tested by IS_ERR, otherwise the wrong error code will be returned.
I queued the same patch from Dan, which had the better description incl. a Fixes, but added your Signed-off-by. -- Sebastian