summaryrefslogtreecommitdiff
path: root/linux/dev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-09 21:44:21 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2013-06-09 21:44:21 +0200
commitea45ed1b6cb14af24e817aefbba642e3733e3a88 (patch)
tree5a81534e23e80ab74ea8797767171b5931462dc8 /linux/dev
parentb99130d97a40c8337d152669add0fce6c65e7377 (diff)
Fix format
Diffstat (limited to 'linux/dev')
-rw-r--r--linux/dev/drivers/block/ahci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/dev/drivers/block/ahci.c b/linux/dev/drivers/block/ahci.c
index 3b31e84..b710251 100644
--- a/linux/dev/drivers/block/ahci.c
+++ b/linux/dev/drivers/block/ahci.c
@@ -397,7 +397,7 @@ static void ahci_do_request() /* invoked with cli() */
}
if (blockend > port->capacity) {
printk("offset for %u was %lu\n", minor, port->part[minor & PARTN_MASK].start_sect);
- printk("bad access: block %lu, count= %u\n", blockend, port->capacity);
+ printk("bad access: block %lu, count= %llu\n", blockend, port->capacity);
goto kill_rq;
}
@@ -712,9 +712,9 @@ static void ahci_probe_port(const volatile struct ahci_host *ahci_host, const vo
}
}
if (port->capacity/2048 >= 10240)
- printk("sd%u: %s, %uGB w/%dkB Cache\n", port - ports, id.model, port->capacity/(2048*1024), id.buf_size/2);
+ printk("sd%u: %s, %lluGB w/%dkB Cache\n", port - ports, id.model, port->capacity/(2048*1024), id.buf_size/2);
else
- printk("sd%u: %s, %uMB w/%dkB Cache\n", port - ports, id.model, port->capacity/2048, id.buf_size/2);
+ printk("sd%u: %s, %lluMB w/%dkB Cache\n", port - ports, id.model, port->capacity/2048, id.buf_size/2);
}
port->identify = 0;
}