summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2024-03-06 17:20:30 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-08-29 18:33:38 +0300
commit5469f609be9f8c8d5b391b73ffd4a3b57ad34ad6 (patch)
tree734d4cdedadb95fa46412c3c9d232c42bbb2c3ab /include
parent5419f3001e9e59ad382db9777cf7c687f56ee369 (diff)
downloadlinux-5469f609be9f8c8d5b391b73ffd4a3b57ad34ad6.tar.xz
nvme: clear caller pointer on identify failure
[ Upstream commit 7e80eb792bd7377a20f204943ac31c77d859be89 ] The memory allocated for the identification is freed on failure. Set it to NULL so the caller doesn't have a pointer to that freed address. 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')
0 files changed, 0 insertions, 0 deletions