From 586868cb352a9de5ad0f2d91136b2bca3d4fb88f Mon Sep 17 00:00:00 2001 From: Michal Orzel Date: Tue, 28 Jun 2022 17:23:46 +0200 Subject: [PATCH] include/xen: Use unsigned int instead of plain unsigned 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 Acked-by: Jan Beulich --- xen/include/xen/perfc.h | 2 +- xen/include/xen/sched.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/xen/include/xen/perfc.h b/xen/include/xen/perfc.h index bb010b0aae..7c5ce537bd 100644 --- a/xen/include/xen/perfc.h +++ b/xen/include/xen/perfc.h @@ -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); diff --git a/xen/include/xen/sched.h b/xen/include/xen/sched.h index 463d41ffb6..b9515eb497 100644 --- a/xen/include/xen/sched.h +++ b/xen/include/xen/sched.h @@ -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. */ -- 2.30.2