From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dan Carpenter Subject: Re: [PATCH] drm/i915: error_buffer->ring should be signed Date: Thu, 16 Feb 2012 14:16:27 +0300 Message-ID: <20120216111627.GM26353@mwanda> References: <20120216064004.GA23794@elgon.mountain> <1329386609-15885-1-git-send-email-daniel.vetter@ffwll.ch> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1831272831==" Return-path: In-Reply-To: <1329386609-15885-1-git-send-email-daniel.vetter@ffwll.ch> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: Daniel Vetter Cc: Intel Graphics Development , DRI Development List-Id: intel-gfx@lists.freedesktop.org --===============1831272831== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="2IK6idz0sKKouFF6" Content-Disposition: inline --2IK6idz0sKKouFF6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Feb 16, 2012 at 11:03:29AM +0100, Daniel Vetter wrote: > gcc seems to get uber-anal recently about these things. >=20 Sorry, I should have said that it's not a gcc warning, it's a smatch thing. But also it's not uber-anal. It's the exact level of anality which is required to make the =3D=3D -1 test work. You can compare unsigned int and longs to -1 and it works but for smaller types it doesn't. regards, dan carpenter --2IK6idz0sKKouFF6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) iQIcBAEBAgAGBQJPPOWLAAoJEOnZkXI/YHqRuG8QAIbY8FdoiP/3SLSon9gKZdvQ b7q9wLvdbPIlZ+ySd2e9d4wgxZTbytLdGoSdDsZAdKrEZ1C8fab1rznFQrS5xz+d PBzOAOQ6kuUWxqIdmMkoiy508uvojvKLd5cZrtWOLZ9phgUWxNx8UyX5bV7xHbd/ yWq+cM8D0ucIEd76k/DJ/Y8fXkuEEcuGthIJSjxjEqQUjz+0vwFgk3Ecnjhd1Pdb LLeg3D6BCvVHd3rsATQgeFXe9vcLL/d0AiXscWPyCtY6FQCHkCTXoZbvuk5jVQNw xZBHHFVrhOFH5u4crF5kxJfIIEIPy4c1fPTYy9YmN3Q5ZxR2c7OmFpREBaDe5Wrx UYrd+Ep8VgsxwpMF+W9n6S2GszVDKhCrEqBZzmA3WtXhOD1yJ6T/PPQbRSzEhlNj AMb/jzligYOSXE2r+Ajxpz8hfc49SOTV663rWJtbReQ5I0YfqkpMDfGvY4poAtGl w9xcluARxc8dqy4KwwEPdKtlVtPk0dBib8GG4PREqOHYwabADNUecnCEYprl7e69 b73RZxNl3TiSIDZgvTHTGG/MWRaIRED+9P6YkivrURmTGgS5g/350tGnCqvQ5Hph upSWRkTKtoEEOtDoblVvleL2WQuhyThQqLyT8kyLo8zeGgePZ0tdZJ8UZ4GdShbx 9JvGHkrW4OFsYO3hDJr8 =ieD+ -----END PGP SIGNATURE----- --2IK6idz0sKKouFF6-- --===============1831272831== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/dri-devel --===============1831272831==--