aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/futex-contention.py
diff options
context:
space:
mode:
authorMikko Perttunen <[email protected]>2018-07-11 08:21:04 +0000
committerStephen Boyd <[email protected]>2018-07-25 16:29:12 +0000
commit365f7a89c881e84f1ebc925f65f899d5d7ce547e (patch)
treeedfa2054bf9004cca73a8d39df895fdb32247ea4 /tools/perf/scripts/python/futex-contention.py
parentLinux 4.18-rc1 (diff)
downloadkernel-365f7a89c881e84f1ebc925f65f899d5d7ce547e.tar.gz
kernel-365f7a89c881e84f1ebc925f65f899d5d7ce547e.zip
clk: core: Potentially free connection id
Patch "clk: core: Copy connection id" made it so that the connector id 'con_id' is kstrdup_const()ed to cater to drivers that pass non-constant connection ids. The patch added the corresponding kfree_const to __clk_free_clk(), but struct clk's can be freed also via __clk_put(). Add the kfree_const call to __clk_put() and add comments to both functions to remind that the logic in them should be kept in sync. Fixes: 253160a8ad06 ("clk: core: Copy connection id") Signed-off-by: Mikko Perttunen <[email protected]> Reviewed-by: Leonard Crestez <[email protected]> Signed-off-by: Stephen Boyd <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions