diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2026-03-03 14:17:07 +0000 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-03-03 14:23:32 +0000 |
| commit | 27990181031fdcdbe0f7c46011f6404e5d116386 (patch) | |
| tree | 39b13559bf09599a024a41518b1d76fc93ea00f6 /kernel/bpf/arraymap.c | |
| parent | 70c3054505bbb7c6a876761eb26407f97c36e001 (diff) | |
ASoC: SDCA: Add allocation failure check for Entity name
Currently find_sdca_entity_iot() can allocate a string for the
Entity name but it doesn't check if that allocation succeeded.
Add the missing NULL check after the allocation.
Fixes: 48fa77af2f4a ("ASoC: SDCA: Add terminal type into input/output widget name")
Signed-off-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260303141707.3841635-1-ckeepax@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions
