]> git.baikalelectronics.ru Git - kernel.git/commitdiff
can: mcp251xfd: add missing newline to printed strings
authorMarc Kleine-Budde <mkl@pengutronix.de>
Tue, 19 Oct 2021 15:05:25 +0000 (17:05 +0200)
committerMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 8 Jan 2022 19:17:41 +0000 (20:17 +0100)
This patch adds the missing newline to printed strings.

Fixes: 9afc4ad0aed9 ("can: mcp25xxfd: add driver for Microchip MCP25xxFD SPI CAN")
Link: https://lore.kernel.org/all/20220105154300.1258636-4-mkl@pengutronix.de
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
drivers/net/can/spi/mcp251xfd/mcp251xfd-core.c

index 9d1a8992d8ce0210abf17e53befe21826a5fc4fa..bf2ebd46ff83d166791d54247ed8008c0a2b3f36 100644 (file)
@@ -2624,7 +2624,7 @@ static int mcp251xfd_register_chip_detect(struct mcp251xfd_priv *priv)
        if (!mcp251xfd_is_251X(priv) &&
            priv->devtype_data.model != devtype_data->model) {
                netdev_info(ndev,
-                           "Detected %s, but firmware specifies a %s. Fixing up.",
+                           "Detected %s, but firmware specifies a %s. Fixing up.\n",
                            __mcp251xfd_get_model_str(devtype_data->model),
                            mcp251xfd_get_model_str(priv));
        }
@@ -2661,7 +2661,7 @@ static int mcp251xfd_register_check_rx_int(struct mcp251xfd_priv *priv)
                return 0;
 
        netdev_info(priv->ndev,
-                   "RX_INT active after softreset, disabling RX_INT support.");
+                   "RX_INT active after softreset, disabling RX_INT support.\n");
        devm_gpiod_put(&priv->spi->dev, priv->rx_int);
        priv->rx_int = NULL;