mirror of https://github.com/torvalds/linux.git
[WHAT & HOW] Integer multiplies integer may overflow in context that expects an expression of unsigned/siged long long (64 bits). This can be fixed by casting integer to unsigned/siged long long to force 64 bits results. This fixes 26 OVERFLOW_BEFORE_WIDEN 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> |
||
|---|---|---|
| .. | ||
| link_ddc.c | ||
| link_ddc.h | ||
| link_dp_capability.c | ||
| link_dp_capability.h | ||
| link_dp_dpia.c | ||
| link_dp_dpia.h | ||
| link_dp_dpia_bw.c | ||
| link_dp_dpia_bw.h | ||
| link_dp_irq_handler.c | ||
| link_dp_irq_handler.h | ||
| link_dp_phy.c | ||
| link_dp_phy.h | ||
| link_dp_training.c | ||
| link_dp_training.h | ||
| link_dp_training_8b_10b.c | ||
| link_dp_training_8b_10b.h | ||
| link_dp_training_128b_132b.c | ||
| link_dp_training_128b_132b.h | ||
| link_dp_training_auxless.c | ||
| link_dp_training_auxless.h | ||
| link_dp_training_dpia.c | ||
| link_dp_training_dpia.h | ||
| link_dp_training_fixed_vs_pe_retimer.c | ||
| link_dp_training_fixed_vs_pe_retimer.h | ||
| link_dpcd.c | ||
| link_dpcd.h | ||
| link_edp_panel_control.c | ||
| link_edp_panel_control.h | ||
| link_hpd.c | ||
| link_hpd.h | ||