diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-05-17 15:15:43 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-07-20 16:10:41 +0200 |
commit | 88262229b778f4f7a896da828d966f94dcb35d19 (patch) | |
tree | 0e44875f75037394bcc9c19f8718707fd1f324ba /sound/firewire | |
parent | 7dff52b311b1a9643389f7e930df90a8946faa0e (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>
Diffstat (limited to 'sound/firewire')
0 files changed, 0 insertions, 0 deletions