mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] kvm: x86: Fix warning in irq.h
       [not found] <tencent_D4F207FEB4B79458E5971F46ED61A94F5708@qq.com>
@ 2023-07-12  5:41 ` shijie001
  0 siblings, 0 replies; only message in thread
From: shijie001 @ 2023-07-12  5:41 UTC (permalink / raw)
  To: tglx, mingo, bp, dave.hansen, x86; +Cc: hpa, kvm, linux-kernel

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

Signed-off-by: Jie Shi <shijie001@208suo.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 */

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-07-12  5:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <tencent_D4F207FEB4B79458E5971F46ED61A94F5708@qq.com>
2023-07-12  5:41 ` [PATCH] kvm: x86: Fix warning in irq.h shijie001

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®