From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VDrZ3-0007V9-Ez for mharc-qemu-trivial@gnu.org; Mon, 26 Aug 2013 03:50:17 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52497) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDrYw-0007NQ-TJ for qemu-trivial@nongnu.org; Mon, 26 Aug 2013 03:50:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VDrYq-0001qU-Ut for qemu-trivial@nongnu.org; Mon, 26 Aug 2013 03:50:10 -0400 Received: from mx1.redhat.com ([209.132.183.28]:30133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VDrYe-0001bh-JF; Mon, 26 Aug 2013 03:49:52 -0400 Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id r7Q7nom1025711 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 26 Aug 2013 03:49:50 -0400 Received: from yakj.usersys.redhat.com (ovpn-112-45.ams2.redhat.com [10.36.112.45]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id r7Q7ngQa006965; Mon, 26 Aug 2013 03:49:48 -0400 Message-ID: <521B0895.7070509@redhat.com> Date: Mon, 26 Aug 2013 09:49:41 +0200 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130805 Thunderbird/17.0.8 MIME-Version: 1.0 To: Peter Maydell References: <1377274593-8797-1-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1377274593-8797-1-git-send-email-peter.maydell@linaro.org> X-Enigmail-Version: 1.5.2 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 209.132.183.28 Cc: qemu-trivial@nongnu.org, qemu-devel@nongnu.org, patches@linaro.org Subject: Re: [Qemu-trivial] [PATCH 0/2] lsi53c895a: avoid integer undefined behaviours X-BeenThere: qemu-trivial@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 07:50:17 -0000 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 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