From: Wengang Wang Date: Tue, 17 May 2016 16:21:20 +0000 (-0700) Subject: RDS: IB: avoid bit fields for i_frag_pages X-Git-Tag: v4.1.12-92~159^2~3 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=fd1fba18110a1f902812b034f6aead16a2146b53;p=users%2Fjedix%2Flinux-maple.git RDS: IB: avoid bit fields for i_frag_pages i_frag_pages may need to store more than 1 page value for higher fragments so bit field won't help. Lets fix that. Orabug: 23275911 Tested-by: Hong Liu Acked-by: Santosh Shilimkar Signed-off-by: Wengang Wang --- diff --git a/net/rds/ib.h b/net/rds/ib.h index c66eec4a5b0d..d3b1a58d5bec 100644 --- a/net/rds/ib.h +++ b/net/rds/ib.h @@ -216,7 +216,7 @@ struct rds_ib_connection { /* Protocol version specific information */ unsigned int i_flowctl:1; /* enable/disable flow ctl */ u16 i_frag_sz; /* IB fragment size */ - int8_t i_frag_pages:1; + int8_t i_frag_pages; /* Batched completions */ unsigned int i_unsignaled_wrs;