Wei Yongjun 54be5b8ce3 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>
2018-09-21 19:13:22 -07:00
..
2018-08-15 14:59:06 -05:00
2018-04-04 13:28:40 -05:00
2018-03-19 14:20:43 -05:00
2018-08-15 14:59:06 -05:00
2018-03-19 14:20:43 -05:00
2018-08-15 14:59:01 -05:00
2018-08-15 14:58:54 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-08-15 14:58:52 -05:00
2018-08-15 14:59:06 -05:00
2018-05-16 07:23:35 +02:00
2018-08-15 14:58:46 -05:00
2018-06-29 21:17:26 -05:00
2018-03-19 14:20:43 -05:00
2018-03-19 14:20:43 -05:00
2018-04-04 13:27:45 -05:00
2018-03-19 14:20:43 -05:00
2018-02-01 11:40:07 -06:00
2018-03-19 14:20:43 -05:00