drivers/clk/qcom: suspected missing null check for callsite of clk_hw_get_parent in clk_pll_vote_enable
From: YE Chengfeng
Date: Tue Oct 26 2021 - 03:00:40 EST
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