Skip to contentSkip to conversation

Fix compilation error in sadump_info.h

PATCH In review Suzuki K. Poulose 3 participants 3 messages Jan 13, 2012 – Feb 20, 2012

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

PATCH 1/1 Fix compilation error in sadump_info.h

While compiling the makedumpfile-1.4.1 I got the following error :

In file included from makedumpfile.c:21:
sadump_info.h:86: error: expected identifier or ‘(’ before ‘{’ token

This patch fixes the compilation error in sadump_info.h

---

 sadump_info.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sadump_info.h +1 -1
index 1f74ee5..c4824be 100644
@@ -82,7 +82,7 @@ static inline int sadump_initialize_bitmap_memory(void)
 	return FALSE;
 }
 
-static inline int sadump_num_online_cpus(void);
+static inline int sadump_num_online_cpus(void)
 {
 	return 0;
 }

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

#1 lore raw

Hi Poulose,

Quoted 1 line · Suzuki K. Poulose

While compiling the makedumpfile-1.4.1 I got the following error :

Thank you for the fix.
I got the same report from Michael Holzheu.

<http://lists.infradead.org/pipermail/kexec/2012-January/005940.html>

Thanks.
tachibana

Quoted 19 lines

In file included from makedumpfile.c:21:
sadump_info.h:86: error: expected identifier or ‘(’ before ‘{’ token

This patch fixes the compilation error in sadump_info.h

---

 sadump_info.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sadump_info.h +0 -0
index 1f74ee5..c4824be 100644

sadump_info.h static inline int sadump_initialize_bitmap_memory(void) · line 88

Quoted 8 lines
sadump_info.h +1 -1
@@ -82,7 +82,7 @@ static inline int sadump_initialize_bitmap_memory(void)
 	return FALSE;
 }
 
-static inline int sadump_num_online_cpus(void);
+static inline int sadump_num_online_cpus(void)
 {
 	return 0;
 }

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

#2 lore raw
In reply to Suzuki K. Poulose

From: "Suzuki K. Poulose" <[email protected]>
Subject: [PATCH][makedumpfile] Fix compilation error in sadump_info.h
Date: Fri, 13 Jan 2012 12:27:50 +0530

Quoted 9 lines

While compiling the makedumpfile-1.4.1 I got the following error :

In file included from makedumpfile.c:21:
sadump_info.h:86: error: expected identifier or ‘(’ before ‘{’ token

This patch fixes the compilation error in sadump_info.h

Oh, I didn't notice this commit... Thanks for fixing.

Thanks.
HATAYAMA, Daisuke

Quoted 20 lines

---

 sadump_info.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
sadump_info.h +1 -1
index 1f74ee5..c4824be 100644
@@ -82,7 +82,7 @@ static inline int sadump_initialize_bitmap_memory(void)
 	return FALSE;
 }
 
-static inline int sadump_num_online_cpus(void);
+static inline int sadump_num_online_cpus(void)
 {
 	return 0;
 }
Quoted 4 lines

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

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