From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34643) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z0tUW-0007Ab-2W for qemu-devel@nongnu.org; Fri, 05 Jun 2015 11:25:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z0tUR-0004rj-Mp for qemu-devel@nongnu.org; Fri, 05 Jun 2015 11:25:03 -0400 Message-ID: <5571BF41.2080207@redhat.com> Date: Fri, 05 Jun 2015 09:24:49 -0600 From: Eric Blake MIME-Version: 1.0 References: <1433367941-119488-1-git-send-email-agraf@suse.de> In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6DPW8IS1ILseKqKC1LRXpQMxgIkkCNqQU" Subject: Re: [Qemu-devel] [PULL 00/40] ppc patch queue 2015-06-03 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Peter Maydell , Alexander Graf Cc: "qemu-ppc@nongnu.org" , QEMU Developers , Michael Roth This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --6DPW8IS1ILseKqKC1LRXpQMxgIkkCNqQU Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 06/05/2015 07:33 AM, Peter Maydell wrote: > On 3 June 2015 at 22:45, Alexander Graf wrote: >> Hi Peter, >> >> This is my current patch queue for ppc. Please pull. >=20 > This is applied, but can you fix the clang sanitizer warnings, > please? >=20 > hw/ppc/spapr_drc.c:59:24: runtime error: left shift of negative value -= 1 > hw/ppc/spapr_drc.c:587:19: runtime error: left shift of negative value = -1 >=20 > Problem looks to be in: > #define DRC_INDEX_ID_MASK (~(~0 << DRC_INDEX_TYPE_SHIFT)) >=20 > which is doing left shifts on a negative signed number. Might be as simple as using ~0U instead of ~0. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --6DPW8IS1ILseKqKC1LRXpQMxgIkkCNqQU Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJVcb9CAAoJEKeha0olJ0NqLKcH/RjvQfXMQJDokQsZY3l73sp6 EyH27gURwOdT/uS+h2ULhphJqXnk2c7hzPtBixgH7jZhT0Lt3bRy5Kvfi7Hpulhu UtOvBROi6kIgw9OCtZwCdmDqqyiLK5+KiCG3jHga2dvUBDXZ+7fyobAuE0cUr/Dv X+bptJlkkQ+FgslXVIhljBMB3rAxlAHLuSMolv1gNB6feHvqBIC3D0ACK1EHNYli FT4gcicmfUxv7px/KSrXvncWAoMjXGzo28xJ3zQ2sbepzhh8nVG5imabuFwgNjQf NdKZmCE44I6GkGl4RFuBoxDzsrJlp0JtWI7zLdFsBdC8AJ+1mMfAKPKrOwNmK2E= =VYk2 -----END PGP SIGNATURE----- --6DPW8IS1ILseKqKC1LRXpQMxgIkkCNqQU--