OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
65f1899
)
raw: Drop superfluous semicolon
author
Fam Zheng
<famz@redhat.com>
Mon, 2 Jul 2018 02:58:36 +0000
(10:58 +0800)
committer
Max Reitz
<mreitz@redhat.com>
Mon, 9 Jul 2018 17:43:24 +0000
(19:43 +0200)
Reported-by: Max Reitz <mreitz@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Message-id:
20180702025836
.20957-5-famz@redhat.com
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Max Reitz <mreitz@redhat.com>
block/raw-format.c
patch
|
blob
|
history
diff --git
a/block/raw-format.c
b/block/raw-format.c
index
b78da56
..
8e648a5
100644
(file)
--- a/
block/raw-format.c
+++ b/
block/raw-format.c
@@
-177,7
+177,7
@@
static inline int raw_adjust_offset(BlockDriverState *bs, uint64_t *offset,
/* There's not enough space for the write, or the read request is
* out-of-range. Don't read/write anything to prevent leaking out of
* the size specified in options. */
- return is_write ? -ENOSPC : -EINVAL;
;
+ return is_write ? -ENOSPC : -EINVAL;
}
if (*offset > INT64_MAX - s->offset) {