commit | 1b0f06d0b4860a8a73dc0b48540d82d8897ead71 | [log] [tgz] |
---|---|---|
author | Greg Ungerer <gerg@snapgear.com> | Thu Jul 13 09:32:41 2006 +1000 |
committer | Linus Torvalds <torvalds@g5.osdl.org> | Thu Jul 13 07:51:48 2006 -0700 |
tree | daeca25611fa75a1439f35b54d1586e24ea77478 | |
parent | b43c7cec6bf9558336fb033d1217fc765d259c47 [diff] |
[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>