cxl: Fix typo in debug print
authorMichael Neuling <mikey@neuling.org>
Thu, 18 Jun 2015 05:15:10 +0000 (15:15 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Fri, 19 Jun 2015 07:10:30 +0000 (17:10 +1000)
Fix typo in debug print. p1_base() should be p2_base(). No change other
than to the debug output.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/pci.c

index 416905ed174c1671fa661af17dfd11d63d3a6bf4..c68ef5806dbe122503742f57c6d1259a599b7cf7 100644 (file)
@@ -205,7 +205,7 @@ static void dump_cxl_config_space(struct pci_dev *dev)
        dev_info(&dev->dev, "p1 regs: %#llx, len: %#llx\n",
                p1_base(dev), p1_size(dev));
        dev_info(&dev->dev, "p2 regs: %#llx, len: %#llx\n",
-               p1_base(dev), p2_size(dev));
+               p2_base(dev), p2_size(dev));
        dev_info(&dev->dev, "BAR 4/5: %#llx, len: %#llx\n",
                pci_resource_start(dev, 4), pci_resource_len(dev, 4));