From patchwork Mon May 11 12:54:59 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alberto Garcia X-Patchwork-Id: 470776 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:4830:134:3::11]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id CD77814018C for ; Mon, 11 May 2015 23:03:52 +1000 (AEST) Received: from localhost ([::1]:37188 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrnN8-0003rO-LU for incoming@patchwork.ozlabs.org; Mon, 11 May 2015 09:03:50 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59086) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrnFd-0007mX-4L for qemu-devel@nongnu.org; Mon, 11 May 2015 08:56:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YrnFZ-0005X6-L1 for qemu-devel@nongnu.org; Mon, 11 May 2015 08:56:05 -0400 Received: from smtp3.mundo-r.com ([212.51.32.191]:32157 helo=smtp4.mundo-r.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YrnFZ-0005LU-Bk; Mon, 11 May 2015 08:56:01 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ai0IAKOlUFVbdWOb/2dsb2JhbABcgw+BMrJvAQEBAQEBBQGBBAGYVgKBL0wBAQEBAQGBC4QhAQEEeRA/EjwbGYgwAccwLIYWiigHFoQXBYwXkQmWVyNhZkIcgVVsgkYBAQE X-IPAS-Result: Ai0IAKOlUFVbdWOb/2dsb2JhbABcgw+BMrJvAQEBAQEBBQGBBAGYVgKBL0wBAQEBAQGBC4QhAQEEeRA/EjwbGYgwAccwLIYWiigHFoQXBYwXkQmWVyNhZkIcgVVsgkYBAQE X-IronPort-AV: E=Sophos;i="5.13,407,1427752800"; d="scan'208";a="348478598" Received: from fanzine.igalia.com ([91.117.99.155]) by smtp4.mundo-r.com with ESMTP; 11 May 2015 14:55:20 +0200 Received: from dsl-hkibrasgw4-50df50-128.dhcp.inet.fi ([80.223.80.128] helo=perseus.local) by fanzine.igalia.com with esmtpsa (Cipher TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim) id 1YrnEu-0006Ey-6m; Mon, 11 May 2015 14:55:20 +0200 Received: from berto by perseus.local with local (Exim 4.85) (envelope-from ) id 1YrnEh-0002Mj-1I; Mon, 11 May 2015 15:55:07 +0300 From: Alberto Garcia To: qemu-devel@nongnu.org Date: Mon, 11 May 2015 15:54:59 +0300 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 212.51.32.191 Cc: Kevin Wolf , Alberto Garcia , qemu-block@nongnu.org, Max Reitz , Stefan Hajnoczi Subject: [Qemu-devel] [PATCH 7/8] qcow2: style fixes in qcow2-cache.c X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Fix pointer declaration to make it consistent with the rest of the code. Signed-off-by: Alberto Garcia Reviewed-by: Stefan Hajnoczi Reviewed-by: Max Reitz --- block/qcow2-cache.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/block/qcow2-cache.c b/block/qcow2-cache.c index bde3c4f..ed92a09 100644 --- a/block/qcow2-cache.c +++ b/block/qcow2-cache.c @@ -35,8 +35,8 @@ typedef struct Qcow2CachedTable { } Qcow2CachedTable; struct Qcow2Cache { - Qcow2CachedTable* entries; - struct Qcow2Cache* depends; + Qcow2CachedTable *entries; + struct Qcow2Cache *depends; int size; bool depends_on_flush; void *table_array; @@ -81,7 +81,7 @@ Qcow2Cache *qcow2_cache_create(BlockDriverState *bs, int num_tables) return c; } -int qcow2_cache_destroy(BlockDriverState* bs, Qcow2Cache *c) +int qcow2_cache_destroy(BlockDriverState *bs, Qcow2Cache *c) { int i;