aboutsummaryrefslogtreecommitdiffstats
path: root/net/openvswitch
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2021-05-13 12:46:21 +0000
committerDavid S. Miller <davem@davemloft.net>2021-05-13 15:54:08 -0700
commitc7d8302478ae645c2e9b59f2cf125641875b7dc2 (patch)
tree42beec029b28d0cc6c73798d472f98aaef9714c8 /net/openvswitch
parentcxgb4/ch_ktls: Clear resources when pf4 device is removed (diff)
downloadlinux-c7d8302478ae645c2e9b59f2cf125641875b7dc2.tar.gz
linux-c7d8302478ae645c2e9b59f2cf125641875b7dc2.zip
net: korina: Fix return value check in korina_probe()
In case of error, the function devm_platform_ioremap_resource_byname() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: b4cd249a8cc0 ("net: korina: Use devres functions") Reported-by: Hulk Robot <hulkci@huawei.com> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions