summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorYunhui Cui <cuiyunhui@bytedance.com>2025-02-20 15:17:16 +0300
committerWill Deacon <will@kernel.org>2025-03-01 09:12:37 +0300
commit7f35b429802a8065aa61e2a3f567089649f4d98e (patch)
tree7007ef5bcafd19f7a249aa60169ffb996dccae7e /tools/perf/scripts/python/syscall-counts.py
parent6eb1e8ef586ac4a3dcdc20248f9cb45e4ceb141f (diff)
downloadlinux-7f35b429802a8065aa61e2a3f567089649f4d98e.tar.xz
perf/dwc_pcie: fix duplicate pci_dev devices
During platform_device_register, wrongly using struct device pci_dev as platform_data caused a kmemdup copy of pci_dev. Worse still, accessing the duplicated device leads to list corruption as its mutex content (e.g., list, magic) remains the same as the original. Signed-off-by: Yunhui Cui <cuiyunhui@bytedance.com> Reviewed-by: Shuai Xue <xueshuai@linux.alibaba.com> Link: https://lore.kernel.org/r/20250220121716.50324-3-cuiyunhui@bytedance.com Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions