original_kernel/drivers/watchdog
Wim Van Sebroeck 7c2500f17d [WATCHDOG] ib700wdt.c - fix buffer_underflow bug
This fixes Bug 11399:
if ibwdt_set_heartbeat(int t) is called with value 30 then
the check "if ((t < 0) || (t > 30))" in ibwdt_set_heartbeat
is not going to fail because t == 30, but in the loop, the
check wd_times[i] > t is never going to be true because
none of the wd_times are greater than the value of t (i.e. 30).
So we are exiting the loop with i == -1 and therefore setting
wd_margin to -1 which is wrong.

Reported-by: Zvonimir Rakamaric <zrakamar@cs.ubc.ca>
Signed-off-by: Wim Van Sebroeck <wim@iguana.be>
2008-10-15 08:53:06 +00:00
..
Kconfig [WATCHDOG] Orion: add hardware watchdog support 2008-10-10 13:14:17 +00:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/wim/linux-2.6-watchdog 2008-10-12 11:51:32 -07:00
acquirewdt.c
advantechwdt.c
alim1535_wdt.c
alim7101_wdt.c
ar7_wdt.c
at32ap700x_wdt.c
at91rm9200_wdt.c [WATCHDOG] at91rm9200_wdt.c: fix misleading indentation 2008-08-26 20:20:55 +00:00
at91sam9_wdt.c [WATCHDOG] Add AT91SAM9X watchdog 2008-10-10 13:09:51 +00:00
bfin_wdt.c
booke_wdt.c
cpu5wdt.c
cpwd.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
davinci_wdt.c
ep93xx_wdt.c
eurotechwdt.c
geodewdt.c [WATCHDOG] unlocked_ioctl changes 2008-09-23 08:12:30 +00:00
hpwdt.c [WATCHDOG] hpwdt.c kdebug support 2008-08-26 20:20:32 +00:00
i6300esb.c
iTCO_vendor.h
iTCO_vendor_support.c
iTCO_wdt.c
ib700wdt.c [WATCHDOG] ib700wdt.c - fix buffer_underflow bug 2008-10-15 08:53:06 +00:00
ibmasr.c [WATCHDOG] ibmasr: remove unnecessary spin_unlock() 2008-09-23 08:05:32 +00:00
indydog.c
iop_wdt.c
it87_wdt.c [WATCHDOG] add watchdog driver IT8716 IT8726 IT8712J/K 2008-10-10 13:09:17 +00:00
it8712f_wdt.c
ixp4xx_wdt.c [ARM] cputype: separate definitions, use them 2008-09-01 12:06:23 +01:00
ixp2000_wdt.c
ks8695_wdt.c
machzwd.c
mixcomwd.c
mpc8xxx_wdt.c [WATCHDOG] mpc8xxx_wdt: fix modular build 2008-08-26 20:20:44 +00:00
mpc5200_wdt.c
mpcore_wdt.c
mtx-1_wdt.c
mv64x60_wdt.c
omap_wdt.c [WATCHDOG] omap_wdt.c: cleanup a bit omap_wdt.c 2008-10-10 13:12:41 +00:00
omap_wdt.h [WATCHDOG] omap_wdt.c: sync linux-omap changes 2008-10-10 13:11:10 +00:00
orion5x_wdt.c [WATCHDOG] orion5x_wdt.c: add spinlocking 2008-10-10 13:17:43 +00:00
pc87413_wdt.c [WATCHDOG] removed unused #include <version.h> 2008-08-26 20:32:02 +00:00
pcwd.c
pcwd_pci.c
pcwd_usb.c
pnx4008_wdt.c [WATCHDOG] unlocked_ioctl changes 2008-09-23 08:12:30 +00:00
rc32434_wdt.c [WATCHDOG] unlocked_ioctl changes 2008-09-23 08:12:30 +00:00
rdc321x_wdt.c [WATCHDOG] unlocked_ioctl changes 2008-09-23 08:12:30 +00:00
riowd.c sparc: Annotate of_device_id arrays with const or __initdata. 2008-08-31 01:23:17 -07:00
rm9k_wdt.c
s3c2410_wdt.c [WATCHDOG] Fix s3c2410_wdt driver coding style issues 2008-08-26 20:18:59 +00:00
sa1100_wdt.c
sb_wdog.c
sbc60xxwdt.c
sbc7240_wdt.c
sbc8360.c
sbc_epx_c3.c
sc520_wdt.c
sc1200wdt.c
scx200_wdt.c
shwdt.c
smsc37b787_wdt.c
softdog.c
txx9wdt.c
w83627hf_wdt.c
w83697hf_wdt.c
w83697ug_wdt.c [WATCHDOG] Add driver for winbond w83697ug/uf watchdog feature 2008-10-10 13:09:28 +00:00
w83877f_wdt.c
w83977f_wdt.c
wafer5823wdt.c
wd501p.h
wdrtas.c
wdt.c
wdt285.c [WATCHDOG] wdt285: fix sparse warnings 2008-09-23 08:06:57 +00:00
wdt977.c
wdt_pci.c