aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorTianyi Jing <[email protected]>2023-03-18 14:38:51 +0000
committerGuenter Roeck <[email protected]>2023-03-21 14:50:24 +0000
commit813cc94c7847ae4a17e9f744fb4dbdf7df6bd732 (patch)
treef6d6f87f21770dac9a58aad6b9523ce0d1970de2 /tools/perf/scripts/python/syscall-counts-by-pid.py
parenthwmon: fix potential sensor registration fail if of_node is missing (diff)
downloadkernel-813cc94c7847ae4a17e9f744fb4dbdf7df6bd732.tar.gz
kernel-813cc94c7847ae4a17e9f744fb4dbdf7df6bd732.zip
hwmon: (xgene) Fix ioremap and memremap leak
Smatch reports: drivers/hwmon/xgene-hwmon.c:757 xgene_hwmon_probe() warn: 'ctx->pcc_comm_addr' from ioremap() not released on line: 757. This is because in drivers/hwmon/xgene-hwmon.c:701 xgene_hwmon_probe(), ioremap and memremap is not released, which may cause a leak. To fix this, ioremap and memremap is modified to devm_ioremap and devm_memremap. Signed-off-by: Tianyi Jing <[email protected]> Reviewed-by: Dongliang Mu <[email protected]> Link: https://lore.kernel.org/r/[email protected] [groeck: Fixed formatting and subject] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions