* [PATCH] x86/boot/compressed: Remove unused header includes from kaslr.c
@ 2024-11-30 12:26 Borislav Petkov (AMD)
2024-12-02 16:58 ` [tip: x86/cleanups] " tip-bot2 for Borislav Petkov (AMD)
0 siblings, 1 reply; 2+ messages in thread
From: Borislav Petkov (AMD) @ 2024-11-30 12:26 UTC (permalink / raw)
To: x86-ml; +Cc: lkml
Nothing is using the linux/ namespace headers anymore. Remove them.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
---
I'm really surprised how nothing really needs those includes anymore - at
least my couple of 100 randbuilds all pass.
arch/x86/boot/compressed/kaslr.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c
index f4d82379bf44..f03d59ea6e40 100644
--- a/arch/x86/boot/compressed/kaslr.c
+++ b/arch/x86/boot/compressed/kaslr.c
@@ -25,10 +25,6 @@
#include "efi.h"
#include <generated/compile.h>
-#include <linux/module.h>
-#include <linux/uts.h>
-#include <linux/utsname.h>
-#include <linux/ctype.h>
#include <generated/utsversion.h>
#include <generated/utsrelease.h>
--
2.43.0
--
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquette
^ permalink raw reply [flat|nested] 2+ messages in thread
* [tip: x86/cleanups] x86/boot/compressed: Remove unused header includes from kaslr.c
2024-11-30 12:26 [PATCH] x86/boot/compressed: Remove unused header includes from kaslr.c Borislav Petkov (AMD)
@ 2024-12-02 16:58 ` tip-bot2 for Borislav Petkov (AMD)
0 siblings, 0 replies; 2+ messages in thread
From: tip-bot2 for Borislav Petkov (AMD) @ 2024-12-02 16:58 UTC (permalink / raw)
To: linux-tip-commits; +Cc: Borislav Petkov (AMD), x86, linux-kernel
The following commit has been merged into the x86/cleanups branch of tip:
Commit-ID: 5daececd4ff533ab316ab360aba0bda1bf01961d
Gitweb: https://git.kernel.org/tip/5daececd4ff533ab316ab360aba0bda1bf01961d
Author: Borislav Petkov (AMD) <bp@alien8.de>
AuthorDate: Sat, 30 Nov 2024 13:26:44 +01:00
Committer: Borislav Petkov (AMD) <bp@alien8.de>
CommitterDate: Mon, 02 Dec 2024 16:44:32 +01:00
x86/boot/compressed: Remove unused header includes from kaslr.c
Nothing is using the linux/ namespace headers anymore. Remove them.
Signed-off-by: Borislav Petkov (AMD) <bp@alien8.de>
Link: https://lore.kernel.org/r/20241130122644.GAZ0sEhD3Bm_9ZAIuc@fat_crate.local
---
arch/x86/boot/compressed/kaslr.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/arch/x86/boot/compressed/kaslr.c b/arch/x86/boot/compressed/kaslr.c
index f4d8237..f03d59e 100644
--- a/arch/x86/boot/compressed/kaslr.c
+++ b/arch/x86/boot/compressed/kaslr.c
@@ -25,10 +25,6 @@
#include "efi.h"
#include <generated/compile.h>
-#include <linux/module.h>
-#include <linux/uts.h>
-#include <linux/utsname.h>
-#include <linux/ctype.h>
#include <generated/utsversion.h>
#include <generated/utsrelease.h>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2024-12-02 16:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-11-30 12:26 [PATCH] x86/boot/compressed: Remove unused header includes from kaslr.c Borislav Petkov (AMD)
2024-12-02 16:58 ` [tip: x86/cleanups] " tip-bot2 for Borislav Petkov (AMD)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®