]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Fri, 28 Jun 2019 10:03:58 +0000 (12:03 +0200)
commit8e60a934a87f8bd3780d00a1262f547d1ad9f78a
tree209e4fa017a12d39f1dcf4595f9cac13dfca03db
parent533a394925476e7b1c1752753af8aed687ebcd16
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