]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
x86/boot/e820: Remove inverted boolean logic from the e820_nomerge() function name...
authorIngo Molnar <mingo@kernel.org>
Thu, 15 May 2025 12:05:17 +0000 (14:05 +0200)
committerIngo Molnar <mingo@kernel.org>
Sun, 14 Dec 2025 08:19:36 +0000 (09:19 +0100)
commitdb0d69c5700ba4749217b83b475606d864d46226
tree75075d99b528d8b23df6d09c2fef32e1fb436dba
parentadbf61cc47cb72b102682e690ad323e1eda652c2
x86/boot/e820: Remove inverted boolean logic from the e820_nomerge() function name, rename it to e820_type_mergeable()

It's a bad practice to put inverted logic into function names,
flip it back and rename it to e820_type_mergeable().

Add/update a few comments about this function while at it.

Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Nikolay Borisov <nik.borisov@suse.com>
Link: https://patch.msgid.link/20250515120549.2820541-2-mingo@kernel.org
arch/x86/kernel/e820.c