]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commitcae4355919d299a5c16cb8310e6a26ace23254db
treedaeca25611fa75a1439f35b54d1586e24ea77478
parent278df93d65d7921947523774b7d756339766d98a
[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