commit | b42dde478bcaa8113b0d1cd82ad0048372c5599d | [log] [tgz] |
---|---|---|
author | Bart Van Assche <bart.vanassche@sandisk.com> | Mon Nov 14 08:44:11 2016 -0800 |
committer | Doug Ledford <dledford@redhat.com> | Wed Dec 14 13:01:11 2016 -0500 |
tree | f742d628e6cee0ed6779963a091d8d9a0d354d3f | |
parent | e98172462f0b75ed60f3a73aa280fb29cafd450f [diff] |
IB/mlx4: Rework special QP creation error path The special QP creation error path relies on offset_of(struct mlx4_ib_sqp, qp) == 0. Remove this assumption because that makes the QP creation code easier to understand. Signed-off-by: Bart Van Assche <bart.vanassche@sandisk.com> Cc: Yishai Hadas <yishaih@mellanox.com> Reviewed-by: Laurence Oberman <loberman@redhat.com> Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Doug Ledford <dledford@redhat.com>