Skip to contentSkip to conversation

Remove duplicate header file references

PATCH Superseded l00580197 2 participants 4 messages Dec 15, 2025 – Dec 16, 2025

Subsystems (3)
lore
Share & tools
lore

l00580197

author
#0 lore raw

PATCH 1/1 Remove duplicate header file references

From: Long Wei <[email protected]>

From: Long Wei <[email protected]>

kexec_handover_internal.h is included twice in kexec_handover.c. Remove the redundant first inclusion to eliminate the duplication.

---
 kernel/liveupdate/kexec_handover.c | 1 -
 1 file changed, 1 deletion(-)
kernel/liveupdate/kexec_handover.c +0 -1
index 9dc51fab604f..1962b6052840 100644
@@ -24,7 +24,6 @@
 
 #include <asm/early_ioremap.h>
 
-#include "kexec_handover_internal.h"
 /*
  * KHO is tightly coupled with mm init and needs access to some of mm
  * internal APIs.

--
2.43.0

author
#1 lore raw

PATCH v2 1/1 kho: Remove duplicate header file references

From: Long Wei <[email protected]>

Changes in v2:
- Fixed the malformed commit message header (removed duplicate 'From:' line).
- Added module prefix 'kho:' to the subject.

kexec_handover_internal.h is included twice in kexec_handover.c. Remove the redundant first inclusion to eliminate the duplication.

---
 kernel/liveupdate/kexec_handover.c | 1 -
 1 file changed, 1 deletion(-)
kernel/liveupdate/kexec_handover.c +0 -1
index 9dc51fab604f..1962b6052840 100644
@@ -24,7 +24,6 @@
 
 #include <asm/early_ioremap.h>
 
-#include "kexec_handover_internal.h"
 /*
  * KHO is tightly coupled with mm init and needs access to some of mm
  * internal APIs.

--
2.43.0

maintainer Reviewed-by on v2 1/1
#2 lore raw

Re: [PATCH v2] kho: Remove duplicate header file references

Quoted 6 lines · On Tue, Dec 16, 2025 at 1:45 AM l00580197 <[email protected]> wrote:

From: Long Wei <[email protected]>

Changes in v2:
- Fixed the malformed commit message header (removed duplicate 'From:' line).
- Added module prefix 'kho:' to the subject.

Please move changelog into stat section, so it does not appear part of the commit log.

Quoted 5 lines

kexec_handover_internal.h is included twice in kexec_handover.c. Remove the redundant first inclusion to eliminate the duplication.

With the above:

Quoted 18 lines
---
 kernel/liveupdate/kexec_handover.c | 1 -
 1 file changed, 1 deletion(-)
kernel/liveupdate/kexec_handover.c +0 -2
index 9dc51fab604f..1962b6052840 100644
@@ -24,7 +24,6 @@
 
 #include <asm/early_ioremap.h>
 
-#include "kexec_handover_internal.h"
 /*
  * KHO is tightly coupled with mm init and needs access to some of mm
  * internal APIs.
--

2.43.0

author
#3 lore raw

PATCH v3 1/1 kho: Remove duplicate header file references

In reply to l00580197

From: Long Wei <[email protected]>

kexec_handover_internal.h is included twice in kexec_handover.c. Remove the redundant first inclusion to eliminate the duplication.

---
Changes in v3:
- move changelog into stat section.

Changes in v2:
- Fixed the malformed commit message header (removed duplicate 'From:' line).
- Added module prefix 'kho:' to the subject.

 kernel/liveupdate/kexec_handover.c | 1 -
 1 file changed, 1 deletion(-)
kernel/liveupdate/kexec_handover.c +0 -1
index 9dc51fab604f..1962b6052840 100644
@@ -24,7 +24,6 @@
 
 #include <asm/early_ioremap.h>
 
-#include "kexec_handover_internal.h"
 /*
  * KHO is tightly coupled with mm init and needs access to some of mm
  * internal APIs.

--
2.43.0