[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <6644d095-92da-261e-87aa-284dcfcde19a@suse.com>
Date: Fri, 8 Oct 2021 17:01:07 +0200
From: Juergen Gross <jgross@...e.com>
To: YueHaibing <yuehaibing@...wei.com>, boris.ostrovsky@...cle.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 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>
Juergen
Download attachment "OpenPGP_0xB0DE9DD628BF132F.asc" of type "application/pgp-keys" (3092 bytes)
Download attachment "OpenPGP_signature" of type "application/pgp-signature" (496 bytes)
Powered by blists - more mailing lists