From: Axel Haslam Date: Wed, 10 Feb 2016 13:19:29 +0000 (+0100) Subject: greybus: loopback: Add reserved fields to transfer request X-Git-Tag: v4.9-rc1~119^2~378^2~21^2~676 X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=commitdiff_plain;h=b59281ac077414d879e66798f8e44eb976967814;p=linux.git 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 --- 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;