linux/drivers/infiniband/hw
Maninder Singh a39a98ff4c IB/mlx4: Optimize freeing of items on error unwind
On failure, we loop through all possible pointers and test them before
calling kfree.  But really, why even attempt to free items we didn't
allocate when we can easily loop through exactly and only the devices
for which the original memory allocation succeeded and free just those.

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-07-14 13:20:14 -04:00
..
amso1100 IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
cxgb3 IB/mad: Add support for additional MAD info to/from drivers 2015-06-12 14:49:17 -04:00
cxgb4 Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2015-06-24 16:49:49 -07:00
ehca IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
ipath IB/ipath: Convert use of __constant_<foo> to <foo> 2015-07-14 13:20:13 -04:00
mlx4 IB/mlx4: Optimize freeing of items on error unwind 2015-07-14 13:20:14 -04:00
mlx5 IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
mthca IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
nes RDMA/nes: Fix for incorrect recording of the MAC address 2015-07-14 13:20:11 -04:00
ocrdma IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
qib IB/mad: Remove improper use of BUG_ON 2015-07-14 13:20:08 -04:00
usnic IB/core: Pass hardware specific data in query_device 2015-06-12 14:49:10 -04:00
Makefile IB: Allow build of hw/ and ulp/ subdirectories independently 2014-06-02 14:51:12 -07:00