summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/stackdepot.py
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2024-06-04 11:59:04 -0700
committerKeith Busch <kbusch@kernel.org>2024-06-24 12:53:41 -0700
commitb9ecbfa45516182cd062fecd286db7907ba84210 (patch)
treee4db94bf2776b5213ffac5a3998659d96ded42d1 /scripts/gdb/linux/stackdepot.py
parent44348870de4b8f292f97b84583a298d66fbaf738 (diff)
nvme: apple: fix device reference counting
Drivers must call nvme_uninit_ctrl after a successful nvme_init_ctrl. Split the allocation side out to make the error handling boundary easier to navigate. The apple driver had been doing this wrong, leaking the controller device memory on a tagset failure. Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Chaitanya Kulkarni <kch@nvidia.com> Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/stackdepot.py')
0 files changed, 0 insertions, 0 deletions