Thread (2 messages) flat view 2 messages, 2 authors, 2015-02-05

Re: [PATCH v5 2/7] mailbox: arm_mhu: add driver for ARM MHU controller

From: Jassi Brar <hidden>
Date: 2015-02-05 12:02:39

On Feb 5, 2015 5:13 PM, "Arnd Bergmann" [off-list ref] wrote:
quoted
I know typedef's are frowned upon, but how bad is the following option?
       typedef void*  mbox_data_info
       int mbox_send_message(struct mbox_chan *chan, mbox_data_info
data);
I don't see how that would help.
If it's abuse because the argument is a void*... What if we called it
mbox_data_info?  To say platforms are free to pass data as a pointer or a
value :)

Jassi
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help