sata_mv: safer logic for limit_warnings
authorMark Lord <liml@rtr.ca>
Thu, 19 Jun 2008 01:57:42 +0000 (21:57 -0400)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 4 Jul 2008 13:07:12 +0000 (09:07 -0400)
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>

No differences found