Skip to contentSkip to conversation

media: mediatek: vcodec: Remove trailing space after \n newline

PATCH In review Colin Ian King 2 participants 2 messages Sep 2, 2024

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

PATCH 1/1 media: mediatek: vcodec: Remove trailing space after \n newline

There is a extraneous space after a newline in a mtk_venc_debug message. Remove it.

---
 .../media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c +1 -1
index f8145998fcaf..59e56b81d5e0 100644
@@ -515,7 +515,7 @@ static int h264_encode_frame(struct venc_h264_inst *inst,
 	struct venc_frame_info frame_info;
 	struct mtk_vcodec_enc_ctx *ctx = inst->ctx;
 
-	mtk_venc_debug(ctx, "frm_cnt = %d\n ", inst->frm_cnt);
+	mtk_venc_debug(ctx, "frm_cnt = %d\n", inst->frm_cnt);
 
 	if (MTK_ENC_IOVA_IS_34BIT(ctx)) {
 		gop_size = inst->vsi_34->config.gop_size;
Signature · 1 line
2.39.2
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Colin Ian King

There is a extraneous space after a newline in a mtk_venc_debug message. Remove it.

Quoted 17 lines
---
  .../media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c  | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c +1 -1
index f8145998fcaf..59e56b81d5e0 100644
@@ -515,7 +515,7 @@ static int h264_encode_frame(struct venc_h264_inst *inst,
  	struct venc_frame_info frame_info;
  	struct mtk_vcodec_enc_ctx *ctx = inst->ctx;
 
-	mtk_venc_debug(ctx, "frm_cnt = %d\n ", inst->frm_cnt);
+	mtk_venc_debug(ctx, "frm_cnt = %d\n", inst->frm_cnt);
 
  	if (MTK_ENC_IOVA_IS_34BIT(ctx)) {
  		gop_size = inst->vsi_34->config.gop_size;