diff options
author | Catalin Marinas <[email protected]> | 2024-11-08 13:49:18 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2024-11-11 22:45:36 +0000 |
commit | 0cc6b94a445c53ab152554b4cf60575e1396adf6 (patch) | |
tree | 827ae7cc0678378765a8a70fa7e423281d1d0d4f /tools/perf/scripts/python/failed-syscalls-by-pid.py | |
parent | b6bd50dd3b564d50b8cd748de6bae58804ecb768 (diff) |
kselftest/arm64: Fix printf() warning in the arm64 MTE prctl() test
While prctl() returns an 'int', the PR_MTE_TCF_MASK is defined as
unsigned long which results in the larger type following a bitwise 'and'
operation. Cast the printf() argument to 'int'.
Cc: Shuah Khan <[email protected]>
Cc: Mark Brown <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Catalin Marinas <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/failed-syscalls-by-pid.py')
0 files changed, 0 insertions, 0 deletions