linux-uconsole/include/uapi/drm
Thierry Reding 839472b6fa drm/tegra: Remove gratuitous pad field
commit cbfbbabb89 upstream.

The version of the drm_tegra_submit structure that was merged all the
way back in 3.10 contains a pad field that was originally intended to
properly pad the following __u64 field. Unfortunately it seems like a
different field was dropped during review that caused this padding to
become unnecessary, but the pad field wasn't removed at that time.

One possible side-effect of this is that since the __u64 following the
pad is now no longer properly aligned, the compiler may (or may not)
introduce padding itself, which results in no predictable ABI.

Rectify this by removing the pad field so that all fields are again
naturally aligned. Technically this is breaking existing userspace ABI,
but given that there aren't any (released) userspace drivers that make
use of this yet, the fallout should be minimal.

Fixes: d43f81cbaf ("drm/tegra: Add gr2d device")
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-06-07 13:25:32 -07:00
..
drm.h drm: Kill user_modes list and the associated ioctls 2013-04-30 10:03:07 +10:00
drm_fourcc.h
drm_mode.h drm: Pad drm_mode_get_connector to 64-bit boundary 2013-11-13 12:05:34 +09:00
drm_sarea.h
exynos_drm.h drm/exynos: consider both case of vflip and hflip. 2013-01-04 15:54:33 +09:00
i810_drm.h
i915_drm.h drm/i915: Use the reloc.handle as an index into the execbuffer array 2013-01-17 22:23:47 +01:00
Kbuild drm/tegra: Add gr2d device 2013-04-22 12:40:04 +02:00
mga_drm.h
nouveau_drm.h
omap_drm.h drm/omap: move out of staging 2013-02-16 17:38:06 -05:00
qxl_drm.h drm: add new QXL driver. (v1.4) 2013-04-12 13:51:07 +10:00
r128_drm.h
radeon_drm.h drm/radeon/si: Add support for CP DMA to CS checker for compute v2 2013-10-01 09:17:47 -07:00
savage_drm.h
sis_drm.h
tegra_drm.h drm/tegra: Remove gratuitous pad field 2014-06-07 13:25:32 -07:00
via_drm.h
vmwgfx_drm.h