summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2021-10-08 15:44:17 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-11-26 11:58:41 +0100
commitb27356689344fa2706c71405be49dba0685bdffd (patch)
treef3f4d8188334cbb9cfab7aa00fe35b11d6345a89 /scripts/objdiff
parent7584ea04909ec78d8c1bb65b2a59a7108d5dd4a6 (diff)
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: a92336a1176b ("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>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions