video: rockchip: dvbm: fix a compile warning

drivers/video/rockchip/dvbm/rockchip_dvbm.c: In function 'rk_dvbm_setup_iobuf':
./include/linux/kern_levels.h:5:18: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'dma_addr_t' {aka 'long long unsigned int'} [-Wformat=]

Signed-off-by: Jianqun Xu <jay.xu@rock-chips.com>
Change-Id: Ia18c7da7ea47e168741f76365eedc6b9e630e527
This commit is contained in:
Jianqun Xu
2023-01-31 17:47:14 +08:00
committed by Tao Huang
parent 25f0206a15
commit c36c85bec0

View File

@@ -252,8 +252,8 @@ static int rk_dvbm_setup_iobuf(struct dvbm_ctx *ctx)
ctx->isp_frm_info.line_cnt = 0;
ctx->isp_frm_info.max_line_cnt = ALIGN(ctx->isp_max_lcnt, 32);
ctx->isp_frm_info.wrap_line = ctx->wrap_line;
dvbm_debug("dma_addr 0x%08x y_lstd %d y_fstd %d\n",
cfg->dma_addr, cfg->ybuf_lstd, cfg->ybuf_fstd);
dvbm_debug("dma_addr %pad y_lstd %d y_fstd %d\n",
&cfg->dma_addr, cfg->ybuf_lstd, cfg->ybuf_fstd);
dvbm_debug("ybot 0x%x top 0x%x cbuf bot 0x%x top 0x%x\n",
addr_base->ybuf_bot, addr_base->ybuf_top,
addr_base->cbuf_bot, addr_base->cbuf_top);