Searched hist:dc12d7968f9c9540494deb1285854b18ca4465ec (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/kernel/ |
H A D | regset.c | diff dc12d7968f9c9540494deb1285854b18ca4465ec Mon Feb 17 11:25:14 CST 2020 Al Viro <viro@zeniv.linux.org.uk> 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>
|
/openbmc/linux/include/linux/ |
H A D | regset.h | diff dc12d7968f9c9540494deb1285854b18ca4465ec Mon Feb 17 11:25:14 CST 2020 Al Viro <viro@zeniv.linux.org.uk> 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>
|