Errant return in Carrizo SMU code

StDenis, Tom Tom.StDenis at amd.com
Fri Aug 26 13:07:28 UTC 2016


In the function


static int cz_check_fw_load_finish(struct pp_smumgr *smumgr,
  uint32_t firmware);

On line 198 of powerplay/smumgr/cz_smumgr.c there is an unconditional return in the middle of the function.  Is that an error or is the code after it truly dead code?

Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20160826/e7373e87/attachment.html>


More information about the amd-gfx mailing list