Stefan Hajnoczi
2021-Nov-24 15:37 UTC
[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 at gmail.com wrote:> From: Ye Guojin <ye.guojin at zte.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 at zte.com.cn> > Signed-off-by: Ye Guojin <ye.guojin at zte.com.cn> > --- > drivers/block/virtio_blk.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-)Reviewed-by: Stefan Hajnoczi <stefanha at redhat.com> -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 488 bytes Desc: not available URL: <http://lists.linuxfoundation.org/pipermail/virtualization/attachments/20211124/e40a4f58/attachment.sig>