mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-24 17:59:32 +00:00
[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>
This commit is contained in:
parent
6351db2b4d
commit
c4d27f4b4d
1 changed files with 1 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Reference in a new issue