commit | 7d7f30cf182e55023fa8fde4c084b2d37c6be69d | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Mon May 17 15:15:43 2021 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Jul 20 16:05:39 2021 +0200 |
tree | 7ae20e8e2fd6857034f0017ca31cc2c780884d52 | |
parent | f4997bf6c4486ace3eb9d3a7d1658d82136bb409 [diff] |
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>