Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
USB: host: isp116x: check return value after calling platform_get_res…
…ource() [ Upstream commit 134a340 ] 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>
- Loading branch information