summaryrefslogtreecommitdiffstats
path: root/include/block
diff options
context:
space:
mode:
authorKlim Kireev2017-04-05 17:18:24 +0200
committerMax Reitz2017-04-28 16:02:03 +0200
commitd4a7f45ec9a54ca52e6381a792dc2aaea656338a (patch)
tree9fd65a6e505c70a0fd79f0f25ec388059c762837 /include/block
parentqcow2: Allow discard of final unaligned cluster (diff)
downloadqemu-d4a7f45ec9a54ca52e6381a792dc2aaea656338a.tar.gz
qemu-d4a7f45ec9a54ca52e6381a792dc2aaea656338a.tar.xz
qemu-d4a7f45ec9a54ca52e6381a792dc2aaea656338a.zip
block: fix obvious coding style mistakes in block_int.h
Signed-off-by: Klim Kireev <proffk@virtuozzo.mipt.ru> Signed-off-by: Denis V. Lunev <den@openvz.org> CC: Kevin Wolf <kwolf@redhat.com> CC: Max Reitz <mreitz@redhat.com> Message-id: 1491405505-31620-2-git-send-email-den@openvz.org Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Max Reitz <mreitz@redhat.com>
Diffstat (limited to 'include/block')
-rw-r--r--include/block/block_int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/block/block_int.h b/include/block/block_int.h
index dcde90a5d3..87739405d5 100644
--- a/include/block/block_int.h
+++ b/include/block/block_int.h
@@ -252,7 +252,7 @@ struct BlockDriver {
* Returns 0 for completed check, -errno for internal errors.
* The check results are stored in result.
*/
- int (*bdrv_check)(BlockDriverState* bs, BdrvCheckResult *result,
+ int (*bdrv_check)(BlockDriverState *bs, BdrvCheckResult *result,
BdrvCheckMode fix);
int (*bdrv_amend_options)(BlockDriverState *bs, QemuOpts *opts,
@@ -454,13 +454,13 @@ struct BdrvChildRole {
/* Returns a name that is supposedly more useful for human users than the
* node name for identifying the node in question (in particular, a BB
* name), or NULL if the parent can't provide a better name. */
- const char* (*get_name)(BdrvChild *child);
+ const char *(*get_name)(BdrvChild *child);
/* Returns a malloced string that describes the parent of the child for a
* human reader. This could be a node-name, BlockBackend name, qdev ID or
* QOM path of the device owning the BlockBackend, job type and ID etc. The
* caller is responsible for freeing the memory. */
- char* (*get_parent_desc)(BdrvChild *child);
+ char *(*get_parent_desc)(BdrvChild *child);
/*
* If this pair of functions is implemented, the parent doesn't issue new