Received: from eggs.gnu.org ([140.186.70.92]:41063) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlLTD-0003ol-HQ for qemu-devel@nongnu.org; Thu, 12 Jan 2012 09:17:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlLT6-00008P-Qv for qemu-devel@nongnu.org; Thu, 12 Jan 2012 09:17:35 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:53080) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlLT6-00007R-D9 for qemu-devel@nongnu.org; Thu, 12 Jan 2012 09:17:28 -0500 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 12 Jan 2012 14:17:21 -0000 From: Stefan Hajnoczi Date: Thu, 12 Jan 2012 14:17:04 +0000 Message-Id: <1326377824-23776-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH] bt-host: add missing break statement List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, andrew.zaborowski@intel.com, 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. 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