drivers/gpu/drm/i915/intel_display.c:2954:11: warning: cast to pointer

From: Nick Warne
Date: Wed Sep 07 2016 - 12:46:44 EST


Hi Daniel,

kernel build 4.4.20 - I am still seeing this warning:

drivers/gpu/drm/i915/intel_display.c: In function
âintel_plane_obj_offsetâ: drivers/gpu/drm/i915/intel_display.c:2969:11:
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast] offset = (unsigned char *)vma->node.start;

but according to here:

https://patchwork.kernel.org/patch/7897461/

this has been fixed up. Any reason why it hasn't in the latest 4.4.x
longterm tree?

Thanks,

Nick
--
Gosh that takes me back... or is it forward? That's the trouble with
time travel, you never can tell."
-- Doctor Who "Androids of Tara"