diff options
author | Geert Uytterhoeven <[email protected]> | 2023-03-29 09:14:05 +0200 |
---|---|---|
committer | Christoph Hellwig <[email protected]> | 2023-03-30 08:51:52 +0900 |
commit | b31507dcaf3566d8ec3bdbf9922d8d5748b08a0f (patch) | |
tree | a58d38b052d162e8e971fdd299fd9c9e3855657f /lib/test_fortify/write_overflow-strncpy-src.c | |
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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Reported-by: [email protected]
Signed-off-by: Geert Uytterhoeven <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions