summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/stmicro
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2020-05-22 19:03:21 +0800
committerDavid S. Miller <davem@davemloft.net>2020-05-23 16:28:25 -0700
commitef24d6c3d6965158dfe23ae961d87e9a343e18a2 (patch)
tree923489ccb4df091a557366098084e2541dc0a713 /drivers/net/ethernet/stmicro
parentd04322a0da1e86aedaa322ce933cfb8c0191d1eb (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>
Diffstat (limited to 'drivers/net/ethernet/stmicro')
0 files changed, 0 insertions, 0 deletions