diff options
author | Sindhu Devale <[email protected]> | 2021-04-15 19:21:04 -0500 |
---|---|---|
committer | Jason Gunthorpe <[email protected]> | 2021-04-20 09:36:52 -0300 |
commit | 783a11bf2400e5d5c42a943c3083dc0330751842 (patch) | |
tree | 1b114a000f559a0da47d076b8325db4d0c3cfa70 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3a6684385928d00b29acac7658a5ae1f2a44494c (diff) |
RDMA/i40iw: Fix error unwinding when i40iw_hmc_sd_one fails
When i40iw_hmc_sd_one fails, chunk is freed without the deletion of chunk
entry in the PBLE info list.
Fix it by adding the chunk entry to the PBLE info list only after
successful addition of SD in i40iw_hmc_sd_one.
This fixes a static checker warning reported here:
https://lore.kernel.org/linux-rdma/YHV4CFXzqTm23AOZ@mwanda/
Fixes: 9715830157be ("i40iw: add pble resource files")
Link: https://lore.kernel.org/r/[email protected]
Reported-by: Dan Carpenter <[email protected]>
Signed-off-by: Sindhu Devale <[email protected]>
Signed-off-by: Shiraz Saleem <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions