diff mbox series

[v2,1/2] drm: bridge: ldb: add missing \n in dev_warn() string

Message ID 20230405081058.2347130-1-luca.ceresoli@bootlin.com (mailing list archive)
State Accepted
Headers show
Series [v2,1/2] drm: bridge: ldb: add missing \n in dev_warn() string | expand

Commit Message

Luca Ceresoli April 5, 2023, 8:10 a.m. UTC
dev_warn() and similar require a training \n.

Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com>
---
 drivers/gpu/drm/bridge/fsl-ldb.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Robert Foss April 5, 2023, 9:05 a.m. UTC | #1
From: Robert Foss <rfoss@kernel.org>

On Wed, 5 Apr 2023 10:10:56 +0200, Luca Ceresoli wrote:
> dev_warn() and similar require a training \n.
> 
> 

Applied, thanks!

[1/2] drm: bridge: ldb: add missing \n in dev_warn() string
      https://cgit.freedesktop.org/drm/drm-misc/commit/?id=8cc0b604f234
[2/2] drm: bridge: ldb: add support for using channel 1 only
      https://cgit.freedesktop.org/drm/drm-misc/commit/?id=e09220f42b5c



Rob
diff mbox series

Patch

diff --git a/drivers/gpu/drm/bridge/fsl-ldb.c b/drivers/gpu/drm/bridge/fsl-ldb.c
index 6bac160b395b..bb13a9143edd 100644
--- a/drivers/gpu/drm/bridge/fsl-ldb.c
+++ b/drivers/gpu/drm/bridge/fsl-ldb.c
@@ -170,7 +170,7 @@  static void fsl_ldb_atomic_enable(struct drm_bridge *bridge,
 
 	configured_link_freq = clk_get_rate(fsl_ldb->clk);
 	if (configured_link_freq != requested_link_freq)
-		dev_warn(fsl_ldb->dev, "Configured LDB clock (%lu Hz) does not match requested LVDS clock: %lu Hz",
+		dev_warn(fsl_ldb->dev, "Configured LDB clock (%lu Hz) does not match requested LVDS clock: %lu Hz\n",
 			 configured_link_freq,
 			 requested_link_freq);