[<prev] [next>] [day] [month] [year] [list]
Message-ID: <TYCP286MB1188F60382E69E029F8C4A798A849@TYCP286MB1188.JPNP286.PROD.OUTLOOK.COM>
Date: Tue, 26 Oct 2021 07:00:22 +0000
From: YE Chengfeng <cyeaa@...nect.ust.hk>
To: "agross@...nel.org" <agross@...nel.org>,
"bjorn.andersson@...aro.org" <bjorn.andersson@...aro.org>,
"mturquette@...libre.com" <mturquette@...libre.com>,
"sboyd@...nel.org" <sboyd@...nel.org>
CC: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: drivers/clk/qcom: suspected missing null check for callsite of
clk_hw_get_parent in clk_pll_vote_enable
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
Powered by blists - more mailing lists