Received: from eggs.gnu.org ([140.186.70.92]:43351) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1xJw-0001BN-PU for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:24:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R1xJv-0005TH-HO for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:24:24 -0400 Received: from mtagate2.uk.ibm.com ([194.196.100.162]:33449) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R1xJv-0005SY-9i for qemu-devel@nongnu.org; Fri, 09 Sep 2011 05:24:23 -0400 Received: from d06nrmr1507.portsmouth.uk.ibm.com (d06nrmr1507.portsmouth.uk.ibm.com [9.149.38.233]) by mtagate2.uk.ibm.com (8.13.1/8.13.1) with ESMTP id p899OLIt016249 for ; Fri, 9 Sep 2011 09:24:21 GMT Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id p899OL9H2625664 for ; Fri, 9 Sep 2011 10:24:21 +0100 Received: from d06av11.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id p899OKm3004970 for ; Fri, 9 Sep 2011 03:24:20 -0600 From: Stefan Hajnoczi Date: Fri, 9 Sep 2011 10:24:14 +0100 Message-Id: <1315560255-25009-8-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1315560255-25009-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1315560255-25009-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 7/8] virtio-9p: Fix syntax error in debug code List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Anthony Liguori , "Aneesh Kumar K.V" , Stefan Hajnoczi From: Stefan Weil This error was reported by cppcheck: qemu/hw/9pfs/virtio-9p-debug.c:342: error: Invalid number of character ({) when these macros are defined: 'DEBUG_DATA'. Cc: Aneesh Kumar K.V Signed-off-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- hw/9pfs/virtio-9p-debug.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/hw/9pfs/virtio-9p-debug.c b/hw/9pfs/virtio-9p-debug.c index 4636ad5..96925f0 100644 --- a/hw/9pfs/virtio-9p-debug.c +++ b/hw/9pfs/virtio-9p-debug.c @@ -295,7 +295,7 @@ static void pprint_data(V9fsPDU *pdu, int rx, size_t *offsetp, const char *name) if (rx) { count = pdu->elem.in_num; - } else + } else { count = pdu->elem.out_num; } -- 1.7.5.4