From: Daniel Vetter Date: Thu, 16 Feb 2012 10:03:29 +0000 (+0100) Subject: drm/i915: error_buffer->ring should be signed X-Git-Tag: v3.4-rc1~143^2~18^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5d1333fcce84e77ec865f6b09006401ed3f564b5;p=pandora-kernel.git drm/i915: error_buffer->ring should be signed gcc seems to get uber-anal recently about these things. Clarification from Dan Carpenter: "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." Reported-by: Dan Carpenter Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed