diff options
| author | Tong Zhang <[email protected]> | 2021-09-06 21:07:02 -0700 |
|---|---|---|
| committer | Martin K. Petersen <[email protected]> | 2021-09-22 00:19:51 -0400 |
| commit | cbd9a3347c757383f3d2b50cf7cfd03eb479c481 (patch) | |
| tree | 07ab0cb5b34e26b2138c9b2ddd1a8c86f18dda70 /tools/perf/scripts/python/flamegraph.py | |
| parent | 322c4b29ee1f19ce153f027bfb21d272b029f2d7 (diff) | |
scsi: dc395: Fix error case unwinding
dc395x_init_one()->adapter_init() might fail. In this case, the acb is
already cleaned up by adapter_init(), no need to do that in
adapter_uninit(acb) again.
[ 1.252251] dc395x: adapter init failed
[ 1.254900] RIP: 0010:adapter_uninit+0x94/0x170 [dc395x]
[ 1.260307] Call Trace:
[ 1.260442] dc395x_init_one.cold+0x72a/0x9bb [dc395x]
Link: https://lore.kernel.org/r/[email protected]
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Reviewed-by: Finn Thain <[email protected]>
Signed-off-by: Tong Zhang <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions