summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2026-03-10 16:56:25 +0800
committerHelge Deller <deller@gmx.de>2026-03-10 18:40:21 +0100
commitd3da7f00e21c2ff274b991167c69e96501746f28 (patch)
tree61f5d470a7ad1827cc801bd421edd93e086d67c3 /tools/perf/scripts/python
parentf044788088ef55e9855b17b7984ffe522c40c093 (diff)
fbdev: omapfb: Add missing error check for clk_get()
The hwa742_init() function did not check the return value of clk_get(). This could lead to dereferencing an error pointer in subsequent clock operations, potentially causing a kernel crash. Fix this by adding a missing error check and ensuring proper clock resource cleanup on failure and driver removal. Signed-off-by: Chen Ni <nichen@iscas.ac.cn> Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions