From: Chris Metcalf Date: Tue, 13 Jan 2015 19:39:05 +0000 (-0500) Subject: tile: fix put_user sparse errors X-Git-Tag: fixes-v4.0-rc1~111^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3c927125fa49a42d596434d1ed454195c0d4530;p=pandora-kernel.git tile: fix put_user sparse errors Use x86's __inttype macro instead of using the typeof(x-x) trick to generate a suitable integer size type. This avoids a sparse warning when examining the x-x type with a bitwise type. Reviewed-by: Michael S. Tsirkin Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed