diff options
author | 2023-01-05 14:11:23 +0800 | |
---|---|---|
committer | 2023-01-26 07:55:53 +0800 | |
commit | ebeb49f43c8952f12aa20f03f00d7009edc2d1c5 (patch) | |
tree | 58230d27e01588cc3f61acd37d768787fac89035 /tools/perf/scripts/python | |
parent | Linux 6.2-rc1 (diff) | |
download | wireguard-linux-ebeb49f43c8952f12aa20f03f00d7009edc2d1c5.tar.xz wireguard-linux-ebeb49f43c8952f12aa20f03f00d7009edc2d1c5.zip |
ARM: imx: Call ida_simple_remove() for ida_simple_get
The function call ida_simple_get maybe fail,we should deal with it.
And if ida_simple_get success ,it need to call ida_simple_remove also.
BTW,devm_kasprintf can handle id is zero for consistency.
Fixes: e76bdfd7403a ("ARM: imx: Added perf functionality to mmdc driver")
Signed-off-by: Angus Chen <angus.chen@jaguarmicro.com>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions