]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[SCSI] libiscsi: use is_power_of_2
authorvignesh babu <vignesh.babu@wipro.com>
Thu, 13 Dec 2007 18:43:41 +0000 (12:43 -0600)
committerJames Bottomley <James.Bottomley@HansenPartnership.com>
Sat, 12 Jan 2008 00:28:51 +0000 (18:28 -0600)
commit118365721768f29d74718a59895ed7bd3c10b68e
tree3bd814b509c6b9d1abaf7185d17588b88f208775
parent4545a88fc1ae2c0cd1da6e35f3adcbc56ff27b07
[SCSI] libiscsi: use is_power_of_2

Replacing n & (n - 1) for power of 2 check by is_power_of_2(n)

Signed-off-by: vignesh babu <vignesh.babu@wipro.com>
Signed-off-by: Mike Christie <michaelc@cs.wisc.edu>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
drivers/scsi/libiscsi.c