All of lore.kernel.org
 help / color / mirror / Atom feed
* + kernel-kexec-remove-inclusion-of-crypto-hashh.patch added to mm-nonmm-unstable branch
@ 2026-03-14 22:11 Andrew Morton
  0 siblings, 0 replies; only message in thread
From: Andrew Morton @ 2026-03-14 22:11 UTC (permalink / raw)
  To: mm-commits, bhe, ebiggers, akpm


The patch titled
     Subject: kernel/kexec: remove inclusion of crypto/hash.h
has been added to the -mm mm-nonmm-unstable branch.  Its filename is
     kernel-kexec-remove-inclusion-of-crypto-hashh.patch

This patch will shortly appear at
     https://git.kernel.org/pub/scm/linux/kernel/git/akpm/25-new.git/tree/patches/kernel-kexec-remove-inclusion-of-crypto-hashh.patch

This patch will later appear in the mm-nonmm-unstable branch at
    git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next via various
branches at git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
and is updated there most days

------------------------------------------------------
From: Eric Biggers <ebiggers@kernel.org>
Subject: kernel/kexec: remove inclusion of crypto/hash.h
Date: Sat, 14 Mar 2026 13:41:44 -0700

kexec_core.c does not do any cryptographic hashing, so the header
crypto/hash.h is not needed at all.

Link: https://lkml.kernel.org/r/20260314204144.44884-1-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Cc: Baoquan He <bhe@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---

 kernel/kexec_core.c |    1 -
 1 file changed, 1 deletion(-)

--- a/kernel/kexec_core.c~kernel-kexec-remove-inclusion-of-crypto-hashh
+++ a/kernel/kexec_core.c
@@ -47,7 +47,6 @@
 #include <asm/page.h>
 #include <asm/sections.h>
 
-#include <crypto/hash.h>
 #include "kexec_internal.h"
 
 atomic_t __kexec_lock = ATOMIC_INIT(0);
_

Patches currently in -mm which might be from ebiggers@kernel.org are

kernel-crash-remove-inclusion-of-crypto-sha1h.patch
kernel-kexec-remove-inclusion-of-crypto-hashh.patch


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2026-03-14 22:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 22:11 + kernel-kexec-remove-inclusion-of-crypto-hashh.patch added to mm-nonmm-unstable branch Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.