Messages in this thread | | | Date | Wed, 27 Oct 2021 09:18:13 -0400 | Subject | Re: [PATCH -next] xen-pciback: Fix return in pm_ctrl_init() | From | Boris Ostrovsky <> |
| |
On 10/8/21 11:01 AM, Juergen Gross wrote: > On 08.10.21 09:44, YueHaibing wrote: >> 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> >
Applied to for-linux-5.16.
-boris
| |