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

From: Manivannan Sadhasivam
Date: Fri Jul 21 2023 - 08:47:00 EST


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