summaryrefslogtreecommitdiff
path: root/kernel/crash_dump_dm_crypt.c
diff options
context:
space:
mode:
authorJosh Law <objecting@objecting.org>2026-03-01 20:38:45 +0000
committerAndrew Morton <akpm@linux-foundation.org>2026-03-27 21:19:38 -0700
commit90c73d0bfa36ea80f3a55f5426daa46fa2795957 (patch)
tree90809897364b5a5fcdaef0d245c931220a24be89 /kernel/crash_dump_dm_crypt.c
parent33a3dd9bfd410044225aa9f812102055d0e21d59 (diff)
lib/glob: clean up "bool abuse" in pointer arithmetic
Replace the implicit 'bool' to 'int' conversion with an explicit ternary operator. This makes the pointer arithmetic clearer and avoids relying on boolean memory representation for logic flow. Link: https://lkml.kernel.org/r/20260301203845.2617217-1-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 'kernel/crash_dump_dm_crypt.c')
0 files changed, 0 insertions, 0 deletions