include/xen: Use unsigned int instead of plain unsigned
authorMichal Orzel <michal.orzel@arm.com>
Tue, 28 Jun 2022 15:23:46 +0000 (17:23 +0200)
committerJan Beulich <jbeulich@suse.com>
Tue, 28 Jun 2022 15:23:46 +0000 (17:23 +0200)
This is just for the style and consistency reasons as the former is
being used more often than the latter.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/include/xen/perfc.h
xen/include/xen/sched.h

index bb010b0aae93264683ac8ad4b95503c4f480cba9..7c5ce537bd0221e302079eb8f7dfd6e78435ecb9 100644 (file)
@@ -49,7 +49,7 @@ enum perfcounter {
 #undef PERFSTATUS
 #undef PERFSTATUS_ARRAY
 
-typedef unsigned perfc_t;
+typedef unsigned int perfc_t;
 #define PRIperfc ""
 
 DECLARE_PER_CPU(perfc_t[NUM_PERFCOUNTERS], perfcounters);
index 463d41ffb623f7ce6c04b073642578698f2566b5..b9515eb497deef3e5830680d3b6a4a823b876c2e 100644 (file)
@@ -519,7 +519,7 @@ struct domain
     /* hvm_print_line() and guest_console_write() logging. */
 #define DOMAIN_PBUF_SIZE 200
     char       *pbuf;
-    unsigned    pbuf_idx;
+    unsigned int pbuf_idx;
     spinlock_t  pbuf_lock;
 
     /* OProfile support. */