mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
RDMA/core: Fix incorrect structure packing for booleans
am: 50fc62d5ee
Change-Id: I8e73d933afe16322ff18709d200d3d4ea6abbeb4
This commit is contained in:
@@ -153,12 +153,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;
|
||||
@@ -220,7 +220,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 */
|
||||
|
||||
Reference in New Issue
Block a user