On Thu, Jan 14, 2021 at 11:30 AM Simon Glass <s...@chromium.org> wrote: > > At present long delays such as msleep(2000) can cause an overflow in this > function. There is no need for this, since it already uses a 64-bit int. > > Add a cast to correct this. > > Signed-off-by: Simon Glass <s...@chromium.org> > --- > > drivers/timer/tsc_timer.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >
Reviewed-by: Bin Meng <bmeng...@gmail.com>