aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/seeq
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-09-21 02:53:17 +0000
committerDavid S. Miller <davem@davemloft.net>2018-09-21 19:13:22 -0700
commit54be5b8ce33f8d1a05b258070c81ed98f935883d (patch)
treece0ecc3379ae8c477897f76a61111aae4c6a5a26 /drivers/net/ethernet/seeq
parentnet/ipv6: Display all addresses in output of /proc/net/if_inet6 (diff)
downloadlinux-dev-54be5b8ce33f8d1a05b258070c81ed98f935883d.tar.xz
linux-dev-54be5b8ce33f8d1a05b258070c81ed98f935883d.zip
PCI: hv: Fix return value check in hv_pci_assign_slots()
In case of error, the function pci_create_slot() returns ERR_PTR() and never returns NULL. The NULL test in the return value check should be replaced with IS_ERR(). Fixes: a15f2c08c708 ("PCI: hv: support reporting serial number as slot information") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/seeq')
0 files changed, 0 insertions, 0 deletions