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 xen: xen-pciback: Replace GFP_ATOMIC with GFP_KERNEL in xen_pcibk_config_quirks_init 2018-04-16 10:20:31 -04:00
conf_space_quirks.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
conf_space.c
conf_space.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Makefile
passthrough.c
pci_stub.c
pciback_ops.c xen/pciback: use lateeoi irq binding 2020-11-05 11:43:11 +01:00
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