diff options
author | Keith Busch <kbusch@kernel.org> | 2025-07-29 11:12:47 -0700 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2025-07-31 06:35:51 -0700 |
commit | 4e6e151cf92bbaa0622a4da351ff444e4fd9b865 (patch) | |
tree | c537e7468fa834fc27e96192b2caa7b9f532dff9 /rust/helpers/of.c | |
parent | 528589947c1802b9357c2a9b96d88cc4a11cd88b (diff) |
nvme-pci: fix leak on sgl setup error
We need to free the descriptor that was allocated. We also don't
necessarily need to unmap each sgl entry, which was previously being
attempted unconditionally.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'rust/helpers/of.c')
0 files changed, 0 insertions, 0 deletions