]> 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)
commit6aff58f7fc6b6bef8b7d68468b9e016ddef6c1e7
tree209e4fa017a12d39f1dcf4595f9cac13dfca03db
parente84c4763c4013a53f28af9a2a14e0cabd06ab527
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