Skip to content

Commit 9fdac1c

Browse files
WangYuliopsiff
authored andcommitted
treewide: fix typo "previlege"
[ Upstream commit 2e27fa9 ] 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/[email protected]/ Link: https://lkml.kernel.org/r/[email protected] Signed-off-by: WangYuli <[email protected]> Signed-off-by: Andrew Morton <[email protected]> [ Backport from v6.16 ] Signed-off-by: WangYuli <[email protected]>
1 parent 04fd0f4 commit 9fdac1c

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

drivers/s390/char/vmlogrdr.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ static int vmlogrdr_recording(struct vmlogrdr_priv_t * logptr,
255255

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

558558
/*
559559
* The recording command needs to be called with option QID
560-
* for guests that have previlege classes A or B.
560+
* for guests that have privilege classes A or B.
561561
* Other guests will not recognize the command and we have to
562562
* issue the same command without the QID parameter.
563563
*/

scripts/spelling.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1184,6 +1184,8 @@ prefered||preferred
11841184
prefferably||preferably
11851185
prefitler||prefilter
11861186
preform||perform
1187+
previleged||privileged
1188+
previlege||privilege
11871189
premption||preemption
11881190
prepaired||prepared
11891191
prepate||prepare

0 commit comments

Comments
 (0)