Quoting Michal Wajdeczko (2017-10-06 13:36:56)
> Commit faf654864b25 ("drm/i915: Unify uC variable types to avoid
> flooding checkpatch.pl") breaks 32-bit kernel builds. Lets use
> chained cast to make compiler happy.
> 
> Signed-off-by: Michal Wajdeczko <[email protected]>
> Cc: Joonas Lahtinen <[email protected]>
> Cc: Chris Wilson <[email protected]>

i915_utils.h: static inline u64 ptr_to_u64(const void *ptr) { return 
(uinptr_t)ptr; }

Might as well try to hide the worst of C casting?
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to