Re: Bug in arch/i386/lib/delay.c file, delay_loop function

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Mares
Date: Sunday, June 1, 2008 - 10:05 am

Hi!

[...]


It is a long time since I have hacked that file, but you should definitely
make sure that the function is never called with a zero argument. In such
case, the original version made just a single pass, but your version
makes 2^32 of them.

				Have a nice fortnight
-- 
Martin `MJ' Mares                          <mj@ucw.cz>   http://mj.ucw.cz/
Faculty of Math and Physics, Charles University, Prague, Czech Rep., Earth
Homo homini lupus, frater fratri lupior, bohemus bohemo lupissimus.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Bug in arch/i386/lib/delay.c file, delay_loop function, Jiri Hladky, (Fri May 30, 8:15 am)
Re: Bug in arch/i386/lib/delay.c file, delay_loop function, Martin Mares, (Sun Jun 1, 10:05 am)