Re: [PATCH] drm/amd/pm: Fix error code in vega10_hwmgr_backend_init()

From: Markus Elfring
Date: Sat May 04 2024 - 13:14:26 EST


> Return -EINVAL on error instead of success. Also on the success path,
> return a literal zero instead of "return result;"

How do you think about to omit the initialisation for the variable “result”
in another update step?

Regards,
Markus