On 3/10/26 09:56, Chen Ni wrote:
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 <[email protected]>
---
  drivers/video/fbdev/omap/hwa742.c | 4 ++++
  1 file changed, 4 insertions(+)

applied.
Thanks!
Helge

Reply via email to