[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YZ5cVCy+bdvdcgxc@stefanha-x1.localdomain>
Date: Wed, 24 Nov 2021 15:37:56 +0000
From: Stefan Hajnoczi <stefanha@...hat.com>
To: cgel.zte@...il.com
Cc: mst@...hat.com, jasowang@...hat.com, pbonzini@...hat.com,
axboe@...nel.dk, virtualization@...ts.linux-foundation.org,
linux-block@...r.kernel.org, linux-kernel@...r.kernel.org,
Ye Guojin <ye.guojin@....com.cn>,
Zeal Robot <zealci@....com.cn>
Subject: Re: [PATCH] virtio-blk: modify the value type of num in
virtio_queue_rq()
On Wed, Nov 17, 2021 at 06:39:55AM +0000, cgel.zte@...il.com wrote:
> From: Ye Guojin <ye.guojin@....com.cn>
>
> This was found by coccicheck:
> ./drivers/block/virtio_blk.c, 334, 14-17, WARNING Unsigned expression
> compared with zero num < 0
>
> Reported-by: Zeal Robot <zealci@....com.cn>
> Signed-off-by: Ye Guojin <ye.guojin@....com.cn>
> ---
> drivers/block/virtio_blk.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@...hat.com>
Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)
Powered by blists - more mailing lists