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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 28 Jun 2019 10:03:58 +0000 (12:03 +0200)
commitc3ea60c231446663afd6ea1054da6b7f830855ca
tree209e4fa017a12d39f1dcf4595f9cac13dfca03db
parentbef33e19203dde434bcdf21c449e3fb4f06c2618
ALSA: seq: fix incorrect order of dest_client/dest_ports arguments

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>
sound/core/seq/oss/seq_oss_ioctl.c
sound/core/seq/oss/seq_oss_rw.c