Commit 4ad84cb5 authored by Alexander Usyskin's avatar Alexander Usyskin Committed by Greg Kroah-Hartman

mei: squash single_recv_buf into one bit in client properties

single_recv_buf member of struct mei_client_properties has a boolean
value and can be represented in on bit, to free other 7 bits
for another usage.
Signed-off-by: default avatarAlexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a2915698
...@@ -311,7 +311,8 @@ struct mei_client_properties { ...@@ -311,7 +311,8 @@ struct mei_client_properties {
u8 protocol_version; u8 protocol_version;
u8 max_number_of_connections; u8 max_number_of_connections;
u8 fixed_address; u8 fixed_address;
u8 single_recv_buf; u8 single_recv_buf:1;
u8 reserved:7;
u32 max_msg_length; u32 max_msg_length;
} __packed; } __packed;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment