mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user