summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-05-11 10:54:47 +0300
committerTakashi Iwai <tiwai@suse.de>2026-05-15 09:52:44 +0300
commitcb02416507bc0c31415f1527aefc280ae96260bd (patch)
treec78647bce2acaa3c77fb98c7cb4c6beb469a3649 /include/linux
parent0d552587a3c0cd247817417d63e9a1a072fb2116 (diff)
downloadlinux-cb02416507bc0c31415f1527aefc280ae96260bd.tar.xz
ALSA: seq: Use flexible array for MIDI channels
Store MIDI channel entries in the MIDI channel set allocation instead of allocating them separately. This ties the channel array lifetime directly to the channel set, removes a separate allocation failure path, and lets __counted_by() describe the array bounds. Move the embedded emux channel set to the end of its containing structure so it can carry the flexible array. Assisted-by: Codex:GPT-5.5 Signed-off-by: Rosen Penev <rosenp@gmail.com> Link: https://patch.msgid.link/20260511075447.445350-1-rosenp@gmail.com Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions