diff options
author | Samuel Holland <[email protected]> | 2021-08-05 00:07:06 -0500 |
---|---|---|
committer | Mark Brown <[email protected]> | 2021-08-05 15:38:56 +0100 |
commit | 36a9d79e5e9518dfd9548e3237e7a49464c16922 (patch) | |
tree | edfbde163f302d6cf8f8d91c5319d4ecfb493ade /tools/perf/scripts/python/sched-migration.py | |
parent | f2553d46783409656d82e46913354ed0c058cc0c (diff) |
ASoC: simple-card-utils: Avoid over-allocating DLCs
The allocation of the DAI link components (DLCs) passed the wrong
pointer to sizeof. Since simple_dai_props is much larger than
snd_soc_dai_link_component, there was no out of bounds access, only
wasted memory.
Fixes: f2138aed231c8 ("ASoC: simple-card-utils: enable flexible CPU/Codec/Platform")
Fixes: 050c7950fd706 ("ASoC: simple-card-utils: alloc dai_link information for CPU/Codec/Platform")
Reviewed-by: Kuninori Morimoto <[email protected]>
Signed-off-by: Samuel Holland <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sched-migration.py')
0 files changed, 0 insertions, 0 deletions