[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)
commit1079a2d251f24a7d9e7576217f5f738bc4218337
tree657af3b24dd40d413c659c7aac212907a6127c80
parentad1331a792f9f253bef362de9b6872c6b8f88c0c
[SCSI] BusLogic: stop using check_region

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>
drivers/scsi/BusLogic.c