aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/xen/xen-acpi-processor.c
diff options
context:
space:
mode:
authorYueHaibing <[email protected]>2021-10-08 07:44:17 +0000
committerBoris Ostrovsky <[email protected]>2021-11-02 12:45:44 +0000
commit4745ea2628bb43a7ec34b71763b5a56407b33990 (patch)
tree1e3c9c436d8e884058805ca79950a478fc30be89 /drivers/xen/xen-acpi-processor.c
parentxen/x86: restrict PV Dom0 identity mapping (diff)
downloadkernel-4745ea2628bb43a7ec34b71763b5a56407b33990.tar.gz
kernel-4745ea2628bb43a7ec34b71763b5a56407b33990.zip
xen-pciback: Fix return in pm_ctrl_init()
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: a92336a1176b ("xen/pciback: Drop two backends, squash and cleanup some code.") Signed-off-by: YueHaibing <[email protected]> Reviewed-by: Juergen Gross <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Boris Ostrovsky <[email protected]>
Diffstat (limited to 'drivers/xen/xen-acpi-processor.c')
0 files changed, 0 insertions, 0 deletions