diff mbox series

ALSA: document that struct __snd_pcm_mmap_control64 is messed up

Message ID 20230405201219.2197759-1-oswald.buddenhagen@gmx.de
State Superseded
Headers show
Series ALSA: document that struct __snd_pcm_mmap_control64 is messed up | expand

Commit Message

Oswald Buddenhagen April 5, 2023, 8:12 p.m. UTC
I suppose this can't be changed anymore due to binary compat concerns.

Signed-off-by: Oswald Buddenhagen <oswald.buddenhagen@gmx.de>
---
 include/uapi/sound/asound.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/include/uapi/sound/asound.h b/include/uapi/sound/asound.h
index de6810e94abe..595a683968bc 100644
--- a/include/uapi/sound/asound.h
+++ b/include/uapi/sound/asound.h
@@ -570,7 +570,7 @@  struct __snd_pcm_mmap_status64 {
 struct __snd_pcm_mmap_control64 {
 	__pad_before_uframe __pad1;
 	snd_pcm_uframes_t appl_ptr;	 /* RW: appl ptr (0...boundary-1) */
-	__pad_before_uframe __pad2;
+	__pad_before_uframe __pad2;	 // BUG: this should have been __pad_after_uframe!
 
 	__pad_before_uframe __pad3;
 	snd_pcm_uframes_t  avail_min;	 /* RW: min available frames for wakeup */