Skip to content
Snippets Groups Projects
Unverified Commit 2c0b2b48 authored by Charles Han's avatar Charles Han Committed by Mark Brown
Browse files

ASoC: intel: sof_sdw: Add check devm_kasprintf() returned value


devm_kasprintf() can return a NULL pointer on failure but this
returned value is not checked.

Fixes: b359760d ("ASoC: intel: sof_sdw: Add simple DAI link creation helper")
Signed-off-by: default avatarCharles Han <hanchunchao@inspur.com>
Link: https://patch.msgid.link/20240925080030.11262-1-hanchunchao@inspur.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 47d7d3fd
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment