summaryrefslogtreecommitdiff
path: root/include/net/aligned_data.h
diff options
context:
space:
mode:
authorIsrael Rukshin <israelr@nvidia.com>2025-11-23 16:46:48 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-12-18 13:55:19 +0100
commit19478fd933414376f78d489fc28d17549f95eb3b (patch)
treeedb00a28ce125238a3e35b0c3822c7afd7a761cb /include/net/aligned_data.h
parent453e4b0c84d0db1454ff0adf655d91179e6fca3a (diff)
nvme-auth: use kvfree() for memory allocated with kvcalloc()
[ Upstream commit bb9f4cca7c031de6f0e85f7ba24abf0172829f85 ] Memory allocated by kvcalloc() may come from vmalloc or kmalloc, so use kvfree() instead of kfree() for proper deallocation. Fixes: aa36d711e945 ("nvme-auth: convert dhchap_auth_list to an array") Signed-off-by: Israel Rukshin <israelr@nvidia.com> Reviewed-by: Max Gurtovoy <mgurtovoy@nvidia.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Keith Busch <kbusch@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions