linux/sound/mips
Yang Yingliang be471fe332 ALSA: n64: check return value after calling platform_get_resource()
It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20210610124958.116142-1-yangyingliang@huawei.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
2021-06-12 09:31:13 +02:00
..
ad1843.c treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 156 2019-05-30 11:26:35 -07:00
hal2.c hal2: convert to dma_alloc_noncoherent 2020-09-25 06:20:44 +02:00
hal2.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 176 2019-05-30 11:29:19 -07:00
Kconfig sound: Add n64 driver 2021-01-25 11:48:23 +01:00
Makefile sound: Add n64 driver 2021-01-25 11:48:23 +01:00
sgio2audio.c module: remove never implemented MODULE_SUPPORTED_DEVICE 2021-03-17 13:16:18 -07:00
snd-n64.c ALSA: n64: check return value after calling platform_get_resource() 2021-06-12 09:31:13 +02:00