]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "drm/i915: fix build warning on 32-bit (v2)"
authorJan Moskyto Matejka <mq@suse.cz>
Mon, 28 Apr 2014 13:03:23 +0000 (15:03 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Mon, 5 May 2014 07:09:19 +0000 (09:09 +0200)
commitc759fade30ce79c97c1a24804a1b2f9d33bf8fee
tree0c526fc592b7d71852b9db7bd4361b0cc0a6bd56
parentf33655898fb32d4d514a1bd9bf4159df11dafa70
Revert "drm/i915: fix build warning on 32-bit (v2)"

This reverts commit 406bf325f00152e514086ee3550d03e108b3caa0.

The same warning has been fixed in 24df789b739ffd88585892913e015c649f14646f and
these two commits got merged in 74e99a84de2d0980320612db8015ba606af42114 which
caused another warning. Simply, the reverted commit casted the pointer
difference to unsigned long and the other commit changed the output type from
long to ptrdiff_t.

The other commit fixes the original warning the better way so I'm reverting
this commit now.

Signed-off-by: Jan Moskyto Matejka <mq@suse.cz>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_cmd_parser.c