video: rockchip: mpp: rkvdec2: Fix compile warning on ARM

drivers/video/rockchip/mpp/mpp_rkvdec2.c:1029:16: warning:
format '%llx' expects argument of type 'long long unsigned int',
but argument 3 has type 'resource_size_t {aka unsigned int}' [-Wformat=]

Signed-off-by: Tao Huang <huangtao@rock-chips.com>
Change-Id: I5bb3ac3a2d5d2d41c802e42ed6a26efb5219d0aa
This commit is contained in:
Tao Huang
2021-05-07 17:14:48 +08:00
parent 98fdba74e1
commit 8d73d218b3

View File

@@ -1026,8 +1026,8 @@ static int rkvdec2_alloc_rcbbuf(struct platform_device *pdev, struct rkvdec2_dev
sram_start = round_up(sram_res.start, PAGE_SIZE);
sram_end = round_down(sram_res.start + resource_size(&sram_res), PAGE_SIZE);
if (sram_end <= sram_start) {
dev_err(dev, "no available sram, phy_start %llx, phy_end %llx\n",
sram_start, sram_end);
dev_err(dev, "no available sram, phy_start %pa, phy_end %pa\n",
&sram_start, &sram_end);
return -ENOMEM;
}
sram_size = sram_end - sram_start;