aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorJiasheng Jiang <[email protected]>2022-11-16 16:25:08 +0800
committerMark Brown <[email protected]>2022-11-16 10:50:12 +0000
commit60591bbf6d5eb44f275eb733943b7757325c1b60 (patch)
tree5fd816da28a3b6266b60ffd285b2f305a4b0b9cb /lib/test-string_helpers.c
parentc7d7d4e7bb1290cc473610b0bb96d9fa606d00e7 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions