linux_dsm_epyc7002/sound/usb/usx2y
Greg Kroah-Hartman 1f88661268 Revert "ALSA: usx2y: Fix potential NULL pointer dereference"
[ Upstream commit 4667a6fc1777ce071504bab570d3599107f4790f ]

This reverts commit a2c6433ee5.

Because of recent interactions with developers from @umn.edu, all
commits from them have been recently re-reviewed to ensure if they were
correct or not.

Upon review, this commit was found to be incorrect for the reasons
below, so it must be reverted.  It will be fixed up "correctly" in a
later kernel change.

The original patch was incorrect, and would leak memory if the error
path the patch added was hit.

Cc: Aditya Pakki <pakki001@umn.edu>
Reviewed-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20210503115736.2104747-37-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-06-03 09:00:41 +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
us122l.c sound: usx2y: move to use usb_control_msg_send() 2020-09-25 16:33:59 +02:00
us122l.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usb_stream.c Revert "ALSA: usx2y: Fix potential NULL pointer dereference" 2021-06-03 09:00:41 +02:00
usb_stream.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usbus428ctldefs.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
usbusx2y.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
usbusx2y.h ALSA: Replace zero-length array with flexible-array 2020-05-07 22:30:36 +02:00
usbusx2yaudio.c ALSA: usx2y: Fix potential NULL dereference 2020-04-21 08:00:41 +02:00
usx2y.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
usx2yhwdeppcm.c ALSA: usb: Constify snd_pcm_hardware definitions 2020-01-03 09:23:49 +01:00
usx2yhwdeppcm.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
usX2Yhwdep.c ALSA: usx2y: More constifications 2020-01-05 16:14:47 +01:00
usX2Yhwdep.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00