Re: [PATCH -next] gpu: host1x: Fix wrong pointer passed to PTR_ERR()

2017-04-24 Thread Jon Hunter
On 16/04/17 05:08, Wei Yongjun wrote: > From: Wei Yongjun > > PTR_ERR should access the value just tested by IS_ERR, otherwise > the wrong error code will be returned. > > Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") > Signed-off-by: Wei Yongjun > --- > drivers/gpu/host1x/dev.c |

[PATCH -next] gpu: host1x: Fix wrong pointer passed to PTR_ERR()

2017-04-16 Thread Wei Yongjun
From: Wei Yongjun PTR_ERR should access the value just tested by IS_ERR, otherwise the wrong error code will be returned. Fixes: b386c6b73ac6 ("gpu: host1x: Support module reset") Signed-off-by: Wei Yongjun --- drivers/gpu/host1x/dev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) dif