All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: document that struct __snd_pcm_mmap_control64 is messed up
@ 2023-04-05 20:12 Oswald Buddenhagen
  2023-04-06  6:03 ` Takashi Iwai
  0 siblings, 1 reply; 8+ messages in thread
From: Oswald Buddenhagen @ 2023-04-05 20:12 UTC (permalink / raw)
  To: alsa-devel

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 --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 */
-- 
2.40.0.152.g15d061e6df


^ permalink raw reply related	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2023-04-06 13:24 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-04-05 20:12 [PATCH] ALSA: document that struct __snd_pcm_mmap_control64 is messed up Oswald Buddenhagen
2023-04-06  6:03 ` Takashi Iwai
2023-04-06  6:46   ` Oswald Buddenhagen
2023-04-06  7:48     ` Takashi Iwai
2023-04-06 11:15       ` [PATCH v2] " Oswald Buddenhagen
2023-04-06 12:29         ` Takashi Iwai
2023-04-06 12:34           ` Oswald Buddenhagen
2023-04-06 13:23             ` Takashi Iwai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.