[<prev] [next>] [day] [month] [year] [list]
Message-ID: <499102fc61234c78997cc80e24b0573b@208suo.com>
Date: Wed, 12 Jul 2023 13:41:00 +0800
From: shijie001@...suo.com
To: tglx@...utronix.de, mingo@...hat.com, bp@...en8.de,
dave.hansen@...ux.intel.com, x86@...nel.org
Cc: hpa@...or.com, kvm@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: [PATCH] kvm: x86: Fix warning in irq.h
The following checkpatch warning is removed:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'
Signed-off-by: Jie Shi <shijie001@...suo.com>
---
arch/x86/kvm/irq.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/irq.h b/arch/x86/kvm/irq.h
index c2d7cfe82d00..2c87183fe4e0 100644
--- a/arch/x86/kvm/irq.h
+++ b/arch/x86/kvm/irq.h
@@ -49,7 +49,7 @@ struct kvm_kpic_state {
struct kvm_pic {
spinlock_t lock;
bool wakeup_needed;
- unsigned pending_acks;
+ unsigned int pending_acks;
struct kvm *kvm;
struct kvm_kpic_state pics[2]; /* 0 is master pic, 1 is slave pic
*/
int output; /* intr from master PIC */
Powered by blists - more mailing lists