diff options
author | Kees Cook <keescook@chromium.org> | 2016-12-16 23:05:36 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-01-31 07:43:53 -0200 |
commit | c4d27f4b4dc99715317696556d713f9094dca509 (patch) | |
tree | 1b89a471146dd30c3a83dcd1e5e448e110eef6e3 /drivers/media/pci/solo6x10 | |
parent | 6351db2b4df3e086793b2472cc124fb9ae8d8458 (diff) | |
download | blackbird-obmc-linux-c4d27f4b4dc99715317696556d713f9094dca509.tar.gz blackbird-obmc-linux-c4d27f4b4dc99715317696556d713f9094dca509.zip |
[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: Kees Cook <keescook@chromium.org>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/media/pci/solo6x10')
-rw-r--r-- | drivers/media/pci/solo6x10/solo6x10-g723.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/pci/solo6x10/solo6x10-g723.c b/drivers/media/pci/solo6x10/solo6x10-g723.c index 6a35107aca25..36e93540bb49 100644 --- a/drivers/media/pci/solo6x10/solo6x10-g723.c +++ b/drivers/media/pci/solo6x10/solo6x10-g723.c @@ -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]; |