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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux