diff options
author | 2022-11-24 14:05:10 +0000 | |
---|---|---|
committer | 2022-11-24 15:29:33 +0000 | |
commit | 1bf5ee979076ceb121ee51c95197d890b1cee7f4 (patch) | |
tree | c4c99eff5d5c4fe7ddea41b1031c7997d3c4d4b3 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: Intel: avs: DSP recovery and resume fixes (diff) | |
download | wireguard-linux-1bf5ee979076ceb121ee51c95197d890b1cee7f4.tar.xz wireguard-linux-1bf5ee979076ceb121ee51c95197d890b1cee7f4.zip |
ASoC: qcom: Add checks for devm_kcalloc
As the devm_kcalloc may return NULL, the return value needs to be checked
to avoid NULL poineter dereference.
Fixes: 24caf8d9eb10 ("ASoC: qcom: lpass-sc7180: Add platform driver for lpass audio")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Link: https://lore.kernel.org/r/20221124140510.63468-1-yuancan@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions