android_kernel_xiaomi_sm8350/drivers/xen/xen-pciback
YueHaibing 70ecaadb49 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-17 09:48:46 +01:00
..
conf_space_capability.c xen-pciback: Fix return in pm_ctrl_init() 2021-11-17 09:48:46 +01:00
conf_space_header.c
conf_space_quirks.c
conf_space_quirks.h
conf_space.c
conf_space.h
Makefile
passthrough.c
pci_stub.c
pciback_ops.c
pciback.h
vpci.c xen-pciback: redo VF placement in the virtual topology 2021-06-10 13:37:16 +02:00
xenbus.c xen-pciback: reconfigure also from backend watch handler 2021-05-26 12:05:18 +02:00