linux/sound/core/seq/oss
Takashi Iwai c485f7e986 ALSA: seq: oss: Fix error check at system port creation
The system port creation in ALSA OSS sequencer was wrongly checked
against to the port number that can be never negative.  The error code
should be checked rather against the ioctl call.

This patch corrects the error check.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20210617134742.6321-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-06-17 16:02:26 +02:00
..
Makefile
seq_oss.c ALSA: seq: Fix assignment in if condition 2021-06-09 17:30:26 +02:00
seq_oss_device.h
seq_oss_event.c
seq_oss_event.h
seq_oss_init.c ALSA: seq: oss: Fix error check at system port creation 2021-06-17 16:02:26 +02:00
seq_oss_ioctl.c
seq_oss_midi.c ALSA: seq: Fix assignment in if condition 2021-06-09 17:30:26 +02:00
seq_oss_midi.h
seq_oss_readq.c
seq_oss_readq.h
seq_oss_rw.c ALSA: seq: Fix assignment in if condition 2021-06-09 17:30:26 +02:00
seq_oss_synth.c ALSA: seq: Fix assignment in if condition 2021-06-09 17:30:26 +02:00
seq_oss_synth.h
seq_oss_timer.c
seq_oss_timer.h
seq_oss_writeq.c ALSA: seq: Fix assignment in if condition 2021-06-09 17:30:26 +02:00
seq_oss_writeq.h