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

Commit 782e50e0 authored by Lars-Peter Clausen's avatar Lars-Peter Clausen Committed by Takashi Iwai
Browse files

ALSA: Close holes in struct snd_pcm_constraint_list



On a 64-bit system there is a 32-bit hole in struct snd_pcm_constraint_list
and then 32-bit padding at the end. Reordering things slightly gets rid of
the hole and padding, reducing the size of the struct by 50% from its
original size.

Signed-off-by: default avatarLars-Peter Clausen <lars@metafoo.de>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d16efa06
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -274,8 +274,8 @@ struct snd_pcm_hw_constraint_ratdens {
};

struct snd_pcm_hw_constraint_list {
	unsigned int count;
	const unsigned int *list;
	unsigned int count;
	unsigned int mask;
};