mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH][next] media: mediatek: vcodec: Remove trailing space after \n newline
@ 2024-09-02 14:07 Colin Ian King
  2024-09-02 15:06 ` Matthias Brugger
  0 siblings, 1 reply; 2+ messages in thread
From: Colin Ian King @ 2024-09-02 14:07 UTC (permalink / raw)
  To: Tiffany Lin, Andrew-CT Chen, Yunfei Dong, Mauro Carvalho Chehab,
	Matthias Brugger, linux-media, linux-arm-kernel, linux-mediatek
  Cc: kernel-janitors, linux-kernel

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

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 .../media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c b/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
index f8145998fcaf..59e56b81d5e0 100644
--- a/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
+++ b/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
@@ -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;
-- 
2.39.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH][next] media: mediatek: vcodec: Remove trailing space after \n newline
  2024-09-02 14:07 [PATCH][next] media: mediatek: vcodec: Remove trailing space after \n newline Colin Ian King
@ 2024-09-02 15:06 ` Matthias Brugger
  0 siblings, 0 replies; 2+ messages in thread
From: Matthias Brugger @ 2024-09-02 15:06 UTC (permalink / raw)
  To: Colin Ian King, Tiffany Lin, Andrew-CT Chen, Yunfei Dong,
	Mauro Carvalho Chehab, linux-media, linux-arm-kernel,
	linux-mediatek
  Cc: kernel-janitors, linux-kernel



On 02/09/2024 16:07, Colin Ian King wrote:
> There is a extraneous space after a newline in a mtk_venc_debug message.
> Remove it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>

Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>

> ---
>   .../media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c  | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c b/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
> index f8145998fcaf..59e56b81d5e0 100644
> --- a/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
> +++ b/drivers/media/platform/mediatek/vcodec/encoder/venc/venc_h264_if.c
> @@ -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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-09-02 15:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-09-02 14:07 [PATCH][next] media: mediatek: vcodec: Remove trailing space after \n newline Colin Ian King
2024-09-02 15:06 ` Matthias Brugger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®