]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
kernel/crash: remove inclusion of crypto/sha1.h
authorEric Biggers <ebiggers@kernel.org>
Sat, 14 Mar 2026 20:42:43 +0000 (13:42 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 28 Mar 2026 04:19:46 +0000 (21:19 -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.

Link: https://lkml.kernel.org/r/20260314204243.45001-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Cc: Baoquan He <bhe@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/crash_core.c
kernel/crash_reserve.c
kernel/vmcore_info.c

index 2c1a3791e41014034c90033d33041da7774871db..4f21fc3b108b831405653be3439d0152e70dc579 100644 (file)
@@ -27,8 +27,6 @@
 #include <asm/page.h>
 #include <asm/sections.h>
 
-#include <crypto/sha1.h>
-
 #include "kallsyms_internal.h"
 #include "kexec_internal.h"
 
index 62e60e0223cff2a88aa4467ca4497ee30162d790..eee37a11380cec82a4a8dcb2f262ea8b032fe2f8 100644 (file)
@@ -20,8 +20,6 @@
 #include <asm/page.h>
 #include <asm/sections.h>
 
-#include <crypto/sha1.h>
-
 #include "kallsyms_internal.h"
 #include "kexec_internal.h"
 
index 8d82913223a1397f02516238803c993b276753d8..36772126385ce71d10b2f29d926c42723be79086 100644 (file)
@@ -18,8 +18,6 @@
 #include <asm/page.h>
 #include <asm/sections.h>
 
-#include <crypto/sha1.h>
-
 #include "kallsyms_internal.h"
 #include "kexec_internal.h"