Wednesday, May 16, 2018 7:21 PM, Adrien Mazarguil:
> Subject: [PATCH] net/mlx4: fix shifts of signed values
>
> This patch addresses the following issues reported by cppcheck:
>
> [drivers/net/mlx4/mlx4_rxtx.c:266]: (error) Shifting signed 32-bit value
> by 31 bits is undefined behaviour
> [drivers/net/mlx4/mlx4_rxtx.c:624]: (error) Shifting signed 32-bit value
> by 31 bits is undefined behaviour
> [drivers/net/mlx4/mlx4_txq.c:89]: (error) Shifting signed 32-bit value by
> 31 bits is undefined behaviour
> [drivers/net/mlx4/mlx4_txq.c:91]: (error) Shifting signed 32-bit value by
> 31 bits is undefined behaviour
>
> Fixes: 78e81a9844f8 ("net/mlx4: merge Tx queue rings management")
> Cc: [email protected]
> Cc: Matan Azrad <[email protected]>
>
> Reported-by: Ferruh Yigit <[email protected]>
> Signed-off-by: Adrien Mazarguil <[email protected]>
Applied to next-net-mlx, thanks.