commit | 118365721768f29d74718a59895ed7bd3c10b68e | [log] [tgz] |
---|---|---|
author | vignesh babu <vignesh.babu@wipro.com> | Thu Dec 13 12:43:41 2007 -0600 |
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | Fri Jan 11 18:28:51 2008 -0600 |
tree | 3bd814b509c6b9d1abaf7185d17588b88f208775 | |
parent | 4545a88fc1ae2c0cd1da6e35f3adcbc56ff27b07 [diff] |
[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>