OSDN Git Service

ALSA: seq: Do error checks at creating system ports
authorTakashi Iwai <tiwai@suse.de>
Tue, 28 Aug 2018 10:49:43 +0000 (12:49 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 25 Nov 2019 14:53:45 +0000 (15:53 +0100)
commit39b3ce44939aa75355357bfe0f2a23083a474e8f
tree9302e6f96ccd1e323d6fb1dd6a239d891692e8a4
parent8ad73373b8a7468d03f77fc78134e073a882f951
ALSA: seq: Do error checks at creating system ports

[ Upstream commit b8e131542b47b81236ecf6768c923128e1f5db6e ]

snd_seq_system_client_init() doesn't check the errors returned from
its port creations.  Let's do it properly and handle the error paths.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/core/seq/seq_system.c