linux_dsm_epyc7002/sound/usb/usx2y
Takashi Iwai 7d7f30cf18 ALSA: usx2y: Don't call free_pages_exact() with NULL address
[ Upstream commit cae0cf651adccee2c3f376e78f30fbd788d0829f ]

Unlike some other functions, we can't pass NULL pointer to
free_pages_exact().  Add a proper NULL check for avoiding possible
Oops.

Link: https://lore.kernel.org/r/20210517131545.27252-10-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-07-20 16:05:39 +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 ALSA: usx2y: Don't call free_pages_exact() with NULL address 2021-07-20 16:05:39 +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 ALSA: usx2y: Avoid camelCase 2021-07-20 16:05:39 +02:00
usbusx2y.c ALSA: usx2y: Avoid camelCase 2021-07-20 16:05:39 +02:00
usbusx2y.h ALSA: usx2y: Avoid camelCase 2021-07-20 16:05:39 +02:00
usbusx2yaudio.c ALSA: usx2y: Avoid camelCase 2021-07-20 16:05:39 +02:00
usx2y.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
usx2yhwdeppcm.c ALSA: usx2y: Avoid camelCase 2021-07-20 16:05:39 +02:00
usx2yhwdeppcm.h ALSA: usx2y: Avoid camelCase 2021-07-20 16:05:39 +02:00
usX2Yhwdep.c ALSA: usx2y: Avoid camelCase 2021-07-20 16:05:39 +02:00
usX2Yhwdep.h ALSA: usx2y: Avoid camelCase 2021-07-20 16:05:39 +02:00