aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCharles Han <[email protected]>2024-11-18 16:45:53 +0800
committerMark Brown <[email protected]>2024-11-21 14:03:17 +0000
commite038f43edaf0083f6aa7c9415d86cf28dfd152f9 (patch)
tree940a99606bfc9e5ac96cd5c0f9b9e84c9b2f2455 /tools/perf/scripts/python
parent0109ee00788e0ad7b888a799c26b5a93b343876b (diff)
ASoC: imx-audmix: Add NULL check in imx_audmix_probe
devm_kasprintf() can return a NULL pointer on failure,but this returned value in imx_audmix_probe() is not checked. Add NULL check in imx_audmix_probe(), to handle kernel NULL pointer dereference error. Fixes: 05d996e11348 ("ASoC: imx-audmix: Split capture device for audmix") Signed-off-by: Charles Han <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions