]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
KVM: x86: fix typo "notifer"
authorWangYuli <wangyuli@uniontech.com>
Tue, 22 Jul 2025 07:34:24 +0000 (15:34 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 2 Aug 2025 19:01:39 +0000 (12:01 -0700)
Patch series "treewide: Fix typo "notifer"", v3.

There are some spelling mistakes of 'notifer' in comments which
should be 'notifier'.

Fix them and add it to scripts/spelling.txt.

This patch (of 8):

There are some spelling mistakes of 'notifer' which should be 'notifier'.

Link: https://lkml.kernel.org/r/576F0D85F6853074+20250722072734.19367-1-wangyuli@uniontech.com
Link: https://lkml.kernel.org/r/7F05778C3A1A9F8B+20250722073431.21983-1-wangyuli@uniontech.com
Signed-off-by: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/x86/kvm/i8254.c

index 739aa6c0d0c365b227d1edf49dd2cf160f48ab64..9ff55112900a8f0109f172e68b2855e3a3b7b937 100644 (file)
@@ -641,7 +641,7 @@ static void kvm_pit_reset(struct kvm_pit *pit)
        kvm_pit_reset_reinject(pit);
 }
 
-static void pit_mask_notifer(struct kvm_irq_mask_notifier *kimn, bool mask)
+static void pit_mask_notifier(struct kvm_irq_mask_notifier *kimn, bool mask)
 {
        struct kvm_pit *pit = container_of(kimn, struct kvm_pit, mask_notifier);
 
@@ -694,7 +694,7 @@ struct kvm_pit *kvm_create_pit(struct kvm *kvm, u32 flags)
 
        pit_state->irq_ack_notifier.gsi = 0;
        pit_state->irq_ack_notifier.irq_acked = kvm_pit_ack_irq;
-       pit->mask_notifier.func = pit_mask_notifer;
+       pit->mask_notifier.func = pit_mask_notifier;
 
        kvm_pit_reset(pit);