mbox series

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

Message ID 20230721124634.63612-1-manivannan.sadhasivam@linaro.org
Headers show
Series OPP: Couple of smatch warning fixes | expand

Message

Manivannan Sadhasivam July 21, 2023, 12:46 p.m. UTC
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(-)