]> git.baikalelectronics.ru Git - kernel.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)
committerTakashi Iwai <tiwai@suse.de>
Sat, 16 Mar 2019 09:30:27 +0000 (10:30 +0100)
commit90e45f397ab3ae9b6702f0baa015851044ddb70a
treee1bc92dec112b1add9d62e0e47c7ddba048af90b
parent0a979b92717341639c2dc951c0c91a19f3a3c28d
ALSA: sb8: add a check for request_region

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>
sound/isa/sb/sb8.c