s Villemoes; linux-r...@vger.kernel.org; linux-
> ker...@vger.kernel.org
> Subject: [PATCH 2/2] infiniband: Use unsigned for bit index
>
> In the expressions idx/32 and idx%32, both idx and 32 have signed type, and
> unfortunately the C standard prescribes rounding to 0, so unles
: Rasmus Villemoes; linux-r...@vger.kernel.org; linux-
ker...@vger.kernel.org
Subject: [PATCH 2/2] infiniband: Use unsigned for bit index
In the expressions idx/32 and idx%32, both idx and 32 have signed type, and
unfortunately the C standard prescribes rounding to 0, so unless gcc can
prove
In the expressions idx/32 and idx%32, both idx and 32 have signed
type, and unfortunately the C standard prescribes rounding to 0, so
unless gcc can prove that idx is non-negative, these cannot be
implemented as simple shift respectively mask operations. Help gcc by
changing the type of idx to
In the expressions idx/32 and idx%32, both idx and 32 have signed
type, and unfortunately the C standard prescribes rounding to 0, so
unless gcc can prove that idx is non-negative, these cannot be
implemented as simple shift respectively mask operations. Help gcc by
changing the type of idx to
4 matches
Mail list logo