From 713e142a5e98e394454c202abffb645181e11964 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Thu, 5 Mar 2015 20:15:23 +0100 Subject: Show odd number of ports * linux/dev/drivers/block/ahci.c (ahci_probe_dev): Show odd number of ports. --- linux/dev/drivers/block/ahci.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'linux/dev/drivers/block/ahci.c') 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) { -- cgit v1.2.3