diff options
author | 2017-02-20 19:25:18 -0500 | |
---|---|---|
committer | 2017-02-20 21:59:15 -0500 | |
commit | 17086399c113d933e1202697f85b8f0f82fcb8ce (patch) | |
tree | 60ec6dda407753d540aa5e28b407e7e449f14a8c /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | bnxt_en: Fix NULL pointer dereference in a failure path during open. (diff) | |
download | linux-dev-17086399c113d933e1202697f85b8f0f82fcb8ce.tar.xz linux-dev-17086399c113d933e1202697f85b8f0f82fcb8ce.zip |
bnxt_en: fix pci cleanup in bnxt_init_one() failure path
In the bnxt_init_one() failure path, bar1 and bar2 are not
being unmapped. This commit fixes this issue. Reorganize the
code so that bnxt_init_one()'s failure path and bnxt_remove_one()
can call the same function to do the PCI cleanup.
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions