Re: [PATCH v2] crypto: hisilicon/qm - cleanup warning in qm_vf_read_qos

From: Herbert Xu
Date: Fri Jan 28 2022 - 01:28:00 EST


On Sat, Jan 22, 2022 at 05:30:42PM +0800, Kai Ye wrote:
> The kernel test rebot report this warning: Uninitialized variable: ret.
> The code flow may return value of ret directly. This value is an
> uninitialized variable, here is fix it.
>
> Signed-off-by: Kai Ye <yekai13@xxxxxxxxxx>
> ---
> changes v1->v2:
> modfiy the comments.
>
> drivers/crypto/hisilicon/qm.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Patch applied. Thanks.
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt