[PATCH 0/2] OPP: Couple of smatch warning fixes

Manivannan Sadhasivam posted 2 patches 2 years, 6 months ago
drivers/opp/core.c | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
[PATCH 0/2] OPP: Couple of smatch warning fixes
Posted by Manivannan Sadhasivam 2 years, 6 months ago
Hi Viresh,

This series has a couple of fixes spotted by smatch tool in the OPP core.
This is on top of v6.5-rc1, so could be merged separately.

- Mani

Manivannan Sadhasivam (2):
  OPP: Fix potential null ptr dereference in
    dev_pm_opp_get_required_pstate()
  OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()

 drivers/opp/core.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

-- 
2.25.1
Re: [PATCH 0/2] OPP: Couple of smatch warning fixes
Posted by Viresh Kumar 2 years, 6 months ago
On 21-07-23, 18:16, Manivannan Sadhasivam wrote:
> Hi Viresh,
> 
> This series has a couple of fixes spotted by smatch tool in the OPP core.
> This is on top of v6.5-rc1, so could be merged separately.
> 
> - Mani
> 
> Manivannan Sadhasivam (2):
>   OPP: Fix potential null ptr dereference in
>     dev_pm_opp_get_required_pstate()
>   OPP: Fix passing 0 to PTR_ERR in _opp_attach_genpd()
> 
>  drivers/opp/core.c | 10 ++++------
>  1 file changed, 4 insertions(+), 6 deletions(-)

Applied. Thanks.

-- 
viresh