diff options
author | 2025-01-10 05:21:37 +0530 | |
---|---|---|
committer | 2025-01-12 14:11:29 -0800 | |
commit | 4a324970fabad503260973cd588609f3a26baab9 (patch) | |
tree | 5f8d27bafdc4ad72f8e5747efe37c5c9a91b635d /scripts/generate_rust_analyzer.py | |
parent | nvme: Add error path for xa_store in nvme_init_effects (diff) | |
download | wireguard-linux-4a324970fabad503260973cd588609f3a26baab9.tar.xz wireguard-linux-4a324970fabad503260973cd588609f3a26baab9.zip |
nvme-pci: use correct size to free the hmb buffer
dev->host_mem_size value is updated only after the successful buffer
allocation of hmb descriptor. Otherwise, it may have some undefined value.
So, use the correct size to free the hmb buffer when the hmb descriptor
buffer allocation failed.
Signed-off-by: Francis Pravin <francis.p@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions