commit | ef24d6c3d6965158dfe23ae961d87e9a343e18a2 | [log] [tgz] |
---|---|---|
author | Tiezhu Yang <yangtiezhu@loongson.cn> | Fri May 22 19:03:21 2020 +0800 |
committer | David S. Miller <davem@davemloft.net> | Sat May 23 16:28:25 2020 -0700 |
tree | 923489ccb4df091a557366098084e2541dc0a713 | |
parent | d04322a0da1e86aedaa322ce933cfb8c0191d1eb [diff] |
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: Tiezhu Yang <yangtiezhu@loongson.cn> Signed-off-by: David S. Miller <davem@davemloft.net>