summaryrefslogtreecommitdiff
path: root/linux/dev
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-05 20:15:23 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2015-03-05 20:15:23 +0100
commit713e142a5e98e394454c202abffb645181e11964 (patch)
tree59d1483b3ee92a78e67be0f0d9c90825f4e78e73 /linux/dev
parente0372735e1496bd6c47a264ef925bd39f29ad3ed (diff)
Show odd number of ports
* linux/dev/drivers/block/ahci.c (ahci_probe_dev): Show odd number of ports.
Diffstat (limited to 'linux/dev')
-rw-r--r--linux/dev/drivers/block/ahci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/dev/drivers/block/ahci.c b/linux/dev/drivers/block/ahci.c
index 2b348e6..868f8d0 100644
--- a/linux/dev/drivers/block/ahci.c
+++ b/linux/dev/drivers/block/ahci.c
@@ -868,7 +868,7 @@ static void ahci_probe_dev(unsigned char bus, unsigned char device)
n++;
if (nports != n) {
- printk("ahci: %02u:%02u.%u: Odd number of ports, assuming %d is correct\n", bus, dev, fun, nports);
+ printk("ahci: %02u:%02u.%u: Odd number of ports %u, assuming %u is correct\n", bus, dev, fun, n, nports);
port_map = 0;
}
if (!port_map) {