Browse Source

[media] s5p-mfc: Correct misuse of %0x<decimal>

Correct misuse of 0x%d in logging message.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Joe Perches 10 years ago
parent
commit
f5b5fbd387
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c

+ 1 - 1
drivers/media/platform/s5p-mfc/s5p_mfc_opr_v6.c

@@ -522,7 +522,7 @@ static int s5p_mfc_set_enc_stream_buffer_v6(struct s5p_mfc_ctx *ctx,
 	writel(addr, mfc_regs->e_stream_buffer_addr); /* 16B align */
 	writel(size, mfc_regs->e_stream_buffer_size);
 
-	mfc_debug(2, "stream buf addr: 0x%08lx, size: 0x%d\n",
+	mfc_debug(2, "stream buf addr: 0x%08lx, size: 0x%x\n",
 		  addr, size);
 
 	return 0;