aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorZijun Hu <quic_zijuhu@quicinc.com>2024-07-27 16:34:01 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-31 14:55:49 +0200
commitbfa54a793ba77ef696755b66f3ac4ed00c7d1248 (patch)
treecbbb1732b884220a22278ef6ce3d4b7fdd7a6002 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent2bdf3b83515ead3b3fdf93610e4a3bb9a89bc852 (diff)
driver core: bus: Fix double free in driver API bus_register()
For bus_register(), any error which happens after kset_register() will cause that @priv are freed twice, fixed by setting @priv with NULL after the first free. Signed-off-by: Zijun Hu <quic_zijuhu@quicinc.com> Link: https://lore.kernel.org/r/20240727-bus_register_fix-v1-1-fed8dd0dba7a@quicinc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions