Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

[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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -350,7 +350,7 @@ static int solo_snd_pcm_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_kcontrol_new kctl;
	char name[32];