[Skiboot] [PATCH 02/15] core/test/run-trace: Fix type in testing struct
Jordan Niethe
jniethe5 at gmail.com
Mon Mar 25 11:14:12 AEDT 2019
A mock cpu thread structure is used for testing the skiboot trace
buffers. This contains the parts of the actual structure that are needed
for the tests. Within the mock structure the type used for servo_no is
different from the real structure. Change the type so it is consistent.
---
core/test/run-trace.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/test/run-trace.c b/core/test/run-trace.c
index dd4cd450002c..ef7ebfe12655 100644
--- a/core/test/run-trace.c
+++ b/core/test/run-trace.c
@@ -55,7 +55,7 @@ struct cpu_thread {
uint32_t pir;
uint32_t chip_id;
struct trace_info *trace;
- int server_no;
+ uint32_t server_no;
bool is_secondary;
struct cpu_thread *primary;
};
--
2.20.1
More information about the Skiboot
mailing list