]> err.no Git - linux-2.6/commit
[SCSI] a100u2w: fix bitmap lookup routine
authorAkinobu Mita <akinobu.mita@gmail.com>
Mon, 17 Mar 2008 12:32:02 +0000 (21:32 +0900)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Thu, 20 Mar 2008 14:19:25 +0000 (09:19 -0500)
commit28aef2f7d9415b881c9145ab9b2c1c234064a243
treedba23def5ed8533e337b8c147ebc9e9a6881f752
parent4d1566ed2100d074ccc654e5cf2e44cdea3a01d0
[SCSI] a100u2w: fix bitmap lookup routine

This patch is only compile tested.

It seems that bitmap lookup routine for allocation_map in
a100u2w driver is simply wrong.

It cannot lookup more than first 32 bits. If all first 32 bits
are set, it just returns 33-th orc_scb even though the 33-th bit
is not set.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Tested-by: Alan Cox <alan@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/a100u2w.c