Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 38502f23 authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: stm32: use %p format specfier for pointer



Pointer print was using explict cast and printing as %x which causes below
warn on some arch's so print using %p format specfier.

Reported-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 4219ff33
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -653,7 +653,7 @@ static int stm32_mdma_set_xfer_param(struct stm32_mdma_chan *chan,
static void stm32_mdma_dump_hwdesc(struct stm32_mdma_chan *chan,
				   struct stm32_mdma_hwdesc *hwdesc)
{
	dev_dbg(chan2dev(chan), "hwdesc:  0x%08x\n", (unsigned int)hwdesc);
	dev_dbg(chan2dev(chan), "hwdesc:  0x%p\n", hwdesc);
	dev_dbg(chan2dev(chan), "CTCR:    0x%08x\n", hwdesc->ctcr);
	dev_dbg(chan2dev(chan), "CBNDTR:  0x%08x\n", hwdesc->cbndtr);
	dev_dbg(chan2dev(chan), "CSAR:    0x%08x\n", hwdesc->csar);