drm: fix data structure mismatch between kernel and user
authorjino.cho <jino.cho@samsung.com>
Thu, 18 Aug 2016 06:02:48 +0000 (15:02 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Tue, 29 Jan 2019 02:25:25 +0000 (11:25 +0900)
commit7f8fb2749b39c2bdb5b2cf7e93aed9ceccafee00
tree98d6cefc6700aa3abbbd8c9a1c0444094110e94d
parent5f414935ea9bc98aaf77cc8e99358e48b63aaf1a
drm: fix data structure mismatch between kernel and user

This patch fixes data structure mismatch issue between kerenl and user
space. In compat fuction, compat_drm_mode_addfb2(), there was no
consideration about the data structure mismatch.

Change-Id: Iae6568e6112a206f98ed7a380ba462de9d71ee5f
Signed-off-by: jino.cho <jino.cho@samsung.com>
drivers/gpu/drm/drm_ioc32.c