diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2020-04-25 20:11:57 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-05-29 10:05:44 -0400 |
commit | aa332e6759fac21b454e4959703777c771a9cd93 (patch) | |
tree | 22cf2448f7b1aa6a05ed8a7f6d58d97a2a980d5d /drivers/net/ethernet/intel/igc/igc_main.c | |
parent | 388138764e2549520afd0b3b4e15de8deb592ff6 (diff) |
comedi: get rid of compat_alloc_user_space() mess in COMEDI_INSN compat
Just take copy_from_user() out of do_insn_ioctl() into the caller and
have compat_insn() build a native version and pass it to do_insn_ioctl()
directly.
One difference from the previous commits is that the helper used to
convert 32bit variant to native has two users - compat_insn() and
compat_insnlist(). The latter will be converted in next commit;
for now we simply split the helper in two variants - "userland 32bit
to kernel native" and "userland 32bit to userland native". The latter
is renamed old get_compat_insn(); it will be gone in the next commit.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions