OSDN Git Service

can: c_can: fix print formating string
authorMarc Kleine-Budde <mkl@pengutronix.de>
Thu, 4 Mar 2021 14:20:31 +0000 (15:20 +0100)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 30 Mar 2021 09:14:51 +0000 (11:14 +0200)
This patch fixes the print format string in the driver, so that it
stays in a single line.

Link: https://lore.kernel.org/r/20210304154240.2747987-5-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/c_can/c_can_pci.c

index 248baa3..8a3628f 100644 (file)
@@ -141,8 +141,7 @@ static int c_can_pci_probe(struct pci_dev *pdev,
                         pci_resource_len(pdev, c_can_pci_data->bar));
        if (!addr) {
                dev_err(&pdev->dev,
-                       "device has no PCI memory resources, "
-                       "failing adapter\n");
+                       "device has no PCI memory resources, failing adapter\n");
                ret = -ENOMEM;
                goto out_release_regions;
        }