]> Git Repo - linux.git/commit
[SCSI] libiscsi: use is_power_of_2
authorvignesh babu <[email protected]>
Thu, 13 Dec 2007 18:43:41 +0000 (12:43 -0600)
committerJames Bottomley <[email protected]>
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 <[email protected]>
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: James Bottomley <[email protected]>
drivers/scsi/libiscsi.c
This page took 0.052863 seconds and 4 git commands to generate.