diff options
| author | Pan Bian <bianpan2016@163.com> | 2017-04-23 13:55:13 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-04-13 19:50:06 +0200 |
| commit | 413d35ed7e6582ef7d060befbdca1459cba29df0 (patch) | |
| tree | 750dfa495bc0883f8a958f4e44bd642ab040b16e /tools/perf/scripts/python/sctop.py | |
| parent | d353b9389846e1fdd027987cd61b5ffc956be3d1 (diff) | |
usb: dwc3: keystone: check return value
[ Upstream commit 018047a1dba7636e1f7fdae2cc290a528991d648 ]
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>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions
