mbox series

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

Message ID 20200918095441.1446041-1-arnd@arndb.de (mailing list archive)
Headers show
Series staging: vchiq: stop using compat_alloc_user_space | expand

Message

Arnd Bergmann Sept. 18, 2020, 9:54 a.m. UTC
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(-)