lkml.org 
[lkml]   [2020]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/5] staging: vchiq: stop using compat_alloc_user_space
Date
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

\
 
 \ /
  Last update: 2020-09-18 11:55    [W:0.244 / U:0.640 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site