Re: [PATCH v2 2/5] drm/xe/mmio: Cast to u64 when printing

2024-01-17 Thread Matt Roper
On Tue, Jan 16, 2024 at 09:40:47AM -0800, Lucas De Marchi wrote: > resource_size_t uses %pa format in printk since the size varies > depending on build options. However to keep the io_size/physical_size > addition in the same call we can't pass the address without adding yet > another variable in

[PATCH v2 2/5] drm/xe/mmio: Cast to u64 when printing

2024-01-16 Thread Lucas De Marchi
resource_size_t uses %pa format in printk since the size varies depending on build options. However to keep the io_size/physical_size addition in the same call we can't pass the address without adding yet another variable in these function. Simply cast it to u64 and keep using %llx. Fixes: