diff options
| author | Charles Keepax <ckeepax@opensource.cirrus.com> | 2026-03-03 14:17:07 +0000 |
|---|---|---|
| committer | Sasha Levin <sashal@kernel.org> | 2026-03-12 07:09:52 -0400 |
| commit | bdcc10a86055beb7109a786d94abf5626f375bbd (patch) | |
| tree | 18f9c2256d95b34a98508e34b5a8c7722acfb323 /tools/perf/scripts/python | |
| parent | f90254cdbec7cb3674f215e75577ab2ae9af2013 (diff) | |
ASoC: SDCA: Add allocation failure check for Entity name
[ Upstream commit 27990181031fdcdbe0f7c46011f6404e5d116386 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
