net: msm_rmnet.h: Fix data type of flow_id in QoS header
Fix an issue where the flow_id was appearing to be 8 bytes in 64 bit platforms. This is because the flow_id is declared as unsigned long which is 8 bytes in 64 bit and 4 bytes in 32 bit platforms. Change the flow_id to uint32_t to make it 4 bytes on all platforms. CRs-fixed: 663814 Change-Id: I2472fb99750d1818ecfae03b5bcd860f19ac51a7 Signed-off-by: Subash Abhinov Kasiviswanathan <subashab@codeaurora.org>
This commit is contained in:
parent
32f496dc2d
commit
715efdf30e
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ struct rmnet_ioctl_data_s {
|
|||
struct QMI_QOS_HDR_S {
|
||||
unsigned char version;
|
||||
unsigned char flags;
|
||||
unsigned long flow_id;
|
||||
uint32_t flow_id;
|
||||
};
|
||||
|
||||
/* QMI QoS 8-byte header. */
|
||||
|
|
Loading…
Add table
Reference in a new issue