diff options
| author | Jiri Slaby <[email protected]> | 2020-06-10 11:48:51 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2020-06-15 09:16:27 +0000 |
| commit | 8e742aa79780b13cd300a42198c1a4cea9c89905 (patch) | |
| tree | 086ba20ee898665af7953725eb2316ddd482bc62 /tools/perf/scripts/python/futex-contention.py | |
| parent | x86/resctrl: Fix memory bandwidth counter width for AMD (diff) | |
| download | kernel-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/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
