summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJosh Law <objecting@objecting.org>2026-03-01 15:21:42 +0000
committerAndrew Morton <akpm@linux-foundation.org>2026-03-27 21:19:37 -0700
commit33a3dd9bfd410044225aa9f812102055d0e21d59 (patch)
tree214129a146a7d40b7cd8006d271647e011a70914 /tools/perf/scripts/python
parentf5e74cbdbea32e3bf0bcd8d32e7ac8c90518e359 (diff)
lib: glob: replace bitwise OR with logical operation on boolean
Using bitwise OR (|=) on a boolean variable is valid C, but replacing it with a direct logical assignment makes the intent clearer and appeases strict static analysis tools. Link: https://lkml.kernel.org/r/20260301152143.2572137-2-objecting@objecting.org Signed-off-by: Josh Law <objecting@objecting.org> Reviewed-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions