Skip to content
Commit a4367cd2 authored by Arnd Bergmann's avatar Arnd Bergmann Committed by Greg Kroah-Hartman
Browse files

staging: vchiq: convert compat bulk transfer



Split out the ioctl implementation for VCHIQ_IOC_QUEUE_BULK_TRANSMIT
into a separate function so it can be shared with the compat
implementation.

Here, the input data is converted separately in the compat
handler, while the output data is passed as a __user pointer
to thec vchiq_queue_bulk_transfer->mode word that is
compatible.

Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Link: https://lore.kernel.org/r/20200918095441.1446041-5-arnd@arndb.de


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f618affa
  • mirror @mirror

    mentioned in commit d05d565e

    ·

    mentioned in commit d05d565e

    Toggle commit list
  • mirror @mirror

    mentioned in commit 093564dcbbcca4ba3058399afad26fa27a15f900

    ·

    mentioned in commit 093564dcbbcca4ba3058399afad26fa27a15f900

    Toggle commit list
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment