WSL2-Linux-Kernel/sound/firewire/oxfw
Dan Carpenter 00f3a4113c ALSA: oxfw: remove an unnecessary condition in hwdep_read()
Smatch complains that "count" isn't clamped properly and
"oxfw->dev_lock_changed" is false then it leads to an information
leak.  But it turns out that "oxfw->dev_lock_changed" is always
set and the condition can be removed.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Link: https://lore.kernel.org/r/YA6ntkBxT/4DJ4YK@mwanda
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-01-25 14:50:07 +01:00
..
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
oxfw-command.c ALSA: oxfw: use ENXIO for not-supported cases 2020-01-13 10:41:47 +01:00
oxfw-hwdep.c ALSA: oxfw: remove an unnecessary condition in hwdep_read() 2021-01-25 14:50:07 +01:00
oxfw-midi.c ALSA: oxfw: share PCM buffer size for both direction 2019-10-18 04:35:46 +02:00
oxfw-pcm.c ALSA: firewire: Drop superfluous ioctl PCM ops 2019-12-11 07:25:27 +01:00
oxfw-proc.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
oxfw-scs1x.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
oxfw-spkr.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 345 2019-06-05 17:37:08 +02:00
oxfw-stream.c ALSA: oxfw: fix for Stanton SCS.1d 2020-01-13 10:42:27 +01:00
oxfw.c ALSA: oxfw: don't add MIDI/PCM interface when packet streaming is unavailable 2020-01-13 10:42:14 +01:00
oxfw.h ALSA: oxfw: don't add MIDI/PCM interface when packet streaming is unavailable 2020-01-13 10:42:14 +01:00