Skip to content

staging: vchiq: stop using compat_alloc_user_space

Arnd Bergmann linux-arm-kernel lkml oe-kbuild-all 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5staging: vchiq: rework compat handlingdrivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c+56 -530 replies
2/5staging: vchiq: convert compat create_servicedrivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c+89 -1000 replies
3/5staging: vchiq: convert compat dequeue_messagedrivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c+92 -880 replies
4/5staging: vchiq: convert compat bulk transferdrivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c+109 -1110 replies
5/5staging: vchiq: convert compat await_completiondrivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c+205 -2910 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

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(-)
Signature · 1 line
2.27.0