diff options
| author | Bart Van Assche <bart.vanassche@sandisk.com> | 2016-11-14 19:44:11 +0300 |
|---|---|---|
| committer | Doug Ledford <dledford@redhat.com> | 2016-12-14 21:01:11 +0300 |
| commit | b42dde478bcaa8113b0d1cd82ad0048372c5599d (patch) | |
| tree | f742d628e6cee0ed6779963a091d8d9a0d354d3f /include | |
| parent | e98172462f0b75ed60f3a73aa280fb29cafd450f (diff) | |
| download | linux-b42dde478bcaa8113b0d1cd82ad0048372c5599d.tar.xz | |
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
