summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>2014-05-21 13:06:10 -0600
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-22 11:05:46 -0700
commit715efdf30e545548601aa2801924f7e44e373fb8 (patch)
treefcc0107a35dd26de7851f41635e9112b08723154 /include
parent32f496dc2d6b14ba3410c2919eca05e7f5e75bb0 (diff)
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>
Diffstat (limited to 'include')
-rw-r--r--include/uapi/linux/msm_rmnet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/uapi/linux/msm_rmnet.h b/include/uapi/linux/msm_rmnet.h
index b03f3285cd7d..4854eb94e578 100644
--- a/include/uapi/linux/msm_rmnet.h
+++ b/include/uapi/linux/msm_rmnet.h
@@ -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. */