On 02/22/2018 07:28 AM, Shawn Lin wrote:
Lets cast this multiply to u64 type which prevents overflow.
Tested-by: Vineet Gupta Vineet.Gupta1@synopsys.com Fixes: ARC STAR 9001306872 HSDK, sdio: board crashes when copying big files
Signed-off-by: Evgeniy Didin Evgeniy.Didin@synopsys.com
CC: Alexey Brodkin abrodkin@synopsys.com CC: Eugeniy Paltsev paltsev@synopsys.com CC: Douglas Anderson dianders@chromium.org CC: Ulf Hansson ulf.hansson@linaro.org CC: linux-kernel@vger.kernel.org CC: linux-snps-arc@lists.infradead.org Cc: stable@vger.kernel.org # 9d9491a7da2a mmc: dw_mmc: Fix the DTO timeout calculation
The fix looks good to me, but the tags should be improved a bit:
Fixes: 9d9491a7da2a ("mmc: dw_mmc: Fix the DTO timeout calculation")
Ok, then perhaps use Reported-by tag to call out when/how issue was found.
Reported-by: ARC STAR 9001306872 HSDK, sdio: board crashes when copying big files
Otherwise, Reviewed-by: Shawn Lin shawn.lin@rock-chips.com