drm/xe: Fix tracepoints on 32b
authorLucas De Marchi <lucas.demarchi@intel.com>
Thu, 22 Dec 2022 20:18:26 +0000 (12:18 -0800)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Tue, 12 Dec 2023 19:06:01 +0000 (14:06 -0500)
commitebec269c522fc9bb48d11b65456b01adbdecb97d
treeb98637c6cfc5338673310e0399d4f8be5df8c7fb
parent9a6e6c14bfde967fca5a052cbee206d0b6169a1e
drm/xe: Fix tracepoints on 32b

Leave the types as u64, but cast the pointers to unsigned long before
assigning so the compiler doesn't throw warning about casting a pointer
to integer of different size.

Also, size_t should use %zu, not %ld.

Signed-off-by: Lucas De Marchi <lucas.demarchi@intel.com>
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/xe/xe_trace.h