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

drivers/ide/ide-disk.c:lba_capacity_is_ok {u,s}64 is not necessarily a long long.

parent 344711d7
......@@ -71,7 +71,8 @@ static int lba_capacity_is_ok(struct hd_driveid *id)
unsigned long lba_sects, chs_sects, head, tail;
if ((id->command_set_2 & 0x0400) && (id->cfs_enable_2 & 0x0400)) {
printk("48-bit Drive: %llu \n", id->lba_capacity_2);
printk("48-bit Drive: %llu \n",
(unsigned long long) id->lba_capacity_2);
return 1;
}
......
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