Skip to content

Commit

Permalink
[media] solo6x10: use designated initializers
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
  • Loading branch information
kees authored and mchehab committed Jan 31, 2017
1 parent 6351db2 commit c4d27f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/pci/solo6x10/solo6x10-g723.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit c4d27f4

Please sign in to comment.