Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: WangYuli <wangyuli@uniontech.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>

authored by

WangYuli and committed by
Andrew Morton
2e27fa94 f0eba23c

+5 -3
+2 -2
drivers/s390/char/vmlogrdr.c
··· 255 255 256 256 /* 257 257 * 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. 259 259 * Purging has to be done as separate step, because recording 260 260 * can't be switched on as long as records are on the queue. 261 261 * Doing both at the same time doesn't work. ··· 557 557 558 558 /* 559 559 * 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. 561 561 * Other guests will not recognize the command and we have to 562 562 * issue the same command without the QID parameter. 563 563 */
+1 -1
include/linux/habanalabs/hl_boot_if.h
··· 295 295 * Initialized in: linux 296 296 * 297 297 * CPU_BOOT_DEV_STS0_GIC_PRIVILEGED_EN GIC access permission only from 298 - * previleged entity. FW sets this status 298 + * privileged entity. FW sets this status 299 299 * bit for host. If this bit is set then 300 300 * GIC can not be accessed from host. 301 301 * Initialized in: linux
+2
scripts/spelling.txt
··· 1240 1240 prefferably||preferably 1241 1241 prefitler||prefilter 1242 1242 preform||perform 1243 + previleged||privileged 1244 + previlege||privilege 1243 1245 premption||preemption 1244 1246 prepaired||prepared 1245 1247 prepate||prepare