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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jiri Hladky
Date: Monday, June 2, 2008 - 3:00 am

Hi Ingo, hi Martin!

As Martin correctly pointed out, my code will fail when loops=0. So I
have added a fix for this.

The patch file is attached:

diff -up arch/x86/lib/delay_32.c-orig arch/x86/lib/delay_32.c > delay_32.c_patch

I'm attaching also both kernel source codes (delay_32.c-orig and
delay_32.c) for reference.

Thanks
Jiri

On Sun, Jun 1, 2008 at 7:05 PM, Martin Mares <mj@ucw.cz> wrote:
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, Jiri Hladky, (Mon Jun 2, 3:00 am)