diff options
author | Pan Bian <bianpan2016@163.com> | 2017-04-23 13:55:13 +0800 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-05-16 14:11:04 +0300 |
commit | 018047a1dba7636e1f7fdae2cc290a528991d648 (patch) | |
tree | e4e4275636014062a31e542e81c7b1ac03fcf026 /scripts/gcc-plugins | |
parent | b7f73850bb4fac1e2209a4dd5e636d39be92f42c (diff) |
usb: dwc3: keystone: check return value
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>
Diffstat (limited to 'scripts/gcc-plugins')
0 files changed, 0 insertions, 0 deletions