From 5f14f31d2bbb2c00b59c7e9cbbd584d0cee80273 Mon Sep 17 00:00:00 2001 From: shiliyang Date: Fri, 30 Oct 2020 11:35:12 +0800 Subject: block: Fix some code style problems, "foo* bar" should be "foo *bar" There have some code style problems be found when read the block driver code. So I fixes some problems of this error, ERROR: "foo* bar" should be "foo *bar". Signed-off-by: Liyang Shi Reported-by: Euler Robot Message-Id: <3211f389-6d22-46c1-4a16-e6a2ba66f070@huawei.com> Signed-off-by: Max Reitz --- block/dmg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'block/dmg.c') diff --git a/block/dmg.c b/block/dmg.c index 0d6c317296..ef35a505f2 100644 --- a/block/dmg.c +++ b/block/dmg.c @@ -559,7 +559,7 @@ static void dmg_refresh_limits(BlockDriverState *bs, Error **errp) bs->bl.request_alignment = BDRV_SECTOR_SIZE; /* No sub-sector I/O */ } -static inline int is_sector_in_chunk(BDRVDMGState* s, +static inline int is_sector_in_chunk(BDRVDMGState *s, uint32_t chunk_num, uint64_t sector_num) { if (chunk_num >= s->n_chunks || s->sectors[chunk_num] > sector_num || -- cgit v1.2.3