aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2020-06-10 11:48:51 +0000
committerThomas Gleixner <[email protected]>2020-06-15 09:16:27 +0000
commit8e742aa79780b13cd300a42198c1a4cea9c89905 (patch)
tree086ba20ee898665af7953725eb2316ddd482bc62 /tools/perf/scripts/python/check-perf-trace.py
parentx86/resctrl: Fix memory bandwidth counter width for AMD (diff)
downloadkernel-8e742aa79780b13cd300a42198c1a4cea9c89905.tar.gz
kernel-8e742aa79780b13cd300a42198c1a4cea9c89905.zip
syscalls: Fix offset type of ksys_ftruncate()
After the commit below, truncate() on x86 32bit uses ksys_ftruncate(). But ksys_ftruncate() truncates the offset to unsigned long. Switch the type of offset to loff_t which is what do_sys_ftruncate() expects. Fixes: 121b32a58a3a (x86/entry/32: Use IA32-specific wrappers for syscalls taking 64-bit arguments) Signed-off-by: Jiri Slaby <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Reviewed-by: Brian Gerst <[email protected]> Cc: [email protected] Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions