diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2019-08-18 11:10:44 +0200 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-10-04 19:55:18 +0200 |
commit | ab59ca3eb4e7059727df85eee68bda169d26c8f8 (patch) | |
tree | ba05ad5cfa50889e46f549594b810725eef922a3 /drivers/gpio/gpio-max730x.c | |
parent | RDMA/i40iw: Associate ibdev to netdev before IB device registration (diff) | |
download | linux-ab59ca3eb4e7059727df85eee68bda169d26c8f8.tar.xz linux-ab59ca3eb4e7059727df85eee68bda169d26c8f8.zip |
RDMA/core: Fix an error handling path in 'res_get_common_doit()'
According to surrounding error paths, it is likely that 'goto err_get;' is
expected here. Otherwise, a call to 'rdma_restrack_put(res);' would be
missing.
Fixes: c5dfe0ea6ffa ("RDMA/nldev: Add resource tracker doit callback")
Link: https://lore.kernel.org/r/20190818091044.8845-1-christophe.jaillet@wanadoo.fr
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/gpio/gpio-max730x.c')
0 files changed, 0 insertions, 0 deletions