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 -- Chris Wilson, Intel Open Source Technology Centre _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/intel-gfx