diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2020-02-17 20:25:14 +0300 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-07-27 21:31:07 +0300 |
| commit | dc12d7968f9c9540494deb1285854b18ca4465ec (patch) | |
| tree | 5d62016a11db4117707189853899ee466b5bcafb /drivers/fpga/fpga-mgr.c | |
| parent | 1e56f6d28954248f01849c359b1b7210bb6c1add (diff) | |
| download | linux-dc12d7968f9c9540494deb1285854b18ca4465ec.tar.xz | |
copy_regset_to_user(): do all copyout at once.
Turn copy_regset_to_user() into regset_get_alloc() + copy_to_user().
Now all ->get() calls have a kernel buffer as destination.
Note that we'd already eliminated the callers of copy_regset_to_user()
with non-zero offset; now that argument is simply unused.
Uninlined, while we are at it.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions
