]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
nvmem: layouts: fix nvmem_layout_bus_uevent
authorWentao Guan <guanwentao@uniontech.com>
Fri, 14 Nov 2025 11:05:39 +0000 (11:05 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 24 Nov 2025 17:08:10 +0000 (18:08 +0100)
commit03bc4831ef064e114328dea906101cff7c6fb8b3
tree2652e10437fc9656fbff7bdaa27819054701c840
parentd6b9ce75e87c5f4bfbc0f7bba4f4f7cbf942f98a
nvmem: layouts: fix nvmem_layout_bus_uevent

correctly check the ENODEV return value.

Fixes: 810b790033cc ("nvmem: layouts: fix automatic module loading")
CC: stable@vger.kernel.org
Co-developed-by: WangYuli <wangyl5933@chinaunicom.cn>
Signed-off-by: WangYuli <wangyl5933@chinaunicom.cn>
Signed-off-by: Wentao Guan <guanwentao@uniontech.com>
Signed-off-by: Srinivas Kandagatla <srini@kernel.org>
Link: https://patch.msgid.link/20251114110539.143154-1-srini@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/nvmem/layouts.c