ALSA: document that struct __snd_pcm_mmap_control64 is messed up
PATCH v2 1/1 ALSA: document that struct __snd_pcm_mmap_control64 is messed up
I'm not the first one to run into this, see e.g.
https://lore.kernel.org/all/[email protected]/
Signed-off-by Oswald Buddenhagen <[email protected]>
--- include/uapi/sound/asound.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
include/uapi/sound/asound.h +2 -1
@@ -570,7 +570,8 @@ 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;// This should be __pad_after_uframe, but binary +// backwards compatibility constraints prevent a fix. __pad_before_uframe __pad3;snd_pcm_uframes_t avail_min;/* RW: min available frames for wakeup */
Signature · 1 line
2.40.0.152.g15d061e6df
Quoted 5 lines · Oswald Buddenhagen
I'm not the first one to run into this, see e.g.
https://lore.kernel.org/all/[email protected]/Signed-off-by Oswald Buddenhagen <[email protected]>
Applied now to for-next branch.
BTW, it'd be helpful if you put maintainers to Cc at the next time. This will avoid overlooking patches that have been posted on ML.
thanks,
Takashi