diff options
author | Rob Clark <rob@ti.com> | 2011-09-18 14:38:15 -0500 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2011-10-19 14:46:45 +0100 |
commit | dd2351da7c438eb3d5f64a161cf3483648725dcd (patch) | |
tree | 9ecd9d07b76ce0960188e54fa44baf1b6de2dcd8 /drivers/gpu/drm/radeon/reg_srcs | |
parent | 017ed8012e74ca15748863f45d2c078453026a0a (diff) | |
download | blackbird-op-linux-dd2351da7c438eb3d5f64a161cf3483648725dcd.tar.gz blackbird-op-linux-dd2351da7c438eb3d5f64a161cf3483648725dcd.zip |
drm: drm_ioctl() should zero-init extra data
If an older userspace passes in a smaller arg than the current kernel
ioctl arg struct, then extra fields should be initialized to zero
rather than passing random data to the DRM driver.
Signed-off-by: Rob Clark <rob@ti.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/radeon/reg_srcs')
0 files changed, 0 insertions, 0 deletions