Commit a30469ca authored by WangYuli's avatar WangYuli Committed by Andrew Morton
Browse files

KVM: x86: fix typo "notifer"

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: default avatarWangYuli <wangyuli@uniontech.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 1f03d55e
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);