Skip to content
Commit 11a72ae9 authored by Vinod Koul's avatar Vinod Koul
Browse files

dmaengine: apple-admac: Fix print format



We get a warning (treated as error now)
drivers/dma/apple-admac.c: In function 'admac_cyclic_write_one_desc':
drivers/dma/apple-admac.c:209:26: error: format '%x' expects argument of type 'unsigned int', but argument 7 has type 'long unsigned int' [-Werror=format=]
  209 |         dev_dbg(ad->dev, "ch%d descriptor: addr=0x%pad len=0x%zx flags=0x%x\n",

Use %lx for priniting the flag

Fixes: b127315d ("dmaengine: apple-admac: Add Apple ADMAC driver")
Reported-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20220610043117.39337-1-vkoul@kernel.org


Reported-by: default avatarkernel test robot <lkp@intel.com>
Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent cb4e3485
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment