From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42558) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlelE-0000N9-BY for qemu-devel@nongnu.org; Fri, 13 Jan 2012 05:53:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlekz-0001Mf-HC for qemu-devel@nongnu.org; Fri, 13 Jan 2012 05:53:25 -0500 Received: from e06smtp17.uk.ibm.com ([195.75.94.113]:42372) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlekz-0001MC-9N for qemu-devel@nongnu.org; Fri, 13 Jan 2012 05:53:13 -0500 Received: from /spool/local by e06smtp17.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Jan 2012 10:53:12 -0000 Received: from d06av02.portsmouth.uk.ibm.com (d06av02.portsmouth.uk.ibm.com [9.149.37.228]) by d06nrmr1507.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0DAqvil2289762 for ; Fri, 13 Jan 2012 10:52:57 GMT Received: from d06av02.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av02.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0DAqu7g012482 for ; Fri, 13 Jan 2012 03:52:57 -0700 From: Stefan Hajnoczi Date: Fri, 13 Jan 2012 10:51:40 +0000 Message-Id: <1326451900-18325-13-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1326451900-18325-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1326451900-18325-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 12/12] bt-host: add missing break statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: qemu-devel@nongnu.org, Stefan Hajnoczi The switch statement in bt_host_read() is missing a break in one case. Andrzej Zaborowski confirmed that this is not an intentional fall-through. Reviewed-by: Stefan Weil Signed-off-by: Stefan Hajnoczi --- bt-host.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/bt-host.c b/bt-host.c index df5b7cd..0d3ad28 100644 --- a/bt-host.c +++ b/bt-host.c @@ -130,6 +130,7 @@ static void bt_host_read(void *opaque) pktlen = MIN(pkt[2] + 3, s->len); s->len -= pktlen; pkt += pktlen; + break; default: bad_pkt: -- 1.7.7.3