RDMA/core: Fix incorrect structure packing for booleans

am: 88326fe95f

Change-Id: I324f6a5c39fde9a0b603c3a4576375124d4e68d1
This commit is contained in:
Jason Gunthorpe
2017-03-12 08:22:39 +00:00
committed by android-build-merger

View File

@@ -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 */