]> git.baikalelectronics.ru Git - kernel.git/commit
uapi/drm/i915_drm.h: fix userspace compilation.
authorArtem Savkov <asavkov@redhat.com>
Wed, 2 Sep 2015 11:41:18 +0000 (13:41 +0200)
committerJani Nikula <jani.nikula@intel.com>
Wed, 2 Sep 2015 13:26:58 +0000 (16:26 +0300)
commita59463778101a7bd7c7b1bb0c5885e9a8d4648f0
tree192bf8117e41f550199eeba312e88b0461e5a4dd
parent8bc81b7cd0846861cdeb762943286dddc25173a6
uapi/drm/i915_drm.h: fix userspace compilation.

commit 4f6661b8887ca2208c6d4e5fa775d832abea03c4
Author: Daniel Vetter <daniel.vetter@ffwll.ch>
Date:   Tue Jul 14 18:07:30 2015 +0200

    drm/i915: Use expcitly fixed type in compat32 structs

changed the type of param field in drm_i915_getparam from int to
s32. This header is exported to userspace and needs to use userspace
type __s32 instead.

This fixes userspace compilation errors like the following:
include/drm/i915_drm.h:361:2: error: unknown type name 's32'
  s32 param;

Signed-off-by: Artem Savkov <asavkov@redhat.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
include/uapi/drm/i915_drm.h