Commit c4d27f4b authored by Kees Cook's avatar Kees Cook Committed by Mauro Carvalho Chehab

[media] solo6x10: 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: default avatarKees Cook <keescook@chromium.org>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 6351db2b
...@@ -350,7 +350,7 @@ static int solo_snd_pcm_init(struct solo_dev *solo_dev) ...@@ -350,7 +350,7 @@ static int solo_snd_pcm_init(struct solo_dev *solo_dev)
int solo_g723_init(struct solo_dev *solo_dev) int solo_g723_init(struct solo_dev *solo_dev)
{ {
static struct snd_device_ops ops = { NULL }; static struct snd_device_ops ops = { };
struct snd_card *card; struct snd_card *card;
struct snd_kcontrol_new kctl; struct snd_kcontrol_new kctl;
char name[32]; char name[32];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment