Staging
v0.5.1
https://github.com/torvalds/linux
Revision c7843e8f565f624b0cff7cad1370fad4cb84dfbc authored by Mark Lord on 19 June 2008, 01:57:42 UTC, committed by Jeff Garzik on 04 July 2008, 13:07:12 UTC
There is a miniscule chance that two separate host controllers
might be in sata_mv at the same time and manage to decrement
the static limit_warnings variable below zero.

Fix the comparison to deal with it.

Signed-off-by: Mark Lord <mlord@pobox.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
1 parent a836d3e
History
Tip revision: c7843e8f565f624b0cff7cad1370fad4cb84dfbc authored by Mark Lord on 19 June 2008, 01:57:42 UTC
sata_mv: safer logic for limit_warnings
Tip revision: c7843e8
File Mode Size
Documentation
arch
block
crypto
drivers
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
usr
virt
.gitignore -rw-r--r-- 701 bytes
.mailmap -rw-r--r-- 3.6 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 90.5 KB
Kbuild -rw-r--r-- 2.4 KB
MAINTAINERS -rw-r--r-- 98.1 KB
Makefile -rw-r--r-- 53.8 KB
README -rw-r--r-- 16.5 KB
REPORTING-BUGS -rw-r--r-- 3.1 KB

README

back to top