]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: seq: fix incorrect order of dest_client/dest_ports arguments
authorColin Ian King <colin.king@canonical.com>
Fri, 28 Jun 2019 09:54:29 +0000 (10:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Jul 2019 07:56:43 +0000 (09:56 +0200)
commit13088bad036a7829d78c788edd8c7a119f3b780e
tree006924c28bd52db77f714d7df58e8d879fe0ea98
parent6e5d6d15daa3090987254c5111999eacab8c7fcd
ALSA: seq: fix incorrect order of dest_client/dest_ports arguments

commit c3ea60c231446663afd6ea1054da6b7f830855ca upstream.

There are two occurrances of a call to snd_seq_oss_fill_addr where
the dest_client and dest_port arguments are in the wrong order. Fix
this by swapping them around.

Addresses-Coverity: ("Arguments in wrong order")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
sound/core/seq/oss/seq_oss_ioctl.c
sound/core/seq/oss/seq_oss_rw.c