From: Dasaratharaman Chandramouli Date: Thu, 8 Jun 2017 17:37:44 +0000 (-0400) Subject: IB/srpt: Increase lid and sm_lid to 32 bits X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4c4736905e456819223c6e879ca8fe7cce877939;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git IB/srpt: Increase lid and sm_lid to 32 bits srpt contains lid and sm_lid fields which are 16 bits in length, increase them to 32 bits. Signed-off-by: Dasaratharaman Chandramouli Reviewed-by: Ira Weiny Signed-off-by: Don Hiatt Signed-off-by: Doug Ledford --- diff --git a/drivers/infiniband/ulp/srpt/ib_srpt.h b/drivers/infiniband/ulp/srpt/ib_srpt.h index cc1183851af5..1b817e51b84b 100644 --- a/drivers/infiniband/ulp/srpt/ib_srpt.h +++ b/drivers/infiniband/ulp/srpt/ib_srpt.h @@ -328,8 +328,8 @@ struct srpt_port { u8 port_guid[24]; u8 port_gid[64]; u8 port; - u16 sm_lid; - u16 lid; + u32 sm_lid; + u32 lid; union ib_gid gid; struct work_struct work; struct se_portal_group port_guid_tpg;