diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-04-26 17:13:41 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-05-01 03:26:06 +0300 |
commit | d20df86b056b95845f6ed52da1010059202a0c23 (patch) | |
tree | f58b0f4b85c73dd290d13581f583d76021df30c2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | a9ec9212f6d3b5fac6c2bcaaa9fcbcb469f045cb (diff) | |
download | linux-d20df86b056b95845f6ed52da1010059202a0c23.tar.xz |
ASoC: Intel: avs: Fix kcalloc() sizes
rlist, clist, and slist are allocated using sizeof(pointer) instead of
sizeof(*pointer). Fix the allocations by using sizeof(*pointer) and
avoid overallocating memory on 64-bit systems.
Fixes: f2f847461fb7 ("ASoC: Intel: avs: Constrain path based on BE capabilities")
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Amadeusz Sławiński <amadeuszx.slawinski@linux.intel.com>
Link: https://patch.msgid.link/20250426141342.94134-2-thorsten.blum@linux.dev
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions