Skip to contentSkip to conversation

drm/amd/display: Fix typo of format termination newline

PATCH Applied Joe Perches 2 participants 2 messages May 15, 2021 – May 17, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/amd/display: Fix typo of format termination newline

/n should be \n

---
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c   | 2 +-
 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 2 +-
 drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c +1 -1
index 45f96221a094..b38fee783277 100644
@@ -1724,7 +1724,7 @@ static bool init_soc_bounding_box(struct dc *dc,
 	DC_LOGGER_INIT(dc->ctx->logger);
 
 	if (!is_soc_bounding_box_valid(dc)) {
-		DC_LOG_ERROR("%s: not valid soc bounding box/n", __func__);
+		DC_LOG_ERROR("%s: not valid soc bounding box\n", __func__);
 		return false;
 	}
 
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c +1 -1
index 5b54b7fc5105..3bf66c994dd5 100644
@@ -1497,7 +1497,7 @@ static bool init_soc_bounding_box(struct dc *dc,
 	DC_LOGGER_INIT(dc->ctx->logger);
 
 	if (!is_soc_bounding_box_valid(dc)) {
-		DC_LOG_ERROR("%s: not valid soc bounding box/n", __func__);
+		DC_LOG_ERROR("%s: not valid soc bounding box\n", __func__);
 		return false;
 	}
 
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +1 -1
index fc2dea243d1b..84c61128423e 100644
@@ -1093,7 +1093,7 @@ static bool init_soc_bounding_box(struct dc *dc,  struct resource_pool *pool)
 	DC_LOGGER_INIT(dc->ctx->logger);
 
 	if (!is_soc_bounding_box_valid(dc)) {
-		DC_LOG_ERROR("%s: not valid soc bounding box/n", __func__);
+		DC_LOG_ERROR("%s: not valid soc bounding box\n", __func__);
 		return false;
 	}
 
Applied
#1 lore raw
Quoted 4 lines · Joe Perches

/n should be \n

Applied. Thanks!

Alex

Quoted 38 lines
---
 drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c   | 2 +-
 drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c | 2 +-
 drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)
drivers/gpu/drm/amd/display/dc/dcn30/dcn30_resource.c +1 -1
index 45f96221a094..b38fee783277 100644
@@ -1724,7 +1724,7 @@ static bool init_soc_bounding_box(struct dc *dc,
        DC_LOGGER_INIT(dc->ctx->logger);
 
        if (!is_soc_bounding_box_valid(dc)) {
-               DC_LOG_ERROR("%s: not valid soc bounding box/n", __func__);
+               DC_LOG_ERROR("%s: not valid soc bounding box\n", __func__);
                return false;
        }
 
drivers/gpu/drm/amd/display/dc/dcn301/dcn301_resource.c +1 -1
index 5b54b7fc5105..3bf66c994dd5 100644
@@ -1497,7 +1497,7 @@ static bool init_soc_bounding_box(struct dc *dc,
        DC_LOGGER_INIT(dc->ctx->logger);
 
        if (!is_soc_bounding_box_valid(dc)) {
-               DC_LOG_ERROR("%s: not valid soc bounding box/n", __func__);
+               DC_LOG_ERROR("%s: not valid soc bounding box\n", __func__);
                return false;
        }
 
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +0 -0
index fc2dea243d1b..84c61128423e 100644

drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c static bool init_soc_bounding_box(struct dc *dc, struct resource_pool *pool) · line 1099

Quoted 8 lines
drivers/gpu/drm/amd/display/dc/dcn302/dcn302_resource.c +1 -1
@@ -1093,7 +1093,7 @@ static bool init_soc_bounding_box(struct dc *dc,  struct resource_pool *pool)
        DC_LOGGER_INIT(dc->ctx->logger);
 
        if (!is_soc_bounding_box_valid(dc)) {
-               DC_LOG_ERROR("%s: not valid soc bounding box/n", __func__);
+               DC_LOG_ERROR("%s: not valid soc bounding box\n", __func__);
                return false;
        }
 

_______________________________________________
amd-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/amd-gfx