diff options
| author | Chris Metcalf <[email protected]> | 2015-01-13 19:39:05 +0000 |
|---|---|---|
| committer | Chris Metcalf <[email protected]> | 2015-01-13 23:44:17 +0000 |
| commit | f3c927125fa49a42d596434d1ed454195c0d4530 (patch) | |
| tree | 80fc76e45b361fe5021861bc8e2d57a46048c0c0 /lib/string_helpers.c | |
| parent | tile: default to little endian on older toolchains (diff) | |
| download | kernel-f3c927125fa49a42d596434d1ed454195c0d4530.tar.gz kernel-f3c927125fa49a42d596434d1ed454195c0d4530.zip | |
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 <[email protected]>
Signed-off-by: Chris Metcalf <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions
