WSL2-Linux-Kernel/sound/pci/rme9652
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
..
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
hdsp.c ALSA: hdsp: fix a test for copy_to_user() failure 2021-06-22 21:33:24 +02:00
hdspm.c ALSA: control - add generic LED API 2021-03-30 17:42:40 +02:00
rme9652.c ALSA: rme9652: Fix assignment in if condition 2021-06-09 17:30:19 +02:00