[PATCH] m68knommu: fix result type in get_user() macro
authorGreg Ungerer <gerg@snapgear.com>
Wed, 12 Jul 2006 23:32:41 +0000 (09:32 +1000)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 13 Jul 2006 14:51:48 +0000 (07:51 -0700)
commit1b0f06d0b4860a8a73dc0b48540d82d8897ead71
treedaeca25611fa75a1439f35b54d1586e24ea77478
parentb43c7cec6bf9558336fb033d1217fc765d259c47
[PATCH] m68knommu: fix result type in get_user() macro

Keep the result holder variable the same type as the quantity we are
retreiving in the get_user() macro - don't go through a pointer version
of the user space address type.

Using the address type causes problems if the address type was const
(newer versions of gcc quite rightly error out for that condition).

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/asm-m68knommu/uaccess.h