x86: Don't cast away the __user in __get_user_asm_u64()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Tue, 12 Sep 2017 16:40:00 +0000 (19:40 +0300)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 25 Sep 2017 07:36:16 +0000 (09:36 +0200)
commit5ac751d9e6b187c4a0000879d6598eb2292db949
tree3fdcbb732c501fa8d371a2843e0aadc8dc6f739b
parent7d7099433d9eaaa5a989a55f1fa354c16a3ad297
x86: Don't cast away the __user in __get_user_asm_u64()

Don't cast away the __user in __get_user_asm_u64() on x86-32.
Prevents sparse getting upset.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Benjamin LaHaise <bcrl@kvack.org>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: http://lkml.kernel.org/r/20170912164000.13745-1-ville.syrjala@linux.intel.com
arch/x86/include/asm/uaccess.h