usrsock.h: add reserved value to usrsock struct
N/A access (struct usrsock_message_req_ack_s)->result can caused unaligend-access, add reserved value to avoid this Change-Id: I6c7d49c57bf898fbf8459b5db9a219122494e254 Signed-off-by: ligd <liguiding1@xiaomi.com>
This commit is contained in:
parent
bfe1e2c148
commit
d0966b800f
@ -243,6 +243,7 @@ begin_packed_struct struct usrsock_message_req_ack_s
|
||||
struct usrsock_message_common_s head;
|
||||
|
||||
uint8_t xid;
|
||||
uint8_t reserved;
|
||||
int32_t result;
|
||||
} end_packed_struct;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user