+ if (IS_ERR_OR_NULL(camss->genpd)) {I get this smatch warning here:
ret = PTR_ERR(camss->genpd);
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