From 92851f1cdbd082eb993847e1c4468f7de08765bb Mon Sep 17 00:00:00 2001 From: Archit Taneja Date: Mon, 10 Mar 2014 04:19:02 -0300 Subject: [PATCH] [media] v4l: ti-vpe: zero out reserved fields in try_fmt Zero out the reserved formats in v4l2_pix_format_mplane and v4l2_plane_pix_format members of the returned v4l2_format pointer when passed through TRY_FMT ioctl. This ensures that the user doesn't interpret the non-zero fields as some data passed by the driver, and ensures compliance. Reviewed-by: Hans Verkuil Signed-off-by: Archit Taneja Signed-off-by: Mauro Carvalho Chehab --- Reading git-format-patch failed