summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorBingKun Yue <yuebingkun@kylinos.cn>2026-08-17 14:39:42 +0800
committerHelge Deller <deller@gmx.de>2026-08-20 23:45:07 +0200
commitba13226fc966004713aed47931db8922b84d1960 (patch)
tree876285f76821e0a08d3ecd11bcda954f5dc722aa /tools/perf/scripts/python/task-analyzer.py
parent772bd1a84288e07d2621108473c96602c3d6b6bb (diff)
fbdev: platinumfb: add error checking for ioremap calls
The ioremap() and ioremap_wt() calls in platinumfb_probe() were not checked for failure. If any of these mappings fail, the driver would dereference NULL pointers, leading to a kernel panic. Add proper error checking and use goto-based cleanup to avoid code duplication across the error paths. Signed-off-by: BingKun Yue <yuebingkun@kylinos.cn> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions