android_kernel_xiaomi_sm8350/drivers/nvme/host
Keith Busch d037a1d1f5 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>
2024-09-04 13:14:56 +02:00
..
core.c nvme: clear caller pointer on identify failure 2024-09-04 13:14:56 +02:00
fabrics.c
fabrics.h
fault_inject.c
fc.c
Kconfig
lightnvm.c
Makefile
multipath.c nvme-multipath: find NUMA path only for online numa-node 2024-07-18 11:40:52 +02:00
nvme.h nvme: introduce helper function to get ctrl state 2024-01-25 14:34:19 -08:00
pci.c nvme/pci: Add APST quirk for Lenovo N60z laptop 2024-08-19 05:33:54 +02:00
rdma.c nvme-rdma: fix potential unbalanced freeze & unfreeze 2023-08-16 18:19:24 +02:00
tcp.c nvme-tcp: fix potential unbalanced freeze & unfreeze 2023-08-16 18:19:24 +02:00
trace.c
trace.h nvme: fix async event trace event 2023-05-17 11:35:43 +02:00