mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 03:15:31 +09:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user