[media] media: Init the reserved fields of struct media_link_desc

struct media_link_desc is copy_to_user'ed as the return value of
MEDIA_IOC_ENUM_LINKS. When copying, the driver is omitting to initialise
the reserved fields.  This commit fixes that by initialising the
reserved fields to 0.

CRs-Fixed: 570757
Change-Id: I230e2666c0845cc36399518a0f2c94db664382d1
Signed-off-by: Deva Ramasubramanian <dramasub@codeaurora.org>
qseecom: Validate the pointer returned by ion_import_dma_buf

Do a "IS_ERR_OR_NULL" check for the return value of
ion_import_dma_buf.

Change-Id: Iaac8b59b1f076d002430e0e6aba055bd88c83ed7
Signed-off-by: Hariprasad Dhalinarasimha <hnamgund@codeaurora.org>
Merge "Merge "arm: mach-msm: fix integer overflow in DFE ioctls for reg arr rw""
Merge "[media] media: Init the reserved fields of struct media_link_desc"
Merge "qseecom: Validate the pointer returned by ion_import_dma_buf"
Merge "Merge "Merge "arm: mach-msm: fix integer overflow in DFE ioctls for reg arr rw"""
Merge "Merge "qseecom: Validate the pointer returned by ion_import_dma_buf""
Merge "Merge "Merge "qseecom: Validate the pointer returned by ion_import_dma_buf"""
Merge "Merge "qseecom: Validate the pointer returned by ion_import_dma_buf""
Merge "Merge "Merge "qseecom: Validate the pointer returned by ion_import_dma_buf"""
Merge "Merge "qseecom: Validate the pointer returned by ion_import_dma_buf""
Merge "Merge "Merge "qseecom: Validate the pointer returned by ion_import_dma_buf"""