On 2016-12-20 05:28 AM, Chris Wilson wrote:
On Tue, Dec 20, 2016 at 12:48:38AM -0500, Robert Foss wrote:
Fix pointer length compilations errors on 32-bit systems.
That's fine, but considering to_user_pointer() to wrap it up similarly
to the unwrap on the kernel side (and for everyone ofc).
static inline uint64_t to_user_pointer(void *ptr)
{
return (uint64_t)(uintptr_t)ptr;
}
-Chris
I'll resubmit a to_user_pointer version.
Thanks Chris!
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx