summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorJia Yang <jia.yang@oss.qualcomm.com>2026-08-06 15:03:57 +0800
committerJassi Brar <jassisinghbrar@gmail.com>2026-08-15 15:41:12 -0500
commitfc4f2f99530298a1739226947aa76525142d421d (patch)
tree822f199002d9c1045260ea2bdf00975101171083 /tools/perf/scripts/python/exported-sql-viewer.py
parent3690aaa6d18f6775c3e7932fb8af8c5bf6a6b69c (diff)
mailbox: qcom-cpucp: handle NULL data in send_data callback
mailbox_clear_channel() calls mbox_send_message() with NULL data to notify the remote side that the RX channel has been cleared. qcom_cpucp_mbox_send_data() blindly dereferenced the data pointer, causing a NULL pointer dereference kernel panic when invoked from this path under PREEMPT_RT. Add an explicit NULL check and return early without writing to the TX register, which is the correct behaviour for a channel-clear notification. Fixes: 0e2a9a03106c ("mailbox: Add support for QTI CPUCP mailbox controller") Signed-off-by: Jia Yang <jia.yang@oss.qualcomm.com> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions