tile: enable sparse checks for get/put_user
authorChris Metcalf <cmetcalf@ezchip.com>
Tue, 13 Jan 2015 19:41:20 +0000 (14:41 -0500)
committerChris Metcalf <cmetcalf@ezchip.com>
Tue, 13 Jan 2015 23:44:34 +0000 (18:44 -0500)
commitb9f705758a4faaf86532bddf6ea3c50d6778ba42
tree83933b15cb7715a61cfd6635a1b5221ebdf818bf
parentf3c927125fa49a42d596434d1ed454195c0d4530
tile: enable sparse checks for get/put_user

Add an extra intermediate variable to __get_user and __put_user
to give sparse an opportunity to detect mismatches.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Chris Metcalf <cmetcalf@ezchip.com>
arch/tile/include/asm/uaccess.h