From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52443) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDrYk-0007Bv-Qk for qemu-devel@nongnu.org; Mon, 26 Aug 2013 03:50:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDrYe-0001bm-Rc for qemu-devel@nongnu.org; Mon, 26 Aug 2013 03:49:58 -0400 Message-ID: <521B0895.7070509@redhat.com> Date: Mon, 26 Aug 2013 09:49:41 +0200 From: Paolo Bonzini MIME-Version: 1.0 References: <1377274593-8797-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1377274593-8797-1-git-send-email-peter.maydell@linaro.org> Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH 0/2] lsi53c895a: avoid integer undefined behaviours List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, patches@linaro.org Il 23/08/2013 18:16, Peter Maydell ha scritto: > 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(-) > Applied both to scsi-next, thanks. Paolo