diff options
author | Zou Wei <[email protected]> | 2020-04-15 12:15:01 +0800 |
---|---|---|
committer | Kees Cook <[email protected]> | 2020-09-08 16:26:45 -0700 |
commit | a23042882ff29ae2df04f46ac0d4c50f66e7e497 (patch) | |
tree | 1651c0bb38233d1a5411df139e1e1baf99cad481 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 2d9ca267a944c2b6ed5b4d750b1cf0407b6262b4 (diff) |
selftests/seccomp: Use bitwise instead of arithmetic operator for flags
This silences the following coccinelle warning:
"WARNING: sum of probable bitmasks, consider |"
tools/testing/selftests/seccomp/seccomp_bpf.c:3131:17-18: WARNING: sum of probable bitmasks, consider |
tools/testing/selftests/seccomp/seccomp_bpf.c:3133:18-19: WARNING: sum of probable bitmasks, consider |
tools/testing/selftests/seccomp/seccomp_bpf.c:3134:18-19: WARNING: sum of probable bitmasks, consider |
tools/testing/selftests/seccomp/seccomp_bpf.c:3135:18-19: WARNING: sum of probable bitmasks, consider |
Fixes: 6a21cc50f0c7 ("seccomp: add a return code to trap to userspace")
Reported-by: Hulk Robot <[email protected]>
Signed-off-by: Zou Wei <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Kees Cook <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions