Messages in this thread | | | From | Arnd Bergmann <> | Subject | [PATCH 0/5] staging: vchiq: stop using compat_alloc_user_space | Date | Fri, 18 Sep 2020 11:54:36 +0200 |
| |
This driver is one of only a few remaining files using compat_alloc_user_space() and copy_in_user() to implement the compat_ioctl handlers.
Change it to be more like the other drivers, calling the underlying implementation directly, which is generally simpler and less error-prone.
This is only build tested so far.
Arnd
Arnd Bergmann (5): staging: vchiq: rework compat handling staging: vchiq: convert compat create_service staging: vchiq: convert compat dequeue_message staging: vchiq: convert compat bulk transfer staging: vchiq: convert compat await_completion
.../interface/vchiq_arm/vchiq_arm.c | 1194 ++++++++--------- 1 file changed, 551 insertions(+), 643 deletions(-)
-- 2.27.0
| |