diff options
author | 2022-11-16 16:25:08 +0800 | |
---|---|---|
committer | 2022-11-16 10:50:12 +0000 | |
commit | 60591bbf6d5eb44f275eb733943b7757325c1b60 (patch) | |
tree | 5fd816da28a3b6266b60ffd285b2f305a4b0b9cb /tools/perf/scripts/python/export-to-postgresql.py | |
parent | ASoC: rt711-sdca: fix the latency time of clock stop prepare state machine transitions (diff) | |
download | wireguard-linux-60591bbf6d5eb44f275eb733943b7757325c1b60.tar.xz wireguard-linux-60591bbf6d5eb44f275eb733943b7757325c1b60.zip |
ASoC: max98373: Add checks for devm_kcalloc
As the devm_kcalloc may return NULL pointer,
it should be better to check the return value
in order to avoid NULL poineter dereference.
Fixes: 349dd23931d1 ("ASoC: max98373: don't access volatile registers in bias level off")
Signed-off-by: Jiasheng Jiang <jiasheng@iscas.ac.cn>
Link: https://lore.kernel.org/r/20221116082508.17418-1-jiasheng@iscas.ac.cn
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions