From b59281ac077414d879e66798f8e44eb976967814 Mon Sep 17 00:00:00 2001 From: Axel Haslam Date: Wed, 10 Feb 2016 14:19:29 +0100 Subject: [PATCH] greybus: loopback: Add reserved fields to transfer request All loopback transfer operations should have an identical header format in order to facilitate bandwidth and data movement analysis. Suggested-by: Bryan O'Donoghue Signed-off-by: Axel Haslam Signed-off-by: Greg Kroah-Hartman --- drivers/staging/greybus/greybus_protocols.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/drivers/staging/greybus/greybus_protocols.h b/drivers/staging/greybus/greybus_protocols.h index cd64ac84dad2..6b192924a566 100644 --- a/drivers/staging/greybus/greybus_protocols.h +++ b/drivers/staging/greybus/greybus_protocols.h @@ -1053,8 +1053,14 @@ struct gb_uart_serial_state_request { #define GB_LOOPBACK_TYPE_TRANSFER 0x03 #define GB_LOOPBACK_TYPE_SINK 0x04 +/* + * Loopback request/response header format should be identical + * to simplify bandwidth and data movement analysis. + */ struct gb_loopback_transfer_request { __le32 len; + __le32 reserved0; + __le32 reserved1; __u8 data[0]; } __packed; -- 2.20.1