diff options
author | Yang Yingliang <yangyingliang@huawei.com> | 2022-06-29 17:46:35 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-29 21:04:55 +0200 |
commit | 5812175389e258141c5e9f8eadc1ed226f67bc11 (patch) | |
tree | 8466e64cbed1aad4498c20a97c15b0d9d9962afc /tools/perf/scripts/python/stackcollapse.py | |
parent | 7441b273388b9a59d8387a03ffbbca9d5af6348c (diff) | |
download | linux-5812175389e258141c5e9f8eadc1ed226f67bc11.tar.gz linux-5812175389e258141c5e9f8eadc1ed226f67bc11.tar.bz2 linux-5812175389e258141c5e9f8eadc1ed226f67bc11.zip |
usb: dwc3-am62: remove unnecesary clk_put()
The clk get by devm_clk_get() will be released in devres_release_all(),
so there is no need explicitly call clk_put(), or it will cause UAF.
Fixes: e8784c0aec03 ("drivers: usb: dwc3: Add AM62 USB wrapper driver")
Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Yang Yingliang <yangyingliang@huawei.com>
Link: https://lore.kernel.org/r/20220629094635.3116961-1-yangyingliang@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions