Skip to content

Commit c9adcdb

Browse files
wangbaolin719tiwai
authored andcommitted
ALSA: pcm: Fix structure definition for X32 ABI
X32 ABI uses the 64bit timespec in addition to 64bit alignment of 64bit values. We have added compat ABI for these ioctls, but this patch adds one missing padding into 'struct snd_pcm_mmap_status_x32' to fix incompatibilities. Signed-off-by: Baolin Wang <[email protected]> Signed-off-by: Takashi Iwai <[email protected]>
1 parent 0dcd020 commit c9adcdb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sound/core/pcm_compat.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -547,6 +547,7 @@ struct snd_pcm_mmap_status_x32 {
547547
u32 pad2; /* alignment */
548548
struct timespec tstamp;
549549
s32 suspended_state;
550+
s32 pad3;
550551
struct timespec audio_tstamp;
551552
} __packed;
552553

0 commit comments

Comments
 (0)