diff options
| author | Yang Li <yang.lee@linux.alibaba.com> | 2021-02-20 11:57:35 +0300 |
|---|---|---|
| committer | Michael Ellerman <mpe@ellerman.id.au> | 2022-05-02 16:02:15 +0300 |
| commit | 9923a6dace1682518efe4aa872cc317fa43c2a55 (patch) | |
| tree | f3cbf0a93368e1206bbcb6cc7918337b5b7eb4c9 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 22f8e625ebabd7ed3185b82b44b4f12fc0402113 (diff) | |
| download | linux-9923a6dace1682518efe4aa872cc317fa43c2a55.tar.xz | |
powerpc/sstep: Use bitwise instead of arithmetic operator for flags
Fix the following coccinelle warnings:
./arch/powerpc/lib/sstep.c:1090:20-21: WARNING: sum of probable
bitmasks, consider |
./arch/powerpc/lib/sstep.c:1115:20-21: WARNING: sum of probable
bitmasks, consider |
./arch/powerpc/lib/sstep.c:1134:20-21: WARNING: sum of probable
bitmasks, consider |
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/1613811455-2457-1-git-send-email-yang.lee@linux.alibaba.com
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
