aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorUmang Jain <[email protected]>2023-11-29 01:48:45 +0530
committerGreg Kroah-Hartman <[email protected]>2023-12-04 08:06:59 +0100
commitf9c42898830383aff4fdc723828fa93a6abec02d (patch)
tree78154f0f7c5b870f253e193c1b5ad5672f177f10 /tools/perf/scripts/python/stackcollapse.py
parentad96610acc0eb81f0342fa688e6d42fd530c328b (diff)
staging: vc04_services: vchiq_core: Log through struct vchiq_instance
The handle_to_service() helper can return NULL, so `service` pointer can indeed be set to NULL. So, do not log through service pointer (which can cause NULL-deference), instead, use the vchiq_instance function argument to get access to the struct device. Fixes: f67af5940d6d ("staging: vc04: Convert(and rename) vchiq_log_info() to use dynamic debug") Reviewed-by: Ricardo B. Marliere <[email protected]> Signed-off-by: Umang Jain <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions