diff --git a/drivers/scsi/aacraid/aachba.c b/drivers/scsi/aacraid/aachba.c index 525d72fcbf3eb54b42b7f3ae1941570401c7cc2d..e7961cbd2c55ab81020084730e8ec19f45aeda7d 100644 --- a/drivers/scsi/aacraid/aachba.c +++ b/drivers/scsi/aacraid/aachba.c @@ -1865,7 +1865,7 @@ static int aac_get_safw_ciss_luns(struct aac_dev *dev) static inline u32 aac_get_safw_phys_lun_count(struct aac_dev *dev) { - return get_unaligned_be32(&dev->safw_phys_luns->list_length[0]); + return get_unaligned_be32(&dev->safw_phys_luns->list_length[0])/24; } static inline u32 aac_get_safw_phys_bus(struct aac_dev *dev, int lun)