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

scripts/spelling.txt: add "an user" pattern and fix typo instances

Fix typos and add the following to the scripts/spelling.txt:

an user||a user
an userspace||a userspace

I also added "userspace" to the list since it is a common word in Linux.
I found some instances for "an userfaultfd", but I did not add it to the
list. I felt it is endless to find words that start with "user" such as
"userland" etc., so must draw a line somewhere.

Link: http://lkml.kernel.org/r/1481573103-11329-4-git-send-email-yamada.masahiro@socionext.com
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

authored by

Masahiro Yamada and committed by
Linus Torvalds
9332ef9d c6efb58d

+27 -25
+1 -1
Documentation/admin-guide/ras.rst
··· 81 81 still run, eventually replacing the affected hardware by a hot spare, 82 82 if available. 83 83 84 - Also, when an error happens on an userspace process, it is also possible to 84 + Also, when an error happens on a userspace process, it is also possible to 85 85 kill such process and let userspace restart it. 86 86 87 87 The mechanism for handling non-fatal errors is usually complex and may
+1 -1
Documentation/devicetree/bindings/opp/opp.txt
··· 136 136 larger OPP table, based on what version of the hardware we are running on. We 137 137 still can't have multiple nodes with the same opp-hz value in OPP table. 138 138 139 - It's an user defined array containing a hierarchy of hardware version numbers, 139 + It's a user defined array containing a hierarchy of hardware version numbers, 140 140 supported by the OPP. For example: a platform with hierarchy of three levels 141 141 of versions (A, B and C), this field should be like <X Y Z>, where X 142 142 corresponds to Version hierarchy A, Y corresponds to version hierarchy B and Z
+1 -1
Documentation/filesystems/quota.txt
··· 6 6 number of used inodes (inode is a filesystem structure which is associated with 7 7 each file or directory) for users and/or groups. For both used space and number 8 8 of used inodes there are actually two limits. The first one is called softlimit 9 - and the second one hardlimit. An user can never exceed a hardlimit for any 9 + and the second one hardlimit. A user can never exceed a hardlimit for any 10 10 resource (unless he has CAP_SYS_RESOURCE capability). User is allowed to exceed 11 11 softlimit but only for limited period of time. This period is called "grace 12 12 period" or "grace time". When grace time is over, user is not able to allocate
+2 -2
Documentation/kselftest.txt
··· 59 59 ================= 60 60 61 61 You can use kselftest_install.sh tool installs selftests in default 62 - location which is tools/testing/selftests/kselftest or an user specified 62 + location which is tools/testing/selftests/kselftest or a user specified 63 63 location. 64 64 65 65 To install selftests in default location: 66 66 $ cd tools/testing/selftests 67 67 $ ./kselftest_install.sh 68 68 69 - To install selftests in an user specified location: 69 + To install selftests in a user specified location: 70 70 $ cd tools/testing/selftests 71 71 $ ./kselftest_install.sh install_dir 72 72
+1 -1
Documentation/media/dvb-drivers/ci.rst
··· 20 20 ca_zap 21 21 ~~~~~~ 22 22 23 - An userspace application, like ``ca_zap`` is required to handle encrypted 23 + A userspace application, like ``ca_zap`` is required to handle encrypted 24 24 MPEG-TS streams. 25 25 26 26 The ``ca_zap`` userland application is in charge of sending the
+2 -2
Documentation/networking/cdc_mbim.txt
··· 38 38 =========== 39 39 40 40 MBIM functions are inactive when unmanaged. The cdc_mbim driver only 41 - provides an userspace interface to the MBIM control channel, and will 41 + provides a userspace interface to the MBIM control channel, and will 42 42 not participate in the management of the function. This implies that a 43 43 userspace MBIM management application always is required to enable a 44 44 MBIM function. ··· 200 200 The DSS VLAN subdevices are used as a practical interface between the 201 201 shared MBIM data channel and a MBIM DSS aware userspace application. 202 202 It is not intended to be presented as-is to an end user. The 203 - assumption is that an userspace application initiating a DSS session 203 + assumption is that a userspace application initiating a DSS session 204 204 also takes care of the necessary framing of the DSS data, presenting 205 205 the stream to the end user in an appropriate way for the stream type. 206 206
+1 -1
Documentation/vm/userfaultfd.txt
··· 149 149 receive the page that triggered the userfault and it'll map it as 150 150 usual with the UFFDIO_COPY|ZEROPAGE (without actually knowing if it 151 151 was spontaneously sent by the source or if it was an urgent page 152 - requested through an userfault). 152 + requested through a userfault). 153 153 154 154 By the time the userfaults start, the QEMU in the destination node 155 155 doesn't need to keep any per-page state bitmap relative to the live
+1 -1
arch/Kconfig
··· 29 29 The number of hardware counters is limited. The multiplexing 30 30 feature enables OProfile to gather more events than counters 31 31 are provided by the hardware. This is realized by switching 32 - between events at an user specified time interval. 32 + between events at a user specified time interval. 33 33 34 34 If unsure, say N. 35 35
+1 -1
arch/powerpc/xmon/ppc-opc.c
··· 1587 1587 #define CTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x7)) 1588 1588 #define CTX_MASK CTX(0x3f, 0x7) 1589 1589 1590 - /* An User Context form instruction. */ 1590 + /* A User Context form instruction. */ 1591 1591 #define UCTX(op, xop) (OP (op) | (((unsigned long)(xop)) & 0x1f)) 1592 1592 #define UCTX_MASK UCTX(0x3f, 0x1f) 1593 1593
+1 -1
arch/x86/kvm/mmu.c
··· 4102 4102 * as a SMAP violation if all of the following 4103 4103 * conditions are ture: 4104 4104 * - X86_CR4_SMAP is set in CR4 4105 - * - An user page is accessed 4105 + * - A user page is accessed 4106 4106 * - Page fault in kernel mode 4107 4107 * - if CPL = 3 or X86_EFLAGS_AC is clear 4108 4108 *
+2 -2
drivers/media/dvb-core/dvb_ringbuffer.h
··· 136 136 } 137 137 138 138 /** 139 - * dvb_ringbuffer_read_user - Reads a buffer into an user pointer 139 + * dvb_ringbuffer_read_user - Reads a buffer into a user pointer 140 140 * 141 141 * @rbuf: pointer to struct dvb_ringbuffer 142 142 * @buf: pointer to the buffer where the data will be stored ··· 193 193 size_t len); 194 194 195 195 /** 196 - * dvb_ringbuffer_write_user - Writes a buffer received via an user pointer 196 + * dvb_ringbuffer_write_user - Writes a buffer received via a user pointer 197 197 * 198 198 * @rbuf: pointer to struct dvb_ringbuffer 199 199 * @buf: pointer to the buffer where the data will be read
+1 -1
drivers/scsi/lpfc/lpfc_attr.c
··· 3329 3329 * @buf: Data buffer. 3330 3330 * @count: Size of the data buffer. 3331 3331 * 3332 - * This function get called when an user write to the lpfc_stat_data_ctrl 3332 + * This function get called when a user write to the lpfc_stat_data_ctrl 3333 3333 * sysfs file. This function parse the command written to the sysfs file 3334 3334 * and take appropriate action. These commands are used for controlling 3335 3335 * driver statistical data collection.
+3 -3
fs/userfaultfd.c
··· 1807 1807 } 1808 1808 1809 1809 /** 1810 - * userfaultfd_file_create - Creates an userfaultfd file pointer. 1810 + * userfaultfd_file_create - Creates a userfaultfd file pointer. 1811 1811 * @flags: Flags for the userfaultfd file. 1812 1812 * 1813 - * This function creates an userfaultfd file pointer, w/out installing 1813 + * This function creates a userfaultfd file pointer, w/out installing 1814 1814 * it into the fd table. This is useful when the userfaultfd file is 1815 1815 * used during the initialization of data structures that require 1816 1816 * extra setup after the userfaultfd creation. So the userfaultfd 1817 1817 * creation is split into the file pointer creation phase, and the 1818 1818 * file descriptor installation phase. In this way races with 1819 1819 * userspace closing the newly installed file descriptor can be 1820 - * avoided. Returns an userfaultfd file pointer, or a proper error 1820 + * avoided. Returns a userfaultfd file pointer, or a proper error 1821 1821 * pointer. 1822 1822 */ 1823 1823 static struct file *userfaultfd_file_create(int flags)
+1 -1
include/net/mac80211.h
··· 3392 3392 * since there won't be any time to beacon before the switch anyway. 3393 3393 * @pre_channel_switch: This is an optional callback that is called 3394 3394 * before a channel switch procedure is started (ie. when a STA 3395 - * gets a CSA or an userspace initiated channel-switch), allowing 3395 + * gets a CSA or a userspace initiated channel-switch), allowing 3396 3396 * the driver to prepare for the channel switch. 3397 3397 * @post_channel_switch: This is an optional callback that is called 3398 3398 * after a channel switch procedure is completed, allowing the
+1 -1
kernel/irq/manage.c
··· 353 353 return 0; 354 354 355 355 /* 356 - * Preserve the managed affinity setting and an userspace affinity 356 + * Preserve the managed affinity setting and a userspace affinity 357 357 * setup, but make sure that one of the targets is online. 358 358 */ 359 359 if (irqd_affinity_is_managed(&desc->irq_data) ||
+3 -3
net/bluetooth/hci_sock.c
··· 851 851 852 852 if (hdev) { 853 853 if (hci_pi(sk)->channel == HCI_CHANNEL_USER) { 854 - /* When releasing an user channel exclusive access, 854 + /* When releasing a user channel exclusive access, 855 855 * call hci_dev_do_close directly instead of calling 856 856 * hci_dev_close to ensure the exclusive access will 857 857 * be released and the controller brought back down. ··· 1172 1172 /* In case the transport is already up and 1173 1173 * running, clear the error here. 1174 1174 * 1175 - * This can happen when opening an user 1175 + * This can happen when opening a user 1176 1176 * channel and HCI_AUTO_OFF grace period 1177 1177 * is still active. 1178 1178 */ ··· 1190 1190 if (!hci_sock_gen_cookie(sk)) { 1191 1191 /* In the case when a cookie has already been assigned, 1192 1192 * this socket will transition from a raw socket into 1193 - * an user channel socket. For a clean transition, send 1193 + * a user channel socket. For a clean transition, send 1194 1194 * the close notification first. 1195 1195 */ 1196 1196 skb = create_monitor_ctrl_close(sk);
+2
scripts/spelling.txt
··· 86 86 ambigious||ambiguous 87 87 amoung||among 88 88 amout||amount 89 + an user||a user 90 + an userspace||a userspace 89 91 analysator||analyzer 90 92 ang||and 91 93 anniversery||anniversary
+1 -1
tools/perf/Documentation/tips.txt
··· 22 22 For memory address profiling, try: perf mem record / perf mem report 23 23 For tracepoint events, try: perf report -s trace_fields 24 24 To record callchains for each sample: perf record -g 25 - To record every process run by an user: perf record -u <user> 25 + To record every process run by a user: perf record -u <user> 26 26 Skip collecing build-id when recording: perf record -B 27 27 To change sampling frequency to 100 Hz: perf record -F 100 28 28 See assembly instructions with percentage: perf annotate <symbol>