Hi Wei,

2017-01-12 Wei Yongjun <[email protected]>:

> From: Wei Yongjun <[email protected]>
> 
> PTR_ERR should access the value just tested by IS_ERR, otherwise
> the wrong error code will be returned.
> 
> Fixes: d1667b86795a ("drm/hisilicon/hibmc: Add support for frame buffer")
> Signed-off-by: Wei Yongjun <[email protected]>

Reviewed-by: Gustavo Padovan <[email protected]>

Gustavo

Reply via email to