Skip to content
Commit ef24d6c3 authored by Tiezhu Yang's avatar Tiezhu Yang Committed by David S. Miller
Browse files

net: Fix return value about devm_platform_ioremap_resource()



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: default avatarTiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d04322a0
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment