[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <f9db2b8f-c4b7-95b3-856c-ebf5231d6bf8@oracle.com>
Date: Wed, 27 Oct 2021 09:18:13 -0400
From: Boris Ostrovsky <boris.ostrovsky@...cle.com>
To: Juergen Gross <jgross@...e.com>,
YueHaibing <yuehaibing@...wei.com>, sstabellini@...nel.org
Cc: xen-devel@...ts.xenproject.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] xen-pciback: Fix return in pm_ctrl_init()
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@...wei.com>
>
> Reviewed-by: Juergen Gross <jgross@...e.com>
>
Applied to for-linux-5.16.
-boris
Powered by blists - more mailing lists