diff options
author | Leon Romanovsky <leonro@nvidia.com> | 2021-03-14 11:22:50 +0300 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-03-22 15:28:51 +0300 |
commit | b5486430bb0fbb4f2bd1e06bd85921395ba357a6 (patch) | |
tree | a892d8480b71eb72a19f1c02c7d62b207a49f056 /arch | |
parent | 7610ab57de5616631b664ea31c11bad527810391 (diff) | |
download | linux-b5486430bb0fbb4f2bd1e06bd85921395ba357a6.tar.xz |
RDMA/mlx5: Add missing returned error check of mlx5_ib_dereg_mr
Fix the following smatch error:
drivers/infiniband/hw/mlx5/mr.c:1950 mlx5_ib_dereg_mr() error: uninitialized symbol 'rc'.
Fixes: e6fb246ccafb ("RDMA/mlx5: Consolidate MR destruction to mlx5_ib_dereg_mr()")
Link: https://lore.kernel.org/r/20210314082250.10143-1-leon@kernel.org
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions