[PATCH 0/9] uapi: drm: fixes for userspace compilation

Gabriel Laskar gabriel at lse.epita.fr
Thu Nov 12 10:14:02 PST 2015


Public headers should use types from include/uapi/linux/types.h.

This series fixes that, and allow out-of-the-box compilation of thoses headers
from userspace.

Some programs need to parse and use these headers, in order to gather
informations about the public kernel API, for example strace generation
scripts, some abi checkers, and so on.

Gabriel Laskar (9):
  include/uapi/drm/armada_drm.h: use __u{32,64} types instead of
    uint{32,64}_t
  include/uapi/drm/virtgpu_drm.h: use __u{32,64} types instead of
    uint{32,64}_t
  include/uapi/drm/qxl_drm.h: use __u{32,64} types instead of
    uint{32,64}_t
  include/uapi/drm/nouveau_drm.h: use __u{32,64} types instead of
    uint{32,64}_t
  include/uapi/drm/amdgpu_drm.h: use __u{32,64} types instead of
    uint{32,64}_t
  include/uapi/drm/armada_drm.h: use __u{32,64} types instead of
    uint{32,64}_t
  include/uapi/drm/drm_mode.h: use __u{32,64} types instead of
    uint{32,64}_t
  include/uapi/drm/vmwgfx_drm.h: use __u{32,64} types instead of
    uint{32,64}_t
  include/uapi/drm/omap_drm.h: use __u{32,64} types instead of
    uint{32,64}_t

 include/uapi/drm/amdgpu_drm.h  | 292 +++++++++++++++++++++--------------------
 include/uapi/drm/armada_drm.h  |  24 ++--
 include/uapi/drm/drm_mode.h    |  16 +--
 include/uapi/drm/nouveau_drm.h |  84 ++++++------
 include/uapi/drm/omap_drm.h    |  39 +++---
 include/uapi/drm/qxl_drm.h     |  74 +++++------
 include/uapi/drm/radeon_drm.h  | 130 +++++++++---------
 include/uapi/drm/virtgpu_drm.h |  99 +++++++-------
 include/uapi/drm/vmwgfx_drm.h  | 264 ++++++++++++++++++-------------------
 9 files changed, 515 insertions(+), 507 deletions(-)

-- 
2.6.2



More information about the dri-devel mailing list