OrangePi_CM5/drivers/xen/xen-pciback
YueHaibing 111f77594d xen-pciback: Fix return in pm_ctrl_init()
[ Upstream commit 4745ea2628bb43a7ec34b71763b5a56407b33990 ]

Return NULL instead of passing to ERR_PTR while err is zero,
this fix smatch warnings:
drivers/xen/xen-pciback/conf_space_capability.c:163
 pm_ctrl_init() warn: passing zero to 'ERR_PTR'

Fixes: a92336a117 ("xen/pciback: Drop two backends, squash and cleanup some code.")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Link: https://lore.kernel.org/r/20211008074417.8260-1-yuehaibing@huawei.com
Signed-off-by: Boris Ostrovsky <boris.ostrovsky@oracle.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-18 14:04:25 +01:00
..
Makefile
…
conf_space.c xen/pci: Get rid of verbose_request and use dev_dbg() instead 2020-05-29 10:44:59 -05:00
conf_space.h
…
conf_space_capability.c xen-pciback: Fix return in pm_ctrl_init() 2021-11-18 14:04:25 +01:00
conf_space_header.c xen/pci: Get rid of verbose_request and use dev_dbg() instead 2020-05-29 10:44:59 -05:00
conf_space_quirks.c
…
conf_space_quirks.h
…
passthrough.c
…
pci_stub.c xen/pciback: use lateeoi irq binding 2020-10-20 10:22:08 +02:00
pciback.h xen/pciback: use lateeoi irq binding 2020-10-20 10:22:08 +02:00
pciback_ops.c xen/pciback: use lateeoi irq binding 2020-10-20 10:22:08 +02:00
vpci.c xen-pciback: redo VF placement in the virtual topology 2021-05-26 12:06:54 +02:00
xenbus.c xen-pciback: reconfigure also from backend watch handler 2021-05-26 12:06:54 +02:00