aboutsummaryrefslogtreecommitdiffstats
path: root/net/core/lock_debug.c
diff options
context:
space:
mode:
authorHenry Martin <[email protected]>2025-04-01 14:25:10 +0000
committerMark Brown <[email protected]>2025-04-01 16:01:10 +0000
commit93d34608fd162f725172e780b1c60cc93a920719 (patch)
treeec2a06b90e4bf39ee17d9b2648924a352e6deeb6 /net/core/lock_debug.c
parentASoC: q6apm: fix under runs and fragment sizes (diff)
downloadkernel-93d34608fd162f725172e780b1c60cc93a920719.tar.gz
kernel-93d34608fd162f725172e780b1c60cc93a920719.zip
ASoC: imx-card: Add NULL check in imx_card_probe()
devm_kasprintf() returns NULL when memory allocation fails. Currently, imx_card_probe() does not check for this case, which results in a NULL pointer dereference. Add NULL check after devm_kasprintf() to prevent this issue. Fixes: aa736700f42f ("ASoC: imx-card: Add imx-card machine driver") Signed-off-by: Henry Martin <[email protected]> Reviewed-by: Frank Li <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/core/lock_debug.c')
0 files changed, 0 insertions, 0 deletions