[PATCH -next] dmaengine: st_fdma: Fix the error return code in st_fdma_probe()

Vinod Koul vinod.koul at intel.com
Wed Oct 19 10:00:16 PDT 2016


On Wed, Oct 19, 2016 at 01:23:50PM +0000, Wei Yongjun wrote:
> From: Wei Yongjun <weiyongjun1 at huawei.com>
> 
> In case of error, the function st_slim_rproc_alloc() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check should
> be replaced with IS_ERR().
> 

Applied, thanks

-- 
~Vinod



More information about the linux-arm-kernel mailing list