summaryrefslogtreecommitdiff
path: root/sound/soc/sof/intel/icl.c
diff options
context:
space:
mode:
authorAmeer Hamza <amhamza.mgc@gmail.com>2021-12-07 17:23:09 +0300
committerMark Brown <broonie@kernel.org>2021-12-09 15:31:50 +0300
commitbefe304536eeef71f8529ff877444ae2b72a37db (patch)
tree2a085964cf07ebf72f4a34f732764ec40ab593b1 /sound/soc/sof/intel/icl.c
parent5f9155a7d2dc067d72a95b42168f944c7710c0d5 (diff)
downloadlinux-befe304536eeef71f8529ff877444ae2b72a37db.tar.xz
ASoC: test-component: fix null pointer dereference.
Dereferncing of_id pointer will result in exception in current implementation since of_match_device() will assign it to NULL. Adding NULL check for protection. Signed-off-by: Ameer Hamza <amhamza.mgc@gmail.com> Link: https://lore.kernel.org/r/20211207142309.222820-1-amhamza.mgc@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/sof/intel/icl.c')
0 files changed, 0 insertions, 0 deletions