diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-03-27 04:14:27 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-27 11:44:37 -0500 |
commit | bb83da053319e81906473bec08e8f677d6ac615f (patch) | |
tree | b5ee3445db891baf71e4ce358baca740043c0672 /fs/udf/ecma_167.h | |
parent | dbffa471611d3fc4b401ebabf7bb63ac0e0272b1 (diff) |
[PATCH] uml: fix build warnings in __get_user
Fix a gcc warning about losing qualifiers to the first argument of
copy_from_user. The typeof change for correctness, and fixes a lot of the
warnings, but there are some cases where x has some extra qualifiers, like
volatile, which copy_from_user can't know about. For these, the void * cast
seems to be necessary.
Also cleaned up some of the whitespace and got rid of the emacs comment at the
bottom.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'fs/udf/ecma_167.h')
0 files changed, 0 insertions, 0 deletions