WSL2-Linux-Kernel/sound/drivers
Colin Ian King 2dee54b289 ALSA: drivers: opl3: Fix incorrect use of vp->state
Static analysis with scan-build has found an assignment to vp2 that is
never used. It seems that the check on vp->state > 0 should be actually
on vp2->state instead. Fix this.

This dates back to 2002, I found the offending commit from the git
history git://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git,
commit 91e39521bbf6 ("[PATCH] ALSA patch for 2.5.4")

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Cc: <stable@vger.kernel.org>
Link: https://lore.kernel.org/r/20211212172025.470367-1-colin.i.king@gmail.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-12-13 10:36:17 +01:00
..
mpu401 ALSA: mpu401: Allocate resources with device-managed APIs 2021-07-19 16:17:30 +02:00
opl3 ALSA: drivers: opl3: Fix incorrect use of vp->state 2021-12-13 10:36:17 +01:00
opl4
pcsp ALSA: pcsp: Make hrtimer forwarding more robust 2021-09-28 10:58:08 +02:00
vx ALSA: vx: Manage vx_core object with devres 2021-07-19 16:17:09 +02:00
Kconfig ALSA: aloop: Fix spelling mistake "synchronization" -> "synchronization" 2021-07-19 15:44:30 +02:00
Makefile
aloop.c ALSA: aloop: Allocate resources with device-managed APIs 2021-07-19 16:17:31 +02:00
dummy.c ALSA: dummy: Allocate resources with device-managed APIs 2021-07-19 16:17:32 +02:00
mtpav.c ALSA: mtpav: Allocate resources with device-managed APIs 2021-07-19 16:17:29 +02:00
mts64.c ALSA: serial: Fix assignment in if condition 2021-06-09 17:30:34 +02:00
portman2x4.c ALSA: serial: Fix assignment in if condition 2021-06-09 17:30:34 +02:00
serial-u16550.c ALSA: serial-u16550: Allocate resources with device-managed APIs 2021-07-19 16:17:30 +02:00
virmidi.c ALSA: virmidi: Allocate resources with device-managed APIs 2021-07-19 16:17:28 +02:00