Skip to contentSkip to conversation

kernel-crash-remove-inclusion-of-crypto-sha1h.patch removed from -mm tree

merged mm-nonmm-stable Andrew Morton 1 participant 1 message Mar 28

lore
Share & tools
lore

Andrew Morton

author tree notice Applied
#0 lore raw

The quilt patch titled
Subject: kernel/crash: remove inclusion of crypto/sha1.h
has been removed from the -mm tree. Its filename was
kernel-crash-remove-inclusion-of-crypto-sha1h.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: Eric Biggers <[email protected]>
Subject: kernel/crash: remove inclusion of crypto/sha1.h
Date: Sat, 14 Mar 2026 13:42:43 -0700

Several files related to kernel crash dumps include crypto/sha1.h but never use any of its functionality. Remove these includes so that these files don't unnecessarily come up in searches for which kernel code is still using the obsolete SHA-1 algorithm.

---

 kernel/crash_core.c    |    2 --
 kernel/crash_reserve.c |    2 --
 kernel/vmcore_info.c   |    2 --
 3 files changed, 6 deletions(-)
kernel/crash_core.c renamed from kernel/crash_core.c~kernel-crash-remove-inclusion-of-crypto-sha1h +0 -2
@@ -27,8 +27,6 @@
 #include <asm/page.h>
 #include <asm/sections.h>
 
-#include <crypto/sha1.h>
-
 #include "kallsyms_internal.h"
 #include "kexec_internal.h"
 
kernel/crash_reserve.c renamed from kernel/crash_reserve.c~kernel-crash-remove-inclusion-of-crypto-sha1h +0 -2
@@ -20,8 +20,6 @@
 #include <asm/page.h>
 #include <asm/sections.h>
 
-#include <crypto/sha1.h>
-
 #include "kallsyms_internal.h"
 #include "kexec_internal.h"
 
kernel/vmcore_info.c renamed from kernel/vmcore_info.c~kernel-crash-remove-inclusion-of-crypto-sha1h +0 -2
@@ -18,8 +18,6 @@
 #include <asm/page.h>
 #include <asm/sections.h>
 
-#include <crypto/sha1.h>
-
 #include "kallsyms_internal.h"
 #include "kexec_internal.h"
 

_

Patches currently in -mm which might be from [email protected] are