summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/ipath/ipath_verbs.h
diff options
context:
space:
mode:
authorFlorin Malita <fmalita@gmail.com>2007-07-19 15:58:09 -0400
committerRoland Dreier <rolandd@cisco.com>2007-07-20 21:19:43 -0700
commitf5b404317b79823ec643dfbb71d62f65a48cc178 (patch)
tree9957a904999d4bea903653499af02affa1d8b609 /drivers/infiniband/hw/ipath/ipath_verbs.h
parentc2e68052429fdf87702fccd272951282bef1c60a (diff)
downloadop-kernel-dev-f5b404317b79823ec643dfbb71d62f65a48cc178.zip
op-kernel-dev-f5b404317b79823ec643dfbb71d62f65a48cc178.tar.gz
IB/mlx4: Fix leaks in __mlx4_ib_modify_qp
Temporarily allocated struct mlx4_qp_context *context is leaked by several error paths. The patch takes advantage of the return value 'err' being preinitialized to -EINVAL. Spotted by Coverity (CID 1768). Signed-off-by: Florin Malita <fmalita@gmail.com> Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/ipath/ipath_verbs.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud