]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
amd64: fix get_user() on bitwise
authorAl Viro <viro@ftp.linux.org.uk>
Thu, 26 Jul 2007 16:35:39 +0000 (17:35 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 26 Jul 2007 18:11:57 +0000 (11:11 -0700)
commitfdd33961e983dd5b1983c54ef39d243c88a4bffc
tree92f035fb0b89c1c6bbd511b5caa336b0a0d297a7
parentc47ffe3d3d841986108a8316f6e01792cb45d0d2
amd64: fix get_user() on bitwise

We really need force-cast when converting to final result type;
unsigned long can be silently converted to integer types and
to pointers, but not to bitwise.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/asm-x86_64/uaccess.h