Re: [PATCH] net: Fix return value about devm_platform_ioremap_resource()

From: David Miller
Date: Sat May 23 2020 - 19:29:09 EST


From: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>
Date: Fri, 22 May 2020 19:03:21 +0800

> When call function devm_platform_ioremap_resource(), we should use IS_ERR()
> to check the return value and return PTR_ERR() if failed.
>
> Signed-off-by: Tiezhu Yang <yangtiezhu@xxxxxxxxxxx>

Applied, thanks.