summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJason Gunthorpe <jgunthorpe@obsidianresearch.com>2017-03-12 08:22:39 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-03-12 08:22:39 +0000
commitce400d3858ce0f90d50a5ca2e65f48e151ba5515 (patch)
tree5d238026beeab393389b06149f82aa0e472ebb5f /include
parent787b979877ddc07129df50d97f66c2db59b44d86 (diff)
parent88326fe95f59e4a36f8c07f9895f619ac49a2ac2 (diff)
RDMA/core: Fix incorrect structure packing for booleans
am: 88326fe95f Change-Id: I324f6a5c39fde9a0b603c3a4576375124d4e68d1
Diffstat (limited to 'include')
-rw-r--r--include/rdma/ib_sa.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/rdma/ib_sa.h b/include/rdma/ib_sa.h
index 301969552d0a..b43e64d69734 100644
--- a/include/rdma/ib_sa.h
+++ b/include/rdma/ib_sa.h
@@ -138,12 +138,12 @@ struct ib_sa_path_rec {
union ib_gid sgid;
__be16 dlid;
__be16 slid;
- int raw_traffic;
+ u8 raw_traffic;
/* reserved */
__be32 flow_label;
u8 hop_limit;
u8 traffic_class;
- int reversible;
+ u8 reversible;
u8 numb_path;
__be16 pkey;
__be16 qos_class;
@@ -204,7 +204,7 @@ struct ib_sa_mcmember_rec {
u8 hop_limit;
u8 scope;
u8 join_state;
- int proxy_join;
+ u8 proxy_join;
};
/* Service Record Component Mask Sec 15.2.5.14 Ver 1.1 */