Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ecb7524c authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] kill bogus casts in amd64 uaccess.h

parent 7ccec1b9
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -373,12 +373,12 @@ extern long __copy_user_nocache(void *dst, const void __user *src, unsigned size
static inline int __copy_from_user_nocache(void *dst, const void __user *src, unsigned size)
{
	might_sleep();
	return __copy_user_nocache(dst, (__force void *)src, size, 1);
	return __copy_user_nocache(dst, src, size, 1);
}

static inline int __copy_from_user_inatomic_nocache(void *dst, const void __user *src, unsigned size)
{
	return __copy_user_nocache(dst, (__force void *)src, size, 0);
	return __copy_user_nocache(dst, src, size, 0);
}

#endif /* __X86_64_UACCESS_H */