Skip to contentSkip to conversation

kvm: x86: Fix warning in irq.h

PATCH New [email protected] 1 participant 1 message Jul 12, 2023 1 message not in the archive

Subsystems (3)
lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH 1/1 kvm: x86: Fix warning in irq.h

The following checkpatch warning is removed:
WARNING: Prefer 'unsigned int' to bare use of 'unsigned'

---
 arch/x86/kvm/irq.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/x86/kvm/irq.h +1 -1
index c2d7cfe82d00..2c87183fe4e0 100644
@@ -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 */