Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog

* git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog:
  [WATCHDOG] ib700wdt.c - fix buffer_underflow bug
This commit is contained in:
Linus Torvalds 2008-10-20 12:53:40 -07:00
commit d67ae206ef

View File

@ -154,7 +154,7 @@ static int ibwdt_set_heartbeat(int t)
return -EINVAL;
for (i = 0x0F; i > -1; i--)
if (wd_times[i] > t)
if (wd_times[i] >= t)
break;
wd_margin = i;
return 0;