[Skiboot] [PATCH v2 01/16] core/test/run-trace: Fix type in testing struct
Jordan Niethe
jniethe5 at gmail.com
Tue Apr 2 10:43: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.
Signed-off-by: Jordan Niethe <jniethe5 at gmail.com>
---
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