[SCSI] BusLogic: stop using check_region
authorZachary Amsden <zach@vmware.com>
Tue, 10 Apr 2007 13:53:08 +0000 (08:53 -0500)
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>
Tue, 17 Apr 2007 22:04:20 +0000 (18:04 -0400)
I got so sick of seing the check_region warnings from BusLogic.c I actually
fixed it properly.  Never use check region, reserve it before the probe
with request region instead and check the error result; free region if
setup fails.  Should be functionally identical to the original except for
fixing the potential race.

Signed-off-by: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>

No differences found