From: "Denis V. Lunev" <den@openvz.org>
To: qemu-devel@nongnu.org
Cc: Klim Kireev <proffk@virtuozzo.mipt.ru>,
"Denis V . Lunev" <den@openvz.org>, Kevin Wolf <kwolf@redhat.com>,
Max Reitz <mreitz@redhat.com>
Subject: [Qemu-devel] [PATCH 1/2] block: fix obvious coding style mitakes in block_int.h
Date: Wed, 5 Apr 2017 18:18:24 +0300 [thread overview]
Message-ID: <1491405505-31620-2-git-send-email-den@openvz.org> (raw)
In-Reply-To: <1491405505-31620-1-git-send-email-den@openvz.org>
From: Klim Kireev <proffk@virtuozzo.mipt.ru>
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>
---
include/block/block_int.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/include/block/block_int.h b/include/block/block_int.h
index 59400bd..bf18c5f 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
--
2.7.4
next prev parent reply other threads:[~2017-04-05 15:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-05 15:18 [Qemu-devel] [PATCH for 2.10 0/2] block: simple changes Denis V. Lunev
2017-04-05 15:18 ` Denis V. Lunev [this message]
2017-04-05 15:35 ` [Qemu-devel] [PATCH 1/2] block: fix obvious coding style mitakes in block_int.h Eric Blake
2017-04-13 19:01 ` Max Reitz
2017-04-05 15:18 ` [Qemu-devel] [PATCH 2/2] block: assert no image modification under BDRV_O_INACTIVE Denis V. Lunev
2017-04-05 15:37 ` Eric Blake
2017-04-05 15:47 ` Denis V. Lunev
2017-04-13 19:09 ` Max Reitz
2017-04-13 19:11 ` [Qemu-devel] [PATCH for 2.10 0/2] block: simple changes Max Reitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1491405505-31620-2-git-send-email-den@openvz.org \
--to=den@openvz.org \
--cc=kwolf@redhat.com \
--cc=mreitz@redhat.com \
--cc=proffk@virtuozzo.mipt.ru \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).