diff options
| author | Alexander Stein <[email protected]> | 2025-04-29 09:49:10 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2025-04-30 23:22:35 +0000 |
| commit | 3cc393d2232ec770b5f79bf0673d67702a3536c3 (patch) | |
| tree | dc7f4503544cb5de37d5f91eb4bf9a6983909b57 /scripts/gcc-plugins/cyc_complexity_plugin.c | |
| parent | ASoC: Intel: catpt: avoid type mismatch in dev_dbg() format (diff) | |
| download | kernel-3cc393d2232ec770b5f79bf0673d67702a3536c3.tar.gz kernel-3cc393d2232ec770b5f79bf0673d67702a3536c3.zip | |
ASoC: simple-card-utils: Fix pointer check in graph_util_parse_link_direction
Actually check if the passed pointers are valid, before writing to them.
This also fixes a USBAN warning:
UBSAN: invalid-load in ../sound/soc/fsl/imx-card.c:687:25
load of value 255 is not a valid value for type '_Bool'
This is because playback_only is uninitialized and is not written to, as
the playback-only property is absent.
Fixes: 844de7eebe97 ("ASoC: audio-graph-card2: expand dai_link property part")
Signed-off-by: Alexander Stein <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions
