* [PATCH] x86, hibernate: Remove inclusion of crypto/hash.h
@ 2026-03-14 20:12 Eric Biggers
2026-03-19 15:15 ` Rafael J. Wysocki
0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2026-03-14 20:12 UTC (permalink / raw)
To: Rafael J . Wysocki, linux-pm
Cc: Pavel Machek, x86, linux-kernel, Eric Biggers
hibernate_64.c does not do any cryptographic hashing, so the header
crypto/hash.h is not needed at all.
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
---
arch/x86/power/hibernate_64.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c
index a595953f1d6d8..e72d26acae797 100644
--- a/arch/x86/power/hibernate_64.c
+++ b/arch/x86/power/hibernate_64.c
@@ -12,12 +12,10 @@
#include <linux/suspend.h>
#include <linux/scatterlist.h>
#include <linux/kdebug.h>
#include <linux/pgtable.h>
-#include <crypto/hash.h>
-
#include <asm/e820/api.h>
#include <asm/init.h>
#include <asm/proto.h>
#include <asm/page.h>
#include <asm/mtrr.h>
base-commit: 1c9982b4961334c1edb0745a04cabd34bc2de675
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] x86, hibernate: Remove inclusion of crypto/hash.h
2026-03-14 20:12 [PATCH] x86, hibernate: Remove inclusion of crypto/hash.h Eric Biggers
@ 2026-03-19 15:15 ` Rafael J. Wysocki
0 siblings, 0 replies; 2+ messages in thread
From: Rafael J. Wysocki @ 2026-03-19 15:15 UTC (permalink / raw)
To: Eric Biggers
Cc: Rafael J . Wysocki, linux-pm, Pavel Machek, x86, linux-kernel
On Sat, Mar 14, 2026 at 9:15 PM Eric Biggers <ebiggers@kernel.org> wrote:
>
> hibernate_64.c does not do any cryptographic hashing, so the header
> crypto/hash.h is not needed at all.
>
> Signed-off-by: Eric Biggers <ebiggers@kernel.org>
> ---
> arch/x86/power/hibernate_64.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/arch/x86/power/hibernate_64.c b/arch/x86/power/hibernate_64.c
> index a595953f1d6d8..e72d26acae797 100644
> --- a/arch/x86/power/hibernate_64.c
> +++ b/arch/x86/power/hibernate_64.c
> @@ -12,12 +12,10 @@
> #include <linux/suspend.h>
> #include <linux/scatterlist.h>
> #include <linux/kdebug.h>
> #include <linux/pgtable.h>
>
> -#include <crypto/hash.h>
> -
> #include <asm/e820/api.h>
> #include <asm/init.h>
> #include <asm/proto.h>
> #include <asm/page.h>
> #include <asm/mtrr.h>
>
> base-commit: 1c9982b4961334c1edb0745a04cabd34bc2de675
> --
Applied as 7.1 material, thanks!
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-19 15:16 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 20:12 [PATCH] x86, hibernate: Remove inclusion of crypto/hash.h Eric Biggers
2026-03-19 15:15 ` Rafael J. Wysocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox