diff options
| author | Yuan Can <[email protected]> | 2022-11-24 14:05:10 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2022-11-24 15:29:33 +0000 |
| commit | 1bf5ee979076ceb121ee51c95197d890b1cee7f4 (patch) | |
| tree | c4c99eff5d5c4fe7ddea41b1031c7997d3c4d4b3 /net/unix/unix_bpf.c | |
| parent | e9a45c8aca0c83f61a7dffcbb996952919f4ae54 (diff) | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/unix_bpf.c')
0 files changed, 0 insertions, 0 deletions