diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2021-06-10 20:49:58 +0800 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-06-12 09:31:13 +0200 |
commit | be471fe332f7f14aa6828010b220d7e6902b91a0 (patch) | |
tree | 11ff83c132a4653480c82ade24024ae0a90eab3e /kernel/Kconfig.preempt | |
parent | 01893553e67c768985dc1531fa89fb04aa5134ce (diff) | |
download | linux-stable-be471fe332f7f14aa6828010b220d7e6902b91a0.tar.gz linux-stable-be471fe332f7f14aa6828010b220d7e6902b91a0.tar.bz2 linux-stable-be471fe332f7f14aa6828010b220d7e6902b91a0.zip |
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>
Diffstat (limited to 'kernel/Kconfig.preempt')
0 files changed, 0 insertions, 0 deletions