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

From: Viresh Kumar
Date: Mon Jul 24 2023 - 04:02:49 EST


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