Received: from eggs.gnu.org ([140.186.70.92]:54015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSnF9-0003VK-Lo for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:06:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RSnF5-0005se-Pa for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:06:23 -0500 Received: from mx1.redhat.com ([209.132.183.28]:15993) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RSnF5-0005sT-Fz for qemu-devel@nongnu.org; Tue, 22 Nov 2011 05:06:19 -0500 From: Markus Armbruster Date: Tue, 22 Nov 2011 11:06:14 +0100 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Subject: [Qemu-devel] Suspicious fall through in qemu_default_pixelformat() List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: stefano.stabellini@eu.citrix.com Case 24 falls through to case 32, which overwrites all of case 24's work. Looks wrong. Git blames commit 0da2ea1b "fix endianness problem sharing the videoram buffer". Patching in a break is easy enough, but since I don't actually understand how the function is used, I have no idea what exactly this fixes. Stefano, can you help?