summaryrefslogtreecommitdiff
path: root/include/linux/memory
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2026-05-11 00:54:47 -0700
committerTakashi Iwai <tiwai@suse.de>2026-05-15 08:52:44 +0200
commitcb02416507bc0c31415f1527aefc280ae96260bd (patch)
treec78647bce2acaa3c77fb98c7cb4c6beb469a3649 /include/linux/memory
parent0d552587a3c0cd247817417d63e9a1a072fb2116 (diff)
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/memory')
0 files changed, 0 insertions, 0 deletions