|
@@ -204,13 +204,13 @@ int __copy_in_user(void __user *dst, const void __user *src, unsigned size)
|
|
|
static __must_check __always_inline int
|
|
|
__copy_from_user_inatomic(void *dst, const void __user *src, unsigned size)
|
|
|
{
|
|
|
- return __copy_from_user_nocheck(dst, (__force const void *)src, size);
|
|
|
+ return __copy_from_user_nocheck(dst, src, size);
|
|
|
}
|
|
|
|
|
|
static __must_check __always_inline int
|
|
|
__copy_to_user_inatomic(void __user *dst, const void *src, unsigned size)
|
|
|
{
|
|
|
- return __copy_to_user_nocheck((__force void *)dst, src, size);
|
|
|
+ return __copy_to_user_nocheck(dst, src, size);
|
|
|
}
|
|
|
|
|
|
extern long __copy_user_nocache(void *dst, const void __user *src,
|