diff options
Diffstat (limited to 'drivers/scsi/sd.c')
-rw-r--r-- | drivers/scsi/sd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c index 35a785609364..9846c6ab2aaa 100644 --- a/drivers/scsi/sd.c +++ b/drivers/scsi/sd.c | |||
@@ -1626,7 +1626,7 @@ static unsigned int sd_completed_bytes(struct scsi_cmnd *scmd) | |||
1626 | end_lba <<= 1; | 1626 | end_lba <<= 1; |
1627 | } else { | 1627 | } else { |
1628 | /* be careful ... don't want any overflows */ | 1628 | /* be careful ... don't want any overflows */ |
1629 | u64 factor = scmd->device->sector_size / 512; | 1629 | unsigned int factor = scmd->device->sector_size / 512; |
1630 | do_div(start_lba, factor); | 1630 | do_div(start_lba, factor); |
1631 | do_div(end_lba, factor); | 1631 | do_div(end_lba, factor); |
1632 | } | 1632 | } |