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

Markus Elfring Markus.Elfring at web.de
Sat May 4 17:13:32 UTC 2024


> 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


More information about the amd-gfx mailing list