Re: [PATCH] PM: opp: Fix NULL pointer exception on a v2 table combined with v1 opps

From: Viresh Kumar
Date: Mon Apr 04 2022 - 02:31:16 EST


On 04-04-22, 08:28, Krzysztof Kozlowski wrote:
> I understand this is not a proper use case, but it is easy to trigger
> (UFS driver adds opps manually, DTS also adds one). Maybe you prefer to
> handle it differently - exit with ERRNO? Because NULL pointer exception
> in case of proper, but unexpected DTB is not a good way to handle it.

Yeah, sure. I agree that we can return a proper error in that case.
Will look forward to that patch :)

--
viresh