]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: compress: fix the struct alignment to 4 bytes
authorVinod Koul <vinod.koul@intel.com>
Thu, 19 Jun 2014 09:11:00 +0000 (14:41 +0530)
committerTakashi Iwai <tiwai@suse.de>
Mon, 23 Jun 2014 10:15:33 +0000 (12:15 +0200)
commit74d22ff27739981b0fbfb41e18641948b8f0e5ff
tree52194a07ecf750604b7f30394352acd0b78e7232
parent432842ec6f733ffa7d8586daeb61557f0bdc1203
ALSA: compress: fix the struct alignment to 4 bytes

In 64bit systems the compiler can default align to 8bytes causing mis-match with
32bit usermode. Avoid this is future by ensuring all the structures shared with
usermode are packed and aligned to 4 bytes irrespective of arch used

[coding style fixes by tiwai]

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/uapi/sound/compress_offload.h
include/uapi/sound/compress_params.h