linux/sound/pci
Dan Carpenter 0f7c956533 ALSA: hdsp: fix a test for copy_to_user() failure
The copy_to_user() function returns the number of bytes remaining to be
copied.  It doesn't return negatives.

Fixes: 66c8f75919 ("ALSA: hdsp: Fix assignment in if condition")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/YNIzqpVR6L2t/RwJ@mwanda
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-06-22 21:33:24 +02:00
..
ac97 ALSA: ac97: Fix assignment in if condition 2021-06-09 17:30:02 +02:00
ali5451 module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
asihpi ALSA: asihpi: fix comment syntax in file headers 2021-03-18 10:13:25 +01:00
au88x0 ALSA: au88x0: Fix assignment in if condition 2021-06-09 17:30:03 +02:00
aw2 ALSA: pci: Simplify with dma_set_mask_and_coherent() 2021-01-15 11:17:00 +01:00
ca0106 ALSA: ca0106: Fix assignment in if condition 2021-06-09 17:30:05 +02:00
cs46xx ALSA: cs46xx: Fix assignment in if condition 2021-06-09 17:30:06 +02:00
cs5535audio ALSA: cs5535audio: Fix assignment in if condition 2021-06-09 17:30:07 +02:00
ctxfi ALSA: control - add generic LED API 2021-03-30 17:42:40 +02:00
echoaudio ALSA: echoaudio: Fix assignment in if condition 2021-06-09 17:30:08 +02:00
emu10k1 ALSA: emu10k1x: Fix assignment in if condition 2021-06-09 17:30:13 +02:00
hda ALSA: hda: Add IRQ check for platform_get_irq() 2021-06-22 16:12:03 +02:00
ice1712 ALSA: ice1712: Fix assignment in if condition 2021-06-09 17:30:14 +02:00
korg1212 ALSA: korg1212: Fix assignment in if condition 2021-06-09 17:30:14 +02:00
lola module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
lx6464es ALSA: pci: lx6464es: remove useless self-comparison 2021-05-27 08:25:14 +02:00
mixart ALSA: mixart: Fix assignment in if condition 2021-06-09 17:30:15 +02:00
nm256 ALSA: nm256: Fix assignment in if condition 2021-06-09 17:30:16 +02:00
oxygen module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
pcxhr ALSA: pcxhr: Fix assignment in if condition 2021-06-09 17:30:17 +02:00
riptide ALSA: riptide: Fix assignment in if condition 2021-06-09 17:30:18 +02:00
rme9652 ALSA: hdsp: fix a test for copy_to_user() failure 2021-06-22 21:33:24 +02:00
trident ALSA: trident: Fix build error 2021-06-12 09:29:50 +02:00
vx222 ALSA: vx222: Fix assignment in if condition 2021-06-09 17:30:21 +02:00
ymfpci ALSA: ymfpci: Fix assignment in if condition 2021-06-09 17:30:21 +02:00
ad1889.c ALSA: ad1889: Fix assignment in if condition 2021-06-09 17:29:49 +02:00
ad1889.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ak4531_codec.c ALSA: ak4531: Fix assignment in if condition 2021-06-09 17:29:49 +02:00
als300.c ALSA: als300: Fix assignment in if condition 2021-06-09 17:29:50 +02:00
als4000.c ALSA: als4000: Fix assignment in if condition 2021-06-09 17:29:51 +02:00
atiixp_modem.c ALSA: atiixp: Fix assignment in if condition 2021-06-09 17:29:51 +02:00
atiixp.c ALSA: atiixp: Fix assignment in if condition 2021-06-09 17:29:51 +02:00
azt3328.c ALSA: azt3328: Fix assignment in if condition 2021-06-09 17:29:52 +02:00
azt3328.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
bt87x.c ALSA: bt87x: Fix assignment in if condition 2021-06-09 17:29:53 +02:00
cmipci.c ALSA: cmipci: Fix assignment in if condition 2021-06-09 17:29:53 +02:00
cs4281.c ALSA: cs4281: Fix assignment in if condition 2021-06-09 17:29:54 +02:00
cs5530.c ALSA: pci: Constify snd_device_ops definitions 2020-01-03 09:23:56 +01:00
ens1370.c ALSA: ens137x: Fix assignment in if condition 2021-06-09 17:29:55 +02:00
ens1371.c
es1938.c ALSA: es1938: Fix assignment in if condition 2021-06-09 17:29:56 +02:00
es1968.c ALSA: es1968: Fix assignment in if condition 2021-06-09 17:29:56 +02:00
fm801.c ALSA: fm801: Fix assignment in if condition 2021-06-09 17:29:57 +02:00
intel8x0.c ALSA: intel8x0: Fix assignment in if condition 2021-06-09 17:29:58 +02:00
intel8x0m.c ALSA: intel8x0: Fix assignment in if condition 2021-06-09 17:29:58 +02:00
Kconfig sound: Fix Kconfig indentation 2019-10-07 03:53:03 +02:00
maestro3.c ALSA: maestro3: Fix assignment in if condition 2021-06-09 17:29:58 +02:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
rme32.c ALSA: rme32: Fix assignment in if condition 2021-06-09 17:29:59 +02:00
rme96.c ALSA: rme96: Fix assignment in if condition 2021-06-09 17:30:00 +02:00
sis7019.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
sis7019.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 274 2019-06-05 17:30:30 +02:00
sonicvibes.c ALSA: sonicvibes: Fix assignment in if condition 2021-06-09 17:30:01 +02:00
via82xx_modem.c ALSA: via82xx: Fix assignment in if condition 2021-06-09 17:30:01 +02:00
via82xx.c ALSA: via82xx: Fix assignment in if condition 2021-06-09 17:30:01 +02:00