]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/media/v4l2-core/v4l2-ioctl.c
[media] v4l2-ioctl: zero the v4l2_bt_timings reserved field
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 4 Jul 2016 13:05:48 +0000 (10:05 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 12 Jul 2016 16:37:20 +0000 (13:37 -0300)
commitf932af802c60996f1f36803950b2c40f23f0e754
treec7bedbaec327ac0535185c51d94c6b492bd562d7
parent8842316bbdcbe7862c0b05839efec5ec4fc73f93
[media] v4l2-ioctl: zero the v4l2_bt_timings reserved field

This field should be zeroed. Both for s_dv_timings and for enum_dv_timings.
In fact, for the latter anything after the pad field can be zeroed.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/v4l2-core/v4l2-ioctl.c