Commit aa2e6b56 authored by David S. Miller's avatar David S. Miller

drivers/ide/ide-taskfile.c: u64 != long long

parent 91c9bb1f
...@@ -271,7 +271,7 @@ u8 taskfile_dump_status (ide_drive_t *drive, const char *msg, u8 stat) ...@@ -271,7 +271,7 @@ u8 taskfile_dump_status (ide_drive_t *drive, const char *msg, u8 stat)
hwif->OUTB(0x80, IDE_CONTROL_REG); hwif->OUTB(0x80, IDE_CONTROL_REG);
high = task_read_24(drive); high = task_read_24(drive);
sectors = ((u64)high << 24) | low; sectors = ((u64)high << 24) | low;
printk(", LBAsect=%lld", sectors); printk(", LBAsect=%lld", (long long) sectors);
} else { } else {
u8 cur = hwif->INB(IDE_SELECT_REG); u8 cur = hwif->INB(IDE_SELECT_REG);
u8 low = hwif->INB(IDE_LCYL_REG); u8 low = hwif->INB(IDE_LCYL_REG);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment