]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4e99f3947d06e6d8862a8ea6205a79f04af332ef
tree83933b15cb7715a61cfd6635a1b5221ebdf818bf
parentdf857ca958b83d05f568b305ae338e787e42af61
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