aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mlx4/alias_GUID.c
diff options
context:
space:
mode:
authorLeon Romanovsky <leon@kernel.org>2016-11-03 16:44:11 +0200
committerDoug Ledford <dledford@redhat.com>2016-12-03 13:12:52 -0500
commitaa6aae38f7fb2c030f326a6dd10b58fff1851dfa (patch)
treed3396442e85da657cb01509917d2e6b2087b364c /drivers/infiniband/hw/mlx4/alias_GUID.c
parentIB/core: Remove debug prints after allocation failure (diff)
downloadlinux-dev-aa6aae38f7fb2c030f326a6dd10b58fff1851dfa.tar.xz
linux-dev-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/alias_GUID.c')
0 files changed, 0 insertions, 0 deletions