linux/drivers/staging
Roel Kluin fff9c81529 MIPS: Octeon: False positive timeout
If we reach the test just below the loop with a `timeout' value of 0,
this does not mean that the timeout caused the loop to end, but rather
the `smi_rd.s.pending', in the last iteration. If timeout caused the
loop to end, then `timeout' is -1, not 0.

Since this can occur only in the last iteration, it is not very likely
to be a problem. By changing the post- to prefix decrement we ensure
that a timeout of 0 does mean it timed out.

Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Acked-by: David Daney <ddaney@caviumnetworks.com>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2009-09-17 20:07:41 +02:00
..
agnx Staging: agnx: remove flush_workqueue() 2009-09-15 12:02:29 -07:00
altpciechdma Staging: altpciechdma: 64bit type warning fix 2009-09-15 12:02:26 -07:00
android staging: Make some structures static 2009-09-15 12:02:24 -07:00
asus_oled Staging: asus_oled: Cleaned up checkpatch issues. 2009-09-15 12:02:33 -07:00
b3dfg Staging: b3dfg: Drop NULL test on list_entry result 2009-09-15 12:01:40 -07:00
comedi Staging: comedi: addi-data: NULL dereference of amcc in v_pci_card_list_init() 2009-09-15 12:02:34 -07:00
cowloop Staging: cowloop: remove kernel version checks 2009-09-15 12:02:33 -07:00
cpc-usb Staging: cpc-usb: add one todo entry 2009-09-15 12:02:05 -07:00
dream Staging: dream: introduce missing kfree 2009-09-15 12:02:34 -07:00
dst Staging: dst: correct error-handling code 2009-09-15 12:02:06 -07:00
echo Staging: echo: coding style cleanups 2009-09-15 12:02:16 -07:00
et131x Staging: et131x: kill off the TXDMA CSR type 2009-09-15 12:02:29 -07:00
frontier Staging: remove unused #include <linux/version.h>'s 2009-06-19 11:00:36 -07:00
go7007 Fix staging drivers after smp_lock.h redux 2009-07-13 09:09:08 -07:00
hv Staging: hv: update the TODO file 2009-09-15 12:02:04 -07:00
iio Staging: iio: introduce missing kfree 2009-09-15 12:02:34 -07:00
line6 Staging: line6: ffzb returns an unsigned integer 2009-09-15 12:02:34 -07:00
mimio Staging: mimio: depends on INPUT 2009-04-03 14:53:29 -07:00
octeon MIPS: Octeon: False positive timeout 2009-09-17 20:07:41 +02:00
otus staging: Make some structures static 2009-09-15 12:02:24 -07:00
p9auth staging: p9auth: prevent some oopses and memory leaks 2009-06-19 11:00:54 -07:00
panel Staging: panel: Add support for TI CLCD interface 2009-09-15 12:02:29 -07:00
phison Staging: phison: depends on PCI 2009-04-03 14:53:40 -07:00
poch Staging: poch: fix verification of memory area 2009-01-28 15:49:06 -08:00
pohmelfs Staging: pohmelfs: sync with the development tree 2009-09-15 12:02:30 -07:00
quatech_usb2 Staging: quatech_usb2: Improvements to set_termios method 2009-09-15 12:01:36 -07:00
rar Staging: rar/sep: Don't use random VENDOR_ID macros but the proper names 2009-09-15 12:02:12 -07:00
rt2860 Staging: rt2860/rt2870/rt3070/rt3090: fix compiler warning on x86_64 2009-09-15 12:02:34 -07:00
rt2870 Staging: rt2870: remove old firmware 2009-09-15 12:02:23 -07:00
rt3070 Staging: remove no longer needed rt3070 driver 2009-09-15 12:02:23 -07:00
rt3090 Staging: rt3090: enable NATIVE_WPA_SUPPLICANT_SUPPORT option 2009-09-15 12:02:34 -07:00
rtl8187se Staging: rtl8187se: Fix comment-out-typo 2009-09-15 12:02:17 -07:00
rtl8192e Staging: rtl8192e: Drop unnecessary NULL test 2009-09-15 12:02:33 -07:00
rtl8192su Staging: rtl8192su: add linux/vmalloc.h 2009-09-15 12:02:17 -07:00
sep Staging: sep: SEP driver build breaks with CONFIG_PCI=n 2009-09-15 12:02:15 -07:00
serqt_usb2 Staging: serqt_usb2: fix qt_open parameters 2009-09-15 12:02:06 -07:00
slicoss Staging: ARRAY_SIZE changes 2009-09-15 12:02:06 -07:00
stlc45xx Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-08-12 17:44:53 -07:00
udlfb Staging: udlfb: fix printk format warning 2009-09-15 12:02:06 -07:00
usbip Staging: usb-ip: vhci_hdc:Fix the returned error value 2009-09-15 12:02:05 -07:00
vme Staging: vme: change to VME_BUS 2009-09-15 12:02:11 -07:00
vt6655 Staging: vt665x: fix built-in compiling 2009-09-15 12:02:34 -07:00
vt6656 Staging: vt665x: fix built-in compiling 2009-09-15 12:02:34 -07:00
winbond Staging: w35und: Remove some write-only struct members 2009-09-15 12:02:17 -07:00
wlan-ng Staging: wlan-ng: remove dependency on WIRELESS_EXT version 2009-09-15 12:01:37 -07:00
Kconfig Staging: remove sxg driver 2009-09-15 12:02:35 -07:00
Makefile Staging: remove sxg driver 2009-09-15 12:02:35 -07:00
staging.c