]> www.infradead.org Git - users/hch/xfs.git/commit
ALSA: seq: Check UMP support for midi_version change
authorTakashi Iwai <tiwai@suse.de>
Tue, 31 Dec 2024 14:53:58 +0000 (15:53 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 31 Dec 2024 14:57:01 +0000 (15:57 +0100)
commit8765429279e7d3d68d39ace5f84af2815174bb1e
tree2b4707bc087778d60703d55fafd5ee76d2f14186
parent7b509910b3ad6d7aacead24c8744de10daf8715d
ALSA: seq: Check UMP support for midi_version change

When the kernel is built without UMP support but a user-space app
requires the midi_version > 0, the kernel should return an error.
Otherwise user-space assumes as if it were possible to deal,
eventually hitting serious errors later.

Fixes: 46397622a3fa ("ALSA: seq: Add UMP support")
Cc: <stable@vger.kernel.org>
Link: https://patch.msgid.link/20241231145358.21946-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/core/seq/seq_clientmgr.c