commit | f3c927125fa49a42d596434d1ed454195c0d4530 | [log] [tgz] |
---|---|---|
author | Chris Metcalf <cmetcalf@ezchip.com> | Tue Jan 13 14:39:05 2015 -0500 |
committer | Chris Metcalf <cmetcalf@ezchip.com> | Tue Jan 13 18:44:17 2015 -0500 |
tree | 80fc76e45b361fe5021861bc8e2d57a46048c0c0 | |
parent | e9118a4914e47e915952842828401779f09cecb8 [diff] |
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 <mst@redhat.com> Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>