[RESEND PATCH V2 0/3] Add vchi_queue_kernel_message and vchi_queue_user_message

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)


Changes:

V2 - Add missing symbol export of vchiq_queue_user_message

Signed-off-by: Michael Zoran <mzoran@xxxxxxxxxxxx>
Reviewed-by: Eric Anholt <eric@xxxxxxxxxx>

Michael Zoran (3):
  staging: vc04_services: Add vchi_queue_kernel_message function
  staging: vc04_services: Add vchi_queue_user_message function
  staging: vc04_services: Make vchi_msg_queue static

 .../staging/vc04_services/interface/vchi/vchi.h    | 18 ++++---
 .../vc04_services/interface/vchiq_arm/vchiq_shim.c | 58 +++++++++++++++++++++-
 2 files changed, 68 insertions(+), 8 deletions(-)

-- 
2.11.0

_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux