]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: Close holes in struct snd_pcm_constraint_list
authorLars-Peter Clausen <lars@metafoo.de>
Mon, 27 Apr 2015 10:20:29 +0000 (12:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 27 Apr 2015 10:24:49 +0000 (12:24 +0200)
commita39d3b663ecc2abcd34ecdb2e3657d0acfd6d074
treee82d532113e774c99db77753929360152aee9707
parentb109725eab8169739d5f4fa12b878ed5f15db4c4
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: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/pcm.h