summaryrefslogtreecommitdiff
path: root/kernel/trace/trace_functions_graph.c
diff options
context:
space:
mode:
authorAleksandr Mishin <amishin@t-argos.ru>2024-03-28 20:33:37 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-30 09:44:44 +0200
commit802b49e39da669b54bd9b77dc3c649999a446bf6 (patch)
tree9377fda0e5bca4f134a18764ccb8e703ab7586f3 /kernel/trace/trace_functions_graph.c
parent5609a449902445cb097172f354c1b1bb300ab42e (diff)
ASoC: kirkwood: Fix potential NULL dereference
[ Upstream commit ea60ab95723f5738e7737b56dda95e6feefa5b50 ] In kirkwood_dma_hw_params() mv_mbus_dram_info() returns NULL if CONFIG_PLAT_ORION macro is not defined. Fix this bug by adding NULL check. Found by Linux Verification Center (linuxtesting.org) with SVACE. Fixes: bb6a40fc5a83 ("ASoC: kirkwood: Fix reference to PCM buffer address") Signed-off-by: Aleksandr Mishin <amishin@t-argos.ru> Link: https://msgid.link/r/20240328173337.21406-1-amishin@t-argos.ru Signed-off-by: Mark Brown <broonie@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'kernel/trace/trace_functions_graph.c')
0 files changed, 0 insertions, 0 deletions