]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/commitdiff
fix up queue-4.4/pci-program-mps-for-rciep-devices.patch
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Jun 2020 08:53:59 +0000 (10:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 19 Jun 2020 08:53:59 +0000 (10:53 +0200)
queue-4.4/pci-program-mps-for-rciep-devices.patch

index 5cce31093a9029b3d0dcd9390c2f3903ea641c1f..07bc95ee7e9b690eeb87d481dba138463313f590 100644 (file)
@@ -53,7 +53,7 @@ Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
 +                      mps = 128 << dev->pcie_mpss;
 +              rc = pcie_set_mps(dev, mps);
 +              if (rc) {
-+                      pci_warn(dev, "can't set Max Payload Size to %d; if necessary, use \"pci=pcie_bus_safe\" and report a bug\n",
++                      dev_warn(&dev->dev, "can't set Max Payload Size to %d; if necessary, use \"pci=pcie_bus_safe\" and report a bug\n",
 +                               mps);
 +              }
 +              return;