Received: from eggs.gnu.org ([2001:4830:134:3::10]:32819) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VCu2P-0002lB-US for qemu-devel@nongnu.org; Fri, 23 Aug 2013 12:16:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VCu2N-0004y2-Aq for qemu-devel@nongnu.org; Fri, 23 Aug 2013 12:16:37 -0400 From: Peter Maydell Date: Fri, 23 Aug 2013 17:16:31 +0100 Message-Id: <1377274593-8797-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 0/2] lsi53c895a: avoid integer undefined behaviours List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Paolo Bonzini , patches@linaro.org More patches to fix clang sanitizer warnings; in this case we can fix them and clean up the code a bit by replacing hand-coded operations with functions from the bitops header. Peter Maydell (2): hw/scsi/lsi53c895a: Use sextract32 for sign-extension hw/scsi/lsi53c895a: Use deposit32 rather than handcoded shift/mask hw/scsi/lsi53c895a.c | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) -- 1.7.9.5