From: Rob Clark Date: Sun, 18 Sep 2011 19:38:15 +0000 (-0500) Subject: drm: drm_ioctl() should zero-init extra data X-Git-Tag: v3.2-rc1~135^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dd2351da7c438eb3d5f64a161cf3483648725dcd;p=pandora-kernel.git 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 Signed-off-by: Dave Airlie --- Reading git-diff-tree failed