RE: linux-next: build failure after merge of the rdma tree

From: Guy Levi(SW)
Date: Wed Dec 05 2018 - 07:26:04 EST


>
> Huh. So apparently every compiler that tested this patch (0-day, mine,
> the submitters) optimized this call away because is_atomic_response()
> always returns 0: meaning mlx5_get_atomic_laddr is never callable and
> can be deleted entirely, including the call to mlx5_get_send_wqe.
>
> Not sure what compiler setup will hit this, but it is clearly wrong
> code..

Flag -o0 ?


>
> Guy/Leon, please send a fixup.. Maybe just delete all this
> handle_atomics stuff?
>
> Thanks,
> Jason