Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ecb7524c5d85c04d1b396f80bf4c765db5f3f442
Commit:     ecb7524c5d85c04d1b396f80bf4c765db5f3f442
Parent:     7ccec1b94e456b01cbef7cfb1bc97e2b76f24ab5
Author:     Al Viro <[EMAIL PROTECTED]>
AuthorDate: Wed Mar 14 09:20:20 2007 +0000
Committer:  Linus Torvalds <[EMAIL PROTECTED]>
CommitDate: Wed Mar 14 15:27:50 2007 -0700

    [PATCH] kill bogus casts in amd64 uaccess.h
    
    Signed-off-by: Al Viro <[EMAIL PROTECTED]>
    Signed-off-by: Linus Torvalds <[EMAIL PROTECTED]>
---
 include/asm-x86_64/uaccess.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/asm-x86_64/uaccess.h b/include/asm-x86_64/uaccess.h
index 1981f70..9df30b9 100644
--- a/include/asm-x86_64/uaccess.h
+++ b/include/asm-x86_64/uaccess.h
@@ -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 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to