Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

kernel/crash: remove inclusion of crypto/sha1.h

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>

authored by

Eric Biggers and committed by
Andrew Morton
231bb8c1 8b140131

-6
-2
kernel/crash_core.c
··· 27 27 #include <asm/page.h> 28 28 #include <asm/sections.h> 29 29 30 - #include <crypto/sha1.h> 31 - 32 30 #include "kallsyms_internal.h" 33 31 #include "kexec_internal.h" 34 32
-2
kernel/crash_reserve.c
··· 20 20 #include <asm/page.h> 21 21 #include <asm/sections.h> 22 22 23 - #include <crypto/sha1.h> 24 - 25 23 #include "kallsyms_internal.h" 26 24 #include "kexec_internal.h" 27 25
-2
kernel/vmcore_info.c
··· 18 18 #include <asm/page.h> 19 19 #include <asm/sections.h> 20 20 21 - #include <crypto/sha1.h> 22 - 23 21 #include "kallsyms_internal.h" 24 22 #include "kexec_internal.h" 25 23