Files
twx-linux/drivers
Pan Bian 413d35ed7e usb: dwc3: keystone: check return value
[ Upstream commit 018047a1db ]

Function devm_clk_get() returns an ERR_PTR when it fails. However, in
function kdwc3_probe(), its return value is not checked, which may
result in a bad memory access bug. This patch fixes the bug.

Signed-off-by: Pan Bian <bianpan2016@163.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-13 19:50:06 +02:00
..
…
2017-12-16 10:33:55 +01:00
…
…
…
…
…
…
2018-03-22 09:23:27 +01:00
2018-02-25 11:03:46 +01:00
2018-03-24 10:58:41 +01:00
…
2018-02-25 11:03:51 +01:00
2018-04-13 19:50:01 +02:00
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…
…