greybus: embed message buffer into message structure
authorAlex Elder <elder@linaro.org>
Thu, 20 Nov 2014 22:09:16 +0000 (16:09 -0600)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 21 Nov 2014 20:23:34 +0000 (12:23 -0800)
commit87d208feb74f4297ac2677215252bf7da65e0650
tree9fcc954bea7407faa5c15d9c1758b8b4f6f840f8
parentc08b1ddaeb6e8f3c22b15f80e7475c809490a716
greybus: embed message buffer into message structure

Embed the buffer for message data into the message structure itself.
This allows us to use a single allocation for each message, and
more importantly will allow us to derive the message structure
describing a message from the buffer itself.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Greg Kroah-Hartman <greg@kroah.com>
drivers/staging/greybus/operation.c
drivers/staging/greybus/operation.h