From: Andy Shevchenko Date: Wed, 2 Sep 2020 17:31:03 +0000 (-0700) Subject: swiotlb: Use %pa to print phys_addr_t variables X-Git-Tag: v5.10.7~1441^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4db7b6aacc573b89227a1b5960af9d2a17f17762;p=platform%2Fkernel%2Flinux-rpi.git swiotlb: Use %pa to print phys_addr_t variables There is an extension to a %p to print phys_addr_t type of variables. Use it here. Signed-off-by: Andy Shevchenko Reviewed-by: Fabio Estevam Signed-off-by: Konrad Rzeszutek Wilk --- diff --git a/kernel/dma/swiotlb.c b/kernel/dma/swiotlb.c index c19379fa..6499bda 100644 --- a/kernel/dma/swiotlb.c +++ b/kernel/dma/swiotlb.c @@ -172,9 +172,7 @@ void swiotlb_print_info(void) return; } - pr_info("mapped [mem %#010llx-%#010llx] (%luMB)\n", - (unsigned long long)io_tlb_start, - (unsigned long long)io_tlb_end, + pr_info("mapped [mem %pa-%pa] (%luMB)\n", &io_tlb_start, &io_tlb_end, bytes >> 20); }