diff options
author | Chenyuan Yang <chenyuan0y@gmail.com> | 2025-04-06 16:08:54 -0500 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-04-13 20:20:36 +0100 |
commit | a9a69c3b38c89d7992fb53db4abb19104b531d32 (patch) | |
tree | 45895bd9309d847219aefc01d8aba92e13308061 /scripts/generate_rust_analyzer.py | |
parent | e6c4618422a25cb266bf752040eb509865caeb0e (diff) |
ASoC: imx-card: Adjust over allocation of memory in imx_card_parse_of()
Incorrect types are used as sizeof() arguments in devm_kcalloc().
It should be sizeof(dai_link_data) for link_data instead of
sizeof(snd_soc_dai_link).
This is found by our static analysis tool.
Signed-off-by: Chenyuan Yang <chenyuan0y@gmail.com>
Link: https://patch.msgid.link/20250406210854.149316-1-chenyuan0y@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions