Skip to contentSkip to conversation

xenalyze: fix compilation

PATCH In review Roger Pau Monne 3 participants 3 messages Oct 23, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 xenalyze: fix compilation

Recent changes in xenalyze introduced INT_MIN without also adding the required header, fix this by adding the header.

---
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Julien Grall <[email protected]>
---
This should be accepted for 4.10 because it's a build bug fix, with no functional change at all.

---
 tools/xentrace/xenalyze.c | 1 +
 1 file changed, 1 insertion(+)
tools/xentrace/xenalyze.c +1 -0
index 79bdba7fed..5768b54f86 100644
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <argp.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/stat.h>
Signature · 7 lines
2.13.5 (Apple Git-94)


_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel
Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Roger Pau Monne

Recent changes in xenalyze introduced INT_MIN without also adding the required header, fix this by adding the header.

Quoted 18 lines

---
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Julien Grall <[email protected]>
---
This should be accepted for 4.10 because it's a build bug fix, with no functional change at all.

---
 tools/xentrace/xenalyze.c | 1 +
 1 file changed, 1 insertion(+)
tools/xentrace/xenalyze.c +0 -0
index 79bdba7fed..5768b54f86 100644

tools/xentrace/xenalyze.c line 29

Quoted 7 lines
tools/xentrace/xenalyze.c +1 -0
@@ -23,6 +23,7 @@
 #include <stdlib.h>
 #include <argp.h>
 #include <inttypes.h>
+#include <limits.h>
 #include <sys/types.h>
 #include <sys/wait.h>
 #include <sys/stat.h>

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel

#2 lore raw

Hi,

Quoted 7 lines · George Dunlap
Quoted 4 lines · Roger Pau Monne

Recent changes in xenalyze introduced INT_MIN without also adding the required header, fix this by adding the header.

Cheers,

Quoted 27 lines
Quoted 26 lines

---
Cc: George Dunlap <[email protected]>
Cc: Ian Jackson <[email protected]>
Cc: Wei Liu <[email protected]>
Cc: Julien Grall <[email protected]>
---
This should be accepted for 4.10 because it's a build bug fix, with no functional change at all.

---
  tools/xentrace/xenalyze.c | 1 +
  1 file changed, 1 insertion(+)
tools/xentrace/xenalyze.c +1 -0
index 79bdba7fed..5768b54f86 100644
@@ -23,6 +23,7 @@
  #include <stdlib.h>
  #include <argp.h>
  #include <inttypes.h>
+#include <limits.h>
  #include <sys/types.h>
  #include <sys/wait.h>
  #include <sys/stat.h>
Signature · 6 lines
Julien Grall

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.xen.org/xen-devel