diff options
author | Andre Przywara <[email protected]> | 2021-03-19 16:53:33 +0000 |
---|---|---|
committer | Catalin Marinas <[email protected]> | 2021-03-24 15:43:20 +0000 |
commit | b4e1fa2290691fda4392ac479115ee3b04a7534c (patch) | |
tree | f8939356eac95d4113cd9717861e5440d8a4ee0a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9466ecac84a462fc91d192f0f9be0afd8e4f19f9 (diff) |
kselftest/arm64: mte: Fix clang warning
if (!prctl(...) == 0) is not only cumbersome to read, it also upsets
clang and triggers a warning:
------------
mte_common_util.c:287:6: warning: logical not is only applied to the
left hand side of this comparison [-Wlogical-not-parentheses]
....
Fix that by just comparing against "not 0" instead.
Signed-off-by: Andre Przywara <[email protected]>
Reviewed-by: 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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions