From: Wei Yongjun <weiyongj...@huawei.com>
Date: Sat, 15 Sep 2018 01:33:21 +0000

> In case of error, the function devm_ioremap_resource() returns ERR_PTR()
> and never returns NULL. The NULL test in the return value check should
> be replaced with IS_ERR().
> 
> Fixes: 14fceff4771e ("net: dsa: Add Lantiq / Intel DSA driver for vrx200")
> Signed-off-by: Wei Yongjun <weiyongj...@huawei.com>

Applied.

Reply via email to