summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKeith Busch <kbusch@kernel.org>2024-03-06 17:20:30 +0300
committerKeith Busch <kbusch@kernel.org>2024-03-06 17:29:01 +0300
commit7e80eb792bd7377a20f204943ac31c77d859be89 (patch)
tree76be9f96652a818009cf268c97c068aa8351a8e3 /include
parent8d0d2447394b13fb22a069f0330f9c49b7fff9d3 (diff)
downloadlinux-7e80eb792bd7377a20f204943ac31c77d859be89.tar.xz
nvme: clear caller pointer on identify failure
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>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions