Files
kernel_google_wahoo/drivers/usb/host
Yang Yingliang 28e016e021 usb: host: ohci-tmio: check return value after calling platform_get_resource()
[ Upstream commit 9eff2b2e59fda25051ab36cd1cb5014661df657b ]

It will cause null-ptr-deref if platform_get_resource() returns NULL,
we need check the return value.

Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20211011134920.118477-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2021-11-26 11:58:42 +01:00
..
2015-10-16 23:44:33 -07:00
2015-06-08 14:26:22 -07:00
2019-05-16 19:44:58 +02:00
2020-06-29 20:08:00 -04:00