vc: fix coverity problem for kernel 6.12 [1/1]

PD#SWPL-193210

Problem:
fix coverity problem for kernel 6.12

Solution:
fix coverity problem for kernel 6.12

Verify:
T5M

Change-Id: Idc9a442b0982decc29fb7bf23f16a7cfc2eb217e
Signed-off-by: zhenteng.tian <zhenteng.tian@amlogic.com>
This commit is contained in:
zhenteng.tian
2024-11-18 16:22:04 +08:00
committed by gerrit autosubmit
parent 7e56ae690a
commit c1b7db47dc
@@ -694,7 +694,7 @@ static int vc_init_ge2d_buffer(struct composer_dev *dev, bool is_tvp, size_t usa
vc_print(dev->index, PRINT_ERROR,
"%s: cma memory is %lx , size is %x\n",
ports[dev->index].name,
(unsigned int)dev->dst_buf[i].phy_addr,
dev->dst_buf[i].phy_addr,
(unsigned int)buf_size);
if (dev->dst_buf[i].phy_addr == 0) {