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:48:49 +0000 (07:48 -0800)
commit60d80867eb231385a7a05eb249d03b5f313dac5b
tree0fe5c6695715ef2f58e474ae6e44ac41f5007b70
parent02552ad06e442e48082dbb51a32e5228a1b64f48
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