![]() commit ea79068d4073bf303f8203f2625af7d9185a1bc6 upstream. [WHAT & HOW] A denominator cannot be 0, and is checked before used. This fixes 2 DIVIDE_BY_ZERO issues reported by Coverity. Reviewed-by: Harry Wentland <harry.wentland@amd.com> Signed-off-by: Jerry Zuo <jerry.zuo@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Daniel Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com> Signed-off-by: Cliff Liu <donghua.liu@windriver.com> Signed-off-by: He Zhe <Zhe.He@windriver.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> |
||
---|---|---|
.. | ||
basics | ||
bios | ||
clk_mgr | ||
core | ||
dce | ||
dce60 | ||
dce80 | ||
dce100 | ||
dce110 | ||
dce112 | ||
dce120 | ||
dcn10 | ||
dcn20 | ||
dcn21 | ||
dcn30 | ||
dcn31 | ||
dcn32 | ||
dcn201 | ||
dcn301 | ||
dcn302 | ||
dcn303 | ||
dcn314 | ||
dcn315 | ||
dcn316 | ||
dcn321 | ||
dml | ||
dsc | ||
gpio | ||
hdcp | ||
inc | ||
irq | ||
link | ||
virtual | ||
dc_bios_types.h | ||
dc_ddc_types.h | ||
dc_dmub_srv.c | ||
dc_dmub_srv.h | ||
dc_dp_types.h | ||
dc_dsc.h | ||
dc_edid_parser.c | ||
dc_edid_parser.h | ||
dc_helper.c | ||
dc_hw_types.h | ||
dc_link.h | ||
dc_stat.h | ||
dc_stream.h | ||
dc_trace.h | ||
dc_types.h | ||
dc.h | ||
dm_cp_psp.h | ||
dm_event_log.h | ||
dm_helpers.h | ||
dm_pp_smu.h | ||
dm_services_types.h | ||
dm_services.h | ||
irq_types.h | ||
Makefile | ||
os_types.h |