summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChen Ni <nichen@iscas.ac.cn>2026-03-10 11:56:25 +0300
committerHelge Deller <deller@gmx.de>2026-03-10 20:40:21 +0300
commitd3da7f00e21c2ff274b991167c69e96501746f28 (patch)
tree61f5d470a7ad1827cc801bd421edd93e086d67c3 /include/linux
parentf044788088ef55e9855b17b7984ffe522c40c093 (diff)
downloadlinux-d3da7f00e21c2ff274b991167c69e96501746f28.tar.xz
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 'include/linux')
0 files changed, 0 insertions, 0 deletions