diff options
author | Vinod Koul <[email protected]> | 2022-06-10 10:01:17 +0530 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-06-10 17:18:07 +0530 |
commit | 11a72ae911d3d4eccfba8dbf21daca4ce5f1b6af (patch) | |
tree | b9784aef0824fbd6a5b82a053c79000fe66c86c3 /net/lapb/lapb_in.c | |
parent | cb4e34856b77ff52f2b18e0554d364b558f9b258 (diff) |
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: b127315d9a78 ("dmaengine: apple-admac: Add Apple ADMAC driver")
Reported-by: Stephen Rothwell <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: kernel test robot <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions