Thread (5 messages) 5 messages, 4 authors, 2017-06-07

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

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

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help