Thread (4 messages) 4 messages, 4 authors, 2021-11-24

Re: [PATCH] virtio-blk: modify the value type of num in virtio_queue_rq()

From: Stefan Hajnoczi <stefanha@redhat.com>
Date: 2021-11-24 15:38:16
Also in: lkml, virtualization

On Wed, Nov 17, 2021 at 06:39:55AM +0000, cgel.zte@gmail.com wrote:
From: Ye Guojin <redacted>

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 <redacted>
Signed-off-by: Ye Guojin <redacted>
---
 drivers/block/virtio_blk.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help