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)
commit2da38e0c9465b89518b29328daeb7da0ca1690b7
tree52194a07ecf750604b7f30394352acd0b78e7232
parent8d42fda9ea9820d271a40f0bf7ed436647f2ddb9
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