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)
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

Simple merge