[why] Enabling higher compiler warning levels results in many issues that can be trivially resolved as well as some potentially critical issues. [how] Fix all compiler warnings found with various compilers and higher warning levels. Primarily, potentially uninitialized variables and unreachable code. Reviewed-by: Leo Li <sunpeng.li@amd.com> Acked-by: Roman Li <roman.li@amd.com> Signed-off-by: Aric Cyr <aric.cyr@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> |
||
---|---|---|
.. | ||
accessories | ||
hwss | ||
protocols | ||
link_detection.c | ||
link_detection.h | ||
link_dpms.c | ||
link_dpms.h | ||
link_factory.c | ||
link_factory.h | ||
link_hwss_hpo_frl.c | ||
link_resource.c | ||
link_resource.h | ||
link_validation.c | ||
link_validation.h | ||
Makefile |