summaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorIsrael Rukshin <israelr@nvidia.com>2025-11-23 16:46:48 +0200
committerKeith Busch <kbusch@kernel.org>2025-12-04 14:46:17 -0800
commitbb9f4cca7c031de6f0e85f7ba24abf0172829f85 (patch)
tree72f960a4f6cd72d54ca0b51867194d2067ac0f05 /drivers/usb/cdns3/cdns3-gadget.c
parent5c8d134f01556affce430a25e1551d78d45ebc9d (diff)
nvme-auth: use kvfree() for memory allocated with kvcalloc()
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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions