dataplane: Comment fix
PATCH 1/1 dataplane: Comment fix
Signed-off-by Markus Armbruster <[email protected]>
--- hw/block/dataplane/virtio-blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
hw/block/dataplane/virtio-blk.c +1 -1
@@ -145,7 +145,7 @@ static void do_get_id_cmd(VirtIOBlockDataPlane *s, {char id[VIRTIO_BLK_ID_BYTES ]; -/* Serial number not NUL-terminated when shorter than buffer */ +/* Serial number not NUL-terminated when longer than buffer */ strncpy (id, s->blk->serial ? s->blk->serial :"" ,sizeof (id));iov_from_buf (iov, iov_cnt,0 , id,sizeof (id));complete_request_early (s, elem, inhdr,VIRTIO_BLK_S_OK );
Signature · 1 line
1.8.1.4
Stefan Hajnoczi
AppliedQuoted 5 lines · Markus Armbruster
Signed-off-by Markus Armbruster <[email protected]>--- hw/block/dataplane/virtio-blk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks, applied to my block tree:
https://github.com/stefanha/qemu/commits/block
Stefan