[PATCH 0/5] staging: vchiq: stop using compat_alloc_user_space

From: Arnd Bergmann
Date: Fri Sep 18 2020 - 05:55:11 EST


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