summaryrefslogtreecommitdiff
path: root/lib/timerqueue.c
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2021-08-31 16:42:36 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-09 14:09:46 +0200
commit4b7f4a0eb92bf37bea4cd838c7f83ea42823ca8b (patch)
tree6dd40876ac51b40d45acb0d81aa47e9f4e6d4955 /lib/timerqueue.c
parent02ac2b3b9bfa7c227afb5b4534d3efd29dad393c (diff)
usb: dwc2: check return value after calling platform_get_resource()
[ Upstream commit 856e6e8e0f9300befa87dde09edb578555c99a82 ] 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/20210831084236.1359677-1-yangyingliang@huawei.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions