9b6e45d459
The index should be computed as distance from arg[0] and not the beginning of struct mlx5_ib_congestion . While at it fix a use of zero length array to avoid depending on undefined compiler behaviour. MFC after: 1 week Sponsored by: Mellanox Technologies |
||
---|---|---|
.. | ||
mlx5_ib_ah.c | ||
mlx5_ib_cong.c | ||
mlx5_ib_cq.c | ||
mlx5_ib_doorbell.c | ||
mlx5_ib_gsi.c | ||
mlx5_ib_mad.c | ||
mlx5_ib_main.c | ||
mlx5_ib_mem.c | ||
mlx5_ib_mr.c | ||
mlx5_ib_qp.c | ||
mlx5_ib_srq.c | ||
mlx5_ib_virt.c | ||
mlx5_ib.h |