aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-sub-ui.c
diff options
context:
space:
mode:
authorClaudiu Beznea <[email protected]>2023-06-14 15:15:09 +0300
committerMark Brown <[email protected]>2023-06-19 12:59:27 +0100
commit2f76e1d6ca524a888d29aafe29f2ad2003857971 (patch)
treea8ab70d6c6948ea3585e0b64a73038f39cf0b8ef /lib/mpi/mpi-sub-ui.c
parent997905d523fb85ba1a45159cbb9ae3910275bada (diff)
ASoC: imx-audmix: check return value of devm_kasprintf()
devm_kasprintf() returns a pointer to dynamically allocated memory. Pointer could be NULL in case allocation fails. Check pointer validity. Identified with coccinelle (kmerr.cocci script). Fixes: b86ef5367761 ("ASoC: fsl: Add Audio Mixer machine driver") Signed-off-by: Claudiu Beznea <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions