diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2023-03-29 09:14:05 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2023-03-30 08:51:52 +0900 |
commit | b31507dcaf3566d8ec3bdbf9922d8d5748b08a0f (patch) | |
tree | a58d38b052d162e8e971fdd299fd9c9e3855657f /drivers | |
parent | bd89d69a529fbef3559a16dbe4cee4b04225136a (diff) |
dma-debug: Use %pa to format phys_addr_t
On 32-bit without LPAE:
kernel/dma/debug.c: In function ‘debug_dma_dump_mappings’:
kernel/dma/debug.c:537:7: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 9 has type ‘phys_addr_t’ {aka ‘unsigned int’} [-Wformat=]
kernel/dma/debug.c: In function ‘dump_show’:
kernel/dma/debug.c:568:59: warning: format ‘%llx’ expects argument of type ‘long long unsigned int’, but argument 11 has type ‘phys_addr_t’ {aka ‘unsigned int’} [-Wformat=]
Fixes: bd89d69a529fbef3 ("dma-debug: add cacheline to user/kernel space dump messages")
Reported-by: kernel test robot <lkp@intel.com>
Link: https://lore.kernel.org/r/202303160548.ReyuTsGD-lkp@intel.com
Reported-by: noreply@ellerman.id.au
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions