diff options
| author | Douglas Anderson <dianders@chromium.org> | 2025-12-10 11:30:03 -0800 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-04 07:21:12 -0500 |
| commit | 9b02e3fec3a7fcb990b4d3bd3b13d7edf123dca6 (patch) | |
| tree | 47645acc58e06346d0ec42fc297050e0e92ea42b /include/linux | |
| parent | 25056a2fc07fafbba3933a58ec829f5e59d42c19 (diff) | |
mfd: core: Add locking around 'mfd_of_node_list'
[ Upstream commit 20117c92bcf9c11afd64d7481d8f94fdf410726e ]
Manipulating a list in the kernel isn't safe without some sort of
mutual exclusion. Add a mutex any time we access / modify
'mfd_of_node_list' to prevent possible crashes.
Cc: stable@vger.kernel.org
Fixes: 466a62d7642f ("mfd: core: Make a best effort attempt to match devices with the correct of_nodes")
Signed-off-by: Douglas Anderson <dianders@chromium.org>
Link: https://patch.msgid.link/20251210113002.1.I6ceaca2cfb7eb25737012b166671f516696be4fd@changeid
Signed-off-by: Lee Jones <lee@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
