]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
treewide: fix typo "previlege"
authorWangYuli <wangyuli@uniontech.com>
Mon, 21 Apr 2025 07:49:10 +0000 (15:49 +0800)
committerAndrew Morton <akpm@linux-foundation.org>
Mon, 12 May 2025 00:54:10 +0000 (17:54 -0700)
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: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
drivers/s390/char/vmlogrdr.c
include/linux/habanalabs/hl_boot_if.h
scripts/spelling.txt

index dac85294d2f56304100508db3d0b3d9421c764fc..e284eea331d7beda32bd683d1ddef903b7140cd5 100644 (file)
@@ -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.
         */
index d2a9fc96424bc5e9141e37e92a22ee8d410ea2ba..af5fb4ad77ebd68e43d824fedb921402ffa05c23 100644 (file)
@@ -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
index a290db720b0fb75cd9370982925f1915ea4642f2..ac94fa1c241598a045b231150cd72464fbd5c472 100644 (file)
@@ -1240,6 +1240,8 @@ prefered||preferred
 prefferably||preferably
 prefitler||prefilter
 preform||perform
+previleged||privileged
+previlege||privilege
 premption||preemption
 prepaired||prepared
 prepate||prepare