]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ALSA: sb8: add a check for request_region
authorKangjie Lu <kjlu@umn.edu>
Fri, 15 Mar 2019 04:04:14 +0000 (23:04 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2019 07:30:27 +0000 (09:30 +0200)
commite3de185c7f2ff8ab4114152569bd4e9c20f3e314
tree2d16df45b1b91140052c92b6bcde58933ba0d5d0
parent77eed592753f0e97998636a18af823926126ab9e
ALSA: sb8: add a check for request_region

[ Upstream commit dcd0feac9bab901d5739de51b3f69840851f8919 ]

In case request_region fails, the fix returns an error code to
avoid NULL pointer dereference.

Signed-off-by: Kangjie Lu <kjlu@umn.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/isa/sb/sb8.c