diff options
author | 2021-06-05 14:55:56 +0200 | |
---|---|---|
committer | 2021-06-11 15:08:06 +0800 | |
commit | 0dc64297c8ac98503a7c7621b3c78e151deb75b6 (patch) | |
tree | 7432f5aaf802c9cae62ae62f5d13968b05a690ab /tools/perf/scripts/python/export-to-postgresql.py | |
parent | crypto: sm2 - fix a memory leak in sm2 (diff) | |
download | wireguard-linux-0dc64297c8ac98503a7c7621b3c78e151deb75b6.tar.xz wireguard-linux-0dc64297c8ac98503a7c7621b3c78e151deb75b6.zip |
crypto: cavium/nitrox - Fix an error rhandling path in 'nitrox_probe()'
If an error occurs after a successful 'ioremap()' call, it must be undone
by a corresponding 'iounmap()' call, as already done in the remove
function.
Add a 'pf_sw_fail' label in the error handling path and add the missing
'iounmap()'.
While at it, also add a 'flr_fail' label in the error handling path and use
it to avoid some code duplication.
Fixes: 14fa93cdcd9b ("crypto: cavium - Add support for CNN55XX adapters.")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions