+1
−1
Loading
stable inclusion from stable-v6.6.76 commit db996ed1990153f8af88fae216dae550a2623044 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBS4SF Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?h=linux-6.6.y&id=db996ed1990153f8af88fae216dae550a2623044 -------------------------------- [ Upstream commit 170e086ad3997f816d1f551f178a03a626a130b7 ] nvme_init_effects_log() returns failure when kzalloc() is successful, which is obviously wrong and causes failures to boot. Correct the check. Fixes: d4a95adeabc6 ("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> Signed-off-by:
Jingtong Meng <jingtong.meng@windriver.com>