mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 19:21:31 -04:00
scsi: use 64-bit value for 'max_luns'
Now that we're using 64-bit LUNs internally we need to increase the size of max_luns to 64 bits, too. Signed-off-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Reviewed-by: Ewan Milne <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
This commit is contained in:
parent
b4210b810e
commit
1abf635d2f
14 changed files with 30 additions and 22 deletions
|
|
@ -287,7 +287,7 @@ static int i2o_scsi_probe(struct device *dev)
|
|||
}
|
||||
|
||||
if (le64_to_cpu(lun) >= scsi_host->max_lun) {
|
||||
osm_warn("SCSI device lun (%llu) >= max_lun of I2O host (%d)",
|
||||
osm_warn("SCSI device lun (%llu) >= max_lun of I2O host (%llu)",
|
||||
le64_to_cpu(lun), scsi_host->max_lun);
|
||||
return -EFAULT;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue