lkml.org 
[lkml]   [2021]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subjectdrivers/clk/qcom: suspected missing null check for callsite of clk_hw_get_parent in clk_pll_vote_enable
Date
Hi,

https://github.com/torvalds/linux/blob/master/drivers/clk/qcom/clk-pll.c#L203

Our experimental static analysis tool detects a null-ptr-reference problem. It could be false positive, we report this to you just in case.

In this call sites of clk_hw_get_parent, the return pointer is not null-check. We are not familiar with the code, and don't know whether it would be a potential null pointer dereference problem. Would you like to spare some time to have a look at it?

Thanks so much,
Chengfeng

\
 
 \ /
  Last update: 2021-10-26 09:00    [W:0.024 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site