diff options
author | Aleksandr Mishin <[email protected]> | 2024-03-28 20:33:37 +0300 |
---|---|---|
committer | Mark Brown <[email protected]> | 2024-03-28 19:27:59 +0000 |
commit | ea60ab95723f5738e7737b56dda95e6feefa5b50 (patch) | |
tree | 02daedbbb7684a82d4cf28136d6c77fae927b111 /tools/perf/scripts/python/netdev-times.py | |
parent | 559aebe45a054a479fdbd2a3dfba999ffd73cc9d (diff) |
ASoC: kirkwood: Fix potential NULL dereference
In kirkwood_dma_hw_params() mv_mbus_dram_info() returns NULL if
CONFIG_PLAT_ORION macro is not defined.
Fix this bug by adding NULL check.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: bb6a40fc5a83 ("ASoC: kirkwood: Fix reference to PCM buffer address")
Signed-off-by: Aleksandr Mishin <[email protected]>
Link: https://msgid.link/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/netdev-times.py')
0 files changed, 0 insertions, 0 deletions