[PATCH 0/3] Add vchi_queue_kernel_message and vchi_queue_user_message

Eric Anholt eric at anholt.net
Thu Jan 26 12:14:29 PST 2017


Michael Zoran <mzoran at crowfest.net> writes:

> The vchi_msg_queue function which is used by other drivers
> to queue a message is difficult to understand and overly
> generic. Remove it and replace it with two more specific functions.
>
> int
> vchi_queue_kernel_message(VCHI_SERVICE_HANDLE_T handle,
>                           void *data,
>                           unsigned int size)
>
> int
> vchi_queue_user_message(VCHI_SERVICE_HANDLE_T handle,
>                         void __user *data,
>                         unsigned int size)

This is much nicer than the old interface, thanks.

Reviewed-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rpi-kernel/attachments/20170126/03776e39/attachment.sig>


More information about the linux-rpi-kernel mailing list