Archived
14
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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
go7007
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
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
panel Staging: panel: Add support for TI CLCD interface 2009-09-15 12:02:29 -07:00
phison
poch
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
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