This wasn't caught by the IOCTL size checking, since the structure is
accessed through an extra redirecation. This redirection should be
removed at some point, since it's pointless.
Signed-off-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com>
typedef struct _SGX_MISC_INFO_
{
- SGX_MISC_INFO_REQUEST eRequest;
+ SGX_MISC_INFO_REQUEST eRequest;
+ IMG_UINT32 pad;
#if defined(SUPPORT_SGX_EDM_MEMORY_DEBUG)
IMG_DEV_VIRTADDR sDevVAddrSrc;
IMG_DEV_VIRTADDR sDevVAddrDest;