[PATCH] drm/i915: error_buffer->ring should be signed
Dan Carpenter
dan.carpenter at oracle.com
Thu Feb 16 03:16:27 PST 2012
On Thu, Feb 16, 2012 at 11:03:29AM +0100, Daniel Vetter wrote:
> gcc seems to get uber-anal recently about these things.
>
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 == -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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20120216/007fc5b2/attachment.pgp>
More information about the dri-devel
mailing list