]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
x86: uaccess: use errret as error value in __put_user_size()
authorHiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Sat, 31 Jan 2009 02:16:46 +0000 (18:16 -0800)
committerH. Peter Anvin <hpa@linux.intel.com>
Thu, 5 Feb 2009 01:28:21 +0000 (17:28 -0800)
commit18114f61359ac05e3aa797d53d63f40db41f798d
tree7eccf7f9377329b9f0b91ac7b72a7a6344f7c4f1
parent019a1369667c3978f9644982ebe6d261dd2bbc40
x86: uaccess: use errret as error value in __put_user_size()

Impact: cleanup

In __put_user_size() macro errret is used for error value.
But if size is 8, errret isn't passed to__put_user_asm_u64().
This behavior is inconsistent.

Signed-off-by: Hiroshi Shimamoto <h-shimamoto@ct.jp.nec.com>
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
arch/x86/include/asm/uaccess.h