ALSA: compress: Fix 64bit ABI incompatibility
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2013 11:15:52 +0000 (12:15 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 20 Dec 2013 15:45:06 +0000 (07:45 -0800)
commitf4b017da47d8aa1a1ab0fd4ec04b9f7044a096e8
treee0a7d6259fde3ca836b5696e15c5dc543b8df698
parent17430858ee6bbf5e5f15a998ce5447f05d90b850
ALSA: compress: Fix 64bit ABI incompatibility

commit 6733cf572a9e20db2b7580a5dd39d5782d571eec upstream.

snd_pcm_uframes_t is defined as unsigned long so it would take
different sizes depending on 32 or 64bit architectures.  As we don't
want this ABI incompatibility, and there is no real 64bit user yet,
let's make it the fixed size with __u32.

Also bump the protocol version number to 0.1.2.

Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
include/uapi/sound/compress_offload.h