diff options
author | Aleksandr Mishin <[email protected]> | 2024-04-08 11:55:23 +0300 |
---|---|---|
committer | Dmitry Baryshkov <[email protected]> | 2024-04-23 12:56:30 +0300 |
commit | 530f272053a5e72243a9cb07bb1296af6c346002 (patch) | |
tree | 175dc7331e4ed3588fb77e4a55b8760299a09f89 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 00f24897a49c6cdce19484d7f2a6e03fd2e801ae (diff) |
drm/msm/dpu: Add callback function pointer check before its call
In dpu_core_irq_callback_handler() callback function pointer is compared to NULL,
but then callback function is unconditionally called by this pointer.
Fix this bug by adding conditional return.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: c929ac60b3ed ("drm/msm/dpu: allow just single IRQ callback")
Signed-off-by: Aleksandr Mishin <[email protected]>
Reviewed-by: Dmitry Baryshkov <[email protected]>
Patchwork: https://patchwork.freedesktop.org/patch/588237/
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Dmitry Baryshkov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions