diff options
author | Leon Romanovsky <leonro@mellanox.com> | 2018-06-27 10:44:24 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-29 11:45:50 -0600 |
commit | 151779996597af671e14a6838589d99fa09ffc6d (patch) | |
tree | e80e5d6f57fbc373c3cce779a6d7e719c52c8ad1 /drivers/infiniband/core/addr.c | |
parent | 4e1077f720f5fb54a295c8c2b5f73c09aac75fd9 (diff) |
RDMA/mlx5: Don't leak UARs in case of free fails
The failure in releasing one UAR doesn't mean that we can't continue to
release rest of system pages, so don't return too early.
As part of cleanup, there is no need to print warning if
mlx5_cmd_free_uar() fails because such warning will be printed as part of
mlx5_cmd_exec().
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/infiniband/core/addr.c')
0 files changed, 0 insertions, 0 deletions