summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJosh Law <objecting@objecting.org>2026-03-01 18:21:42 +0300
committerAndrew Morton <akpm@linux-foundation.org>2026-03-28 07:19:37 +0300
commit33a3dd9bfd410044225aa9f812102055d0e21d59 (patch)
tree214129a146a7d40b7cd8006d271647e011a70914 /scripts
parentf5e74cbdbea32e3bf0bcd8d32e7ac8c90518e359 (diff)
downloadlinux-33a3dd9bfd410044225aa9f812102055d0e21d59.tar.xz
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 'scripts')
0 files changed, 0 insertions, 0 deletions