Re: [PATCH 2/3] PCI: qcom: Prevent potential error pointer dereference
From: Krzysztof Wilczyński
Date: Wed Jul 10 2024 - 01:43:36 EST
Hello,
[...]
> > Only call dev_pm_opp_put() if dev_pm_opp_find_freq_exact() succeeds.
> > Otherwise it leads to an error pointer dereference.
> >
> > Fixes: 78b5f6f8855e ("PCI: qcom: Add OPP support to scale performance")
> > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
>
> Tested-by: Anders Roxell <anders.roxell@xxxxxxxxxx>
>
> Applied this patch ontop of linux-next tag, next-20240709.
>
> Booted fine on dragonboard-845c HW.
Thank you for testing!
I took the liberty and added your Tested-by: tag to the relevant commits
on our controller/qcom branch.
Krzysztof