mirror of https://gitee.com/openkylin/linux.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 <andriy.shevchenko@linux.intel.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
This commit is contained in:
parent
9123e3a74e
commit
4db7b6aacc
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue