diff options
author | Zou Wei <zou_wei@huawei.com> | 2020-04-15 12:15:01 +0800 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 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 <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Link: https://lore.kernel.org/r/1586924101-65940-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions