Skip to contentSkip to conversation

kexec/s390: cleanup: Fix a mistaken comment

PATCH Applied Zhang Yanfei 2 participants 5 messages May 25, 2013

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 kexec/s390: cleanup: Fix a mistaken comment

From: Zhang Yanfei <[email protected]>

When borrowing codes from ia64 architecture, this comment was forgotten to be change. So fix it.

---
 kexec/arch/s390/kexec-s390.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kexec/arch/s390/kexec-s390.h +1 -1
index ee62888..ef53b11 100644
@@ -34,4 +34,4 @@ extern int get_memory_ranges_s390(struct memory_range range[], int *ranges,
 				  int with_crashk);
 extern int command_line_add(const char *str);
 
-#endif /* KEXEC_IA64_H */
+#endif /* KEXEC_S390_H */
Signature · 6 lines
1.7.1

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
#1 lore raw

PATCH 2/2 kexec/s390: cleanup: Remove non-existent header file include

From: Zhang Yanfei <[email protected]>

There is no elf.h in this directory, so remove the useless include.

---
 kexec/arch/s390/kexec-image.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
kexec/arch/s390/kexec-image.c +0 -1
index d3af800..e49b75b 100644
@@ -21,7 +21,6 @@
 #include "../../kexec-syscall.h"
 #include "../../kexec/crashdump.h"
 #include "kexec-s390.h"
-#include "elf.h"
 #include <arch/options.h>
 
 static uint64_t crash_base, crash_end;
Signature · 7 lines
1.7.1


_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec
Reviewed-by on v1 1/2
#3 lore raw
In reply to Zhang Yanfei
Quoted 6 lines · Zhang Yanfei

From: Zhang Yanfei <[email protected]>

When borrowing codes from ia64 architecture, this comment was forgotten to be change. So fix it.

Quoted 17 lines
---
 kexec/arch/s390/kexec-s390.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kexec/arch/s390/kexec-s390.h +1 -1
index ee62888..ef53b11 100644
@@ -34,4 +34,4 @@ extern int get_memory_ranges_s390(struct memory_range range[], int *ranges,
 				  int with_crashk);
 extern int command_line_add(const char *str);
 
-#endif /* KEXEC_IA64_H */
+#endif /* KEXEC_S390_H */
Signature · 1 line
1.7.1

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec

#4 lore raw
Quoted 9 lines · Simon Horman
Quoted 6 lines · Zhang Yanfei

From: Zhang Yanfei <[email protected]>

When borrowing codes from ia64 architecture, this comment was forgotten to be change. So fix it.

For some reason I thought this was a kernel patch. As it is for kexec-tools I have applied it.

Thanks

_______________________________________________
kexec mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/kexec