linux/drivers/nvme/host
Jens Axboe 1e8c151fb2 nvme: fix bogus kzalloc() return check in nvme_init_effects_log()
[ Upstream commit 170e086ad3 ]

nvme_init_effects_log() returns failure when kzalloc() is successful,
which is obviously wrong and causes failures to boot. Correct the
check.

Fixes: d4a95adeab ("nvme: Add error path for xa_store in nvme_init_effects")
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2025-02-08 09:56:53 +01:00
..
apple.c for-6.11/block-20240710 2024-07-15 14:20:22 -07:00
auth.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
constants.c nvme: fix status magic numbers 2024-06-24 12:53:42 -07:00
core.c nvme: fix bogus kzalloc() return check in nvme_init_effects_log() 2025-02-08 09:56:53 +01:00
fabrics.c nvme-tcp: check for invalidated or revoked key 2024-08-22 13:25:07 -07:00
fabrics.h nvme-pci: do not directly handle subsys reset fallout 2024-06-26 07:02:22 -07:00
fault_inject.c fault-inject: improve build for CONFIG_FAULT_INJECTION=n 2024-09-01 20:43:33 -07:00
fc.c nvme-pci: do not directly handle subsys reset fallout 2024-06-26 07:02:22 -07:00
fc.h nvme-fc: Update header and host for common definitions for LS handling 2020-05-09 16:18:33 -06:00
hwmon.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
ioctl.c nvme: re-fix error-handling for io_uring nvme-passthrough 2024-10-30 07:19:18 -07:00
Kconfig nvme-tcp: fix link failure for TCP auth 2024-09-10 07:41:07 -07:00
Makefile nvme: rework NVME_AUTH Kconfig selection 2023-10-12 08:04:49 -07:00
multipath.c nvme/multipath: Fix RCU list traversal to use SRCU primitive 2024-12-05 14:03:05 +01:00
nvme.h nvme-pci: 512 byte aligned dma pool segment quirk 2025-01-09 13:33:34 +01:00
pci.c nvme-pci: 512 byte aligned dma pool segment quirk 2025-01-09 13:33:34 +01:00
pr.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
rdma.c nvme-rdma: unquiesce admin_q before destroy it 2024-12-14 20:03:17 +01:00
sysfs.c nvme: null terminate nvme_tls_attrs 2024-09-24 23:34:13 -07:00
tcp.c nvme-tcp: Fix I/O queue cpu spreading for multiple controllers 2025-02-08 09:56:52 +01:00
trace.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
trace.h nvme: fix async event trace event 2023-04-13 08:59:04 +02:00
zns.c block: Remove REQ_OP_ZONE_RESET_ALL emulation 2024-07-05 00:42:04 -06:00