Re: [PATCH v6 5/8] media: qcom: camss: Add support for named power-domains

From: Bryan O'Donoghue
Date: Wed Dec 06 2023 - 07:28:44 EST


On 06/12/2023 12:35, Hans Verkuil wrote:
+ if (IS_ERR_OR_NULL(camss->genpd)) {
ret = PTR_ERR(camss->genpd);
I get this smatch warning here:

drivers/media/platform/qcom/camss/camss.c:1555 camss_configure_pd() warn: passing zero to 'PTR_ERR'

I'm not really sure what the intent is here.

If the fix is small, then I can change it myself, otherwise I need an updated patch.

Regards,

Hans

Update sent