linux/drivers/infiniband
Doug Ledford 495fbae6e2 IB/core: fix error unwind in sysfs hw counters code
Between the initial and final versions of the function setup_hw_stats,
the order of variable initialization was changed.  However, the unwind
flow on error did not properly keep up with the flow changes.  Make
the unwind flow match a proper unwind of the allocation flow, then
remove no longer needed variable initializations.

Fixes: b40f4757da (IB/core: Make device counter infrastructure
dynamic)
Signed-off-by: Doug Ledford <dledford@redhat.com>
2016-06-07 09:50:52 -04:00
..
core IB/core: fix error unwind in sysfs hw counters code 2016-06-07 09:50:52 -04:00
hw IB/hfi1: Suppress sparse warnings 2016-06-06 19:37:23 -04:00
sw IB/rdmavt: Annotate rvt_reset_qp() 2016-06-06 19:36:21 -04:00
ulp IB/srp: Fix srp_map_sg_dma() 2016-06-06 19:32:59 -04:00
Kconfig IB/hfi1: Move driver out of staging 2016-05-26 11:35:14 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00