diff options
author | Selvin Xavier <[email protected]> | 2018-10-08 03:27:56 -0700 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2018-10-16 00:03:50 -0600 |
commit | ed51efd2ce44091a858ad829f666727e7c95695e (patch) | |
tree | 374e962a3146d7e75a6f1ff93af22e021ef0d716 /tools/perf/scripts/python/powerpc-hcalls.py | |
parent | eae4ad1b0c9a77ef0cbac212d58d46976eaacfc1 (diff) |
RDMA/bnxt_re: Avoid accessing nq->bar_reg_iomem in failure case
In the failure path, nq->bar_reg_iomem gets accessed without
initializing. Avoid this by calling the bnxt_qplib_nq_stop_irq only if the
initialization is complete.
Reported-by: Dan Carpenter <[email protected]>
Fixes: 1ac5a4047975 ("RDMA/bnxt_re: Add bnxt_re RoCE driver")
Fixes: 6e04b1035689 ("RDMA/bnxt_re: Fix broken RoCE driver due to recent L2 driver changes")
Signed-off-by: Selvin Xavier <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/powerpc-hcalls.py')
0 files changed, 0 insertions, 0 deletions