mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-22 08:11:38 +07:00
media: ti-vpe: fix smatch error
This patch fixes this error: drivers/media/platform/ti-vpe/vpdma.c:767 dump_dtd() error: '%pad' expects argument of type 'dma_addr_t*', argument 2 has type 'uint*' dtd->start_addr is a u32, so no need for %pad. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Reviewed-by: Benoit Parrot <bparrot@ti.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
This commit is contained in:
parent
2df34d3a27
commit
2c3e42bf78
@ -764,7 +764,7 @@ static void dump_dtd(struct vpdma_dtd *dtd)
|
||||
pr_debug("word1: line_length = %d, xfer_height = %d\n",
|
||||
dtd_get_line_length(dtd), dtd_get_xfer_height(dtd));
|
||||
|
||||
pr_debug("word2: start_addr = %pad\n", &dtd->start_addr);
|
||||
pr_debug("word2: start_addr = %x\n", dtd->start_addr);
|
||||
|
||||
pr_debug("word3: pkt_type = %d, mode = %d, dir = %d, chan = %d, pri = %d, next_chan = %d\n",
|
||||
dtd_get_pkt_type(dtd),
|
||||
|
Loading…
Reference in New Issue
Block a user