crash_dump-remove-redundant-less-than-zero-check.patch removed from -mm tree
The quilt patch titled
Subject: crash_dump: remove redundant less-than-zero check
has been removed from the -mm tree. Its filename was
crash_dump-remove-redundant-less-than-zero-check.patch
This patch was dropped because it was merged into the mm-nonmm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: Thorsten Blum <[email protected]>
Subject: crash_dump: remove redundant less-than-zero check
Date: Sat, 28 Feb 2026 09:51:36 +0100
'key_count' is an 'unsigned int' and cannot be less than zero. Remove the redundant condition.
Signed-off-by Thorsten Blum <[email protected]>
Cc Baoquan He <[email protected]>
Cc Dave Young <[email protected]>
Cc Vivek Goyal <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
kernel/crash_dump_dm_crypt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
kernel/crash_dump_dm_crypt.c renamed from kernel/crash_dump_dm_crypt.c~crash_dump-remove-redundant-less-than-zero-check +1 -1
@@ -115,7 +115,7 @@ static int restore_dm_crypt_keys_to_thre addr = dm_crypt_keys_addr;dm_crypt_keys_read ((char *)&key_count,sizeof (key_count), &addr); -if (key_count <0 || key_count >KEY_NUM_MAX ) { +if (key_count >KEY_NUM_MAX ) {kexec_dprintk ("Failed to read the number of dm-crypt keys\n" );return -1 ; }
_
Patches currently in -mm which might be from [email protected] are