summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorZhen Ni <nizhen@uniontech.com>2022-03-02 06:37:16 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-14 17:53:59 +0300
commit7bffda1560a6f255fdf504e059fbbdb5d46b9e44 (patch)
tree5dcb59b3798a3dd485c830d8177762f87d9d22c1 /lib/memory-notifier-error-inject.c
parent381045dc64d23a2229c47c5524c06bfc33d34446 (diff)
downloadlinux-7bffda1560a6f255fdf504e059fbbdb5d46b9e44.tar.xz
USB: host: isp116x: check return value after calling platform_get_resource()
[ Upstream commit 134a3408c2d3f7e23eb0e4556e0a2d9f36c2614e ] It will cause null-ptr-deref if platform_get_resource() returns NULL, we need check the return value. Signed-off-by: Zhen Ni <nizhen@uniontech.com> Link: https://lore.kernel.org/r/20220302033716.31272-1-nizhen@uniontech.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions