]> Git Repo - qemu.git/commitdiff
ssh: add missing coroutine_fn annotation
authorAlberto Faria <[email protected]>
Thu, 13 Oct 2022 12:36:51 +0000 (14:36 +0200)
committerKevin Wolf <[email protected]>
Thu, 27 Oct 2022 18:14:11 +0000 (20:14 +0200)
ssh_write is only called from ssh_co_writev.

Signed-off-by: Alberto Faria <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Message-Id: <20221013123711[email protected]>
Reviewed-by: Kevin Wolf <[email protected]>
Signed-off-by: Kevin Wolf <[email protected]>
block/ssh.c

index a2dc64653699e51701a56d0522f30c07c81281e7..ceb4f4c5bc949658e475fcf1c8555ff3f1b6d29c 100644 (file)
@@ -1129,9 +1129,9 @@ static coroutine_fn int ssh_co_readv(BlockDriverState *bs,
     return ret;
 }
 
-static int ssh_write(BDRVSSHState *s, BlockDriverState *bs,
-                     int64_t offset, size_t size,
-                     QEMUIOVector *qiov)
+static coroutine_fn int ssh_write(BDRVSSHState *s, BlockDriverState *bs,
+                                  int64_t offset, size_t size,
+                                  QEMUIOVector *qiov)
 {
     ssize_t r;
     size_t written;
This page took 0.024971 seconds and 4 git commands to generate.