summaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorMuhammad Usama Anjum <usama.anjum@collabora.com>2024-09-11 14:13:07 +0300
committerMark Brown <broonie@kernel.org>2024-09-11 15:59:33 +0300
commit5c4e15e63216e7268bb2f1132ee8fad0ec46bbb7 (patch)
treeabd7b45c03430b051ad1ee43ceca1e3a4edf1e1c /scripts/gdb/linux/utils.py
parent0b0aa67baa8904e3c1e13be48a2ca125f59ead3d (diff)
downloadlinux-5c4e15e63216e7268bb2f1132ee8fad0ec46bbb7.tar.xz
ASoC: mediatek: mt8365: check validity before usage of i2s_data
There may be a case where i2s_data may not get initialized by the for loop which will cause the kernel crash. Initialize the i2s_data to NULL and abort execute if it isn't found. Fixes: 402bbb13a195 ("ASoC: mediatek: mt8365: Add I2S DAI support") Signed-off-by: Muhammad Usama Anjum <usama.anjum@collabora.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://patch.msgid.link/20240911111317.4072349-1-usama.anjum@collabora.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions