mlx4u.dll: initialize qp pointer before use
authorshefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 20 Jan 2009 21:35:44 +0000 (21:35 +0000)
committershefty <shefty@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 20 Jan 2009 21:35:44 +0000 (21:35 +0000)
commitf6ca85991f43abc1f0dbae1caba41b4c9b2b6055
tree87f4bfa1ab11188e6c34f8e545bd7b61f1469581
parentd8cc9ef43d29ce4f42cbd5e85e53edcffb240f0e
mlx4u.dll: initialize qp pointer before use

We need to initialize the qp pointer to NULL to avoid accessing some random memory location when polling for completions.  Without this, calls to mlx4_poll_cq_array() can crash in mlx4_poll_one().

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@1859 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86
hw/mlx4/user/hca/cq.c