]> 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)
commit74da48b3cdbdbf2ed3dc35634906e5a4aa2761db
tree52194a07ecf750604b7f30394352acd0b78e7232
parent7b066f436b3c3062576a56ef4041e831f2d04070
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