<
mwalle>
mh put_user is broken
<
mwalle>
in asm-generic
<
mwalle>
or our compiler
<
mwalle>
put_user(a, b++) increments b twice..
<
larsc>
it's put_user... grml
<
mwalle>
larsc: yes and get_user has the same issue, hasnt it?
<
mwalle>
and im not sure about __{put,get}_user
<
mwalle>
i think we should refactor it like in the m32r port
<
mwalle>
ok the tile arch is better: )
<
larsc>
imo the current generic code is ok. with the same fix applied to get_user
<
mwalle>
__{get,put}_user uses ptr twice too..
<
mwalle>
but __chk_user_ptr is likely to defined to null
<
larsc>
__chk_user_ptr should never expand to any actuall code
<
larsc>
oh, sorry, nvm, i'm wrong
<
larsc>
on the other hand i'm seemed to be wrong, when i thought i was wrong
<
larsc>
mwalle: you'll be on the save side with it, but __chk_user_ptr will always be a noop when compiling the code