diff options
| author | Felix Gu <gu_0233@qq.com> | 2026-01-18 17:26:23 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-01-19 14:42:02 +0000 |
| commit | e3b76494d675e49fa032ec47f58487875a1de70a (patch) | |
| tree | 36e85eab0596e908d6f53d8f27999bb22917fef2 /tools/perf/lib/include/internal/git@git.tavy.me:linux.git | |
| parent | 24d479d26b25bce5faea3ddd9fa8f3a6c3129ea7 (diff) | |
regulator: fp9931: Add missing memory allocation check
Add a check for devm_kzalloc failure in fp9931_probe to prevent a
null pointer dereference.
Fixes: 12d821bd13d4 ("regulator: Add FP9931/JD9930 driver")
Signed-off-by: Felix Gu <gu_0233@qq.com>
Link: https://patch.msgid.link/tencent_5FCF2108621C51007E5526A7C60A5CC1F306@qq.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/lib/include/internal/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
