]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Use expcitly fixed type in compat32 structs
authorDaniel Vetter <daniel.vetter@ffwll.ch>
Tue, 14 Jul 2015 16:07:30 +0000 (18:07 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 15 Jul 2015 09:39:59 +0000 (11:39 +0200)
commit4f6661b8887ca2208c6d4e5fa775d832abea03c4
tree3d3f3ffe14062beef7065490ab1f23e992c3ddeb
parente1b7d93b50be543ed15f918494e018493befc780
drm/i915: Use expcitly fixed type in compat32 structs

I was confused shortly whether the compat was needed for the int,
until I noticed the pointer in the original.

Also remove typedef.

v2: Review from Chris.
- Add comments.
- Also change the int param in the original structure.

Cc: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@intel.com>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/i915_ioc32.c
include/uapi/drm/i915_drm.h