Re: [PATCH] be2net: Fix some u16 fields appropriately
From: David Miller
Date: Tue Aug 29 2017 - 00:23:04 EST
From: äæå <yanhaishuang@xxxxxxxxxxxxxxxxxxxx>
Date: Tue, 29 Aug 2017 09:04:57 +0800
> The GET_TX_COMPL_BITS comes from amap_get which also returns a 32-bit value:
It never returns a value with more than 16-bits of significance for
this specific call.
Please stop trying to be semantically clever when arguing about this
change.
It's not about types, it's about what range of values the struct
member can actually hold.