[media] mtk-vcodec: use designated initializers
authorKees Cook <keescook@chromium.org>
Sat, 17 Dec 2016 01:00:31 +0000 (23:00 -0200)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 31 Jan 2017 09:42:56 +0000 (07:42 -0200)
commit6351db2b4df3e086793b2472cc124fb9ae8d8458
tree20bde2d595936edd5dcc769c1f90184760e701f9
parent6792eb0cf9310ec240b7e7c9bfa86dff4c758c68
[media] mtk-vcodec: use designated initializers

Prepare to mark sensitive kernel structures for randomization by making
sure they're using designated initializers. These were identified during
allyesconfig builds of x86, arm, and arm64, with most initializer fixes
extracted from grsecurity.

Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/platform/mtk-vcodec/venc/venc_h264_if.c
drivers/media/platform/mtk-vcodec/venc/venc_vp8_if.c