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

treewide: fix typo "previlege"

There are some spelling mistakes of 'previlege' in comments which
should be 'privilege'.

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

The typo in arch/loongarch/kvm/main.c was corrected by a different
patch [1] and is therefore not included in this submission.

[1]. https://lore.kernel.org/all/20250420142208.2252280-1-wheatfox17@icloud.com/

Link: https://lkml.kernel.org/r/46AD404E411A4BAC+20250421074910.66988-1-wangyuli@uniontech.com


Signed-off-by: default avatarWangYuli <wangyuli@uniontech.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent f0eba23c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -255,7 +255,7 @@ static int vmlogrdr_recording(struct vmlogrdr_priv_t * logptr,

	/*
	 * The recording commands needs to be called with option QID
	 * for guests that have previlege classes A or B.
	 * for guests that have privilege classes A or B.
	 * Purging has to be done as separate step, because recording
	 * can't be switched on as long as records are on the queue.
	 * Doing both at the same time doesn't work.
@@ -557,7 +557,7 @@ static ssize_t vmlogrdr_purge_store(struct device * dev,

        /*
	 * The recording command needs to be called with option QID
	 * for guests that have previlege classes A or B.
	 * for guests that have privilege classes A or B.
	 * Other guests will not recognize the command and we have to
	 * issue the same command without the QID parameter.
	 */
+1 −1
Original line number Diff line number Diff line
@@ -295,7 +295,7 @@ enum cpu_boot_dev_sts {
 *					Initialized in: linux
 *
 * CPU_BOOT_DEV_STS0_GIC_PRIVILEGED_EN	GIC access permission only from
 *					previleged entity. FW sets this status
 *					privileged entity. FW sets this status
 *					bit for host. If this bit is set then
 *					GIC can not be accessed from host.
 *					Initialized in: linux
+2 −0
Original line number Diff line number Diff line
@@ -1240,6 +1240,8 @@ prefered||preferred
prefferably||preferably
prefitler||prefilter
preform||perform
previleged||privileged
previlege||privilege
premption||preemption
prepaired||prepared
prepate||prepare