[PATCH -next] clk: sunxi-ng: sun9i-a80: Fix wrong pointer passed to PTR_ERR()

Stephen Boyd sboyd at codeaurora.org
Mon Feb 6 15:01:31 PST 2017


On 02/06, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1 at huawei.com>
> 
> PTR_ERR should access the value just tested by IS_ERR, otherwise
> the wrong error code will be returned.
> 
> Fixes: 783ab76ae553 ("clk: sunxi-ng: Add A80 Display Engine CCU")
> Signed-off-by: Wei Yongjun <weiyongjun1 at huawei.com>
> ---

Applied to clk-next

-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project



More information about the linux-arm-kernel mailing list