summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/mcg.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@kernel.org>2016-11-03 15:44:11 +0100
committerDoug Ledford <dledford@redhat.com>2016-12-03 19:12:52 +0100
commitaa6aae38f7fb2c030f326a6dd10b58fff1851dfa (patch)
treed3396442e85da657cb01509917d2e6b2087b364c /drivers/infiniband/hw/mlx4/mcg.c
parentIB/core: Remove debug prints after allocation failure (diff)
downloadlinux-aa6aae38f7fb2c030f326a6dd10b58fff1851dfa.tar.xz
linux-aa6aae38f7fb2c030f326a6dd10b58fff1851dfa.zip
IB/core: Release allocated memory in cache setup failure
The failure in ib_cache_setup_one function during ib_register_device will leave leaked allocated memory. Fixes: 03db3a2d81e6 ("IB/core: Add RoCE GID table management") Signed-off-by: Leon Romanovsky <leon@kernel.org> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/mlx4/mcg.c')
0 files changed, 0 insertions, 0 deletions