drm/amdgpu: memset gds_info struct in info ioctl
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 30 Apr 2015 15:47:03 +0000 (11:47 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 4 Jun 2015 01:03:23 +0000 (21:03 -0400)
commitc92b90ccc20bb55a3a0bb8fcc55c18d0710f8cb7
treeaa11a1ab074c25deae4914f0024c08b3374f02d4
parent1045745742fc12c1320ccce849ca2810c6563f8d
drm/amdgpu: memset gds_info struct in info ioctl

Avoids possibility that info may leak via the uninitialized
_pad element.

Noticed-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c