Skip to content

Commit 03440c4

Browse files
masahir0ytorvalds
authored andcommitted
scripts/spelling.txt: add "an union" pattern and fix typo instances
Fix typos and add the following to the scripts/spelling.txt: an union||a union Link: http://lkml.kernel.org/r/1481573103-11329-5-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>
1 parent 9332ef9 commit 03440c4

14 files changed

Lines changed: 19 additions & 18 deletions

File tree

‎Documentation/media/uapi/dvb/dvb-frontend-parameters.rst‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ frontend parameters
99
The kind of parameters passed to the frontend device for tuning depend
1010
on the kind of hardware you are using.
1111

12-
The struct ``dvb_frontend_parameters`` uses an union with specific
12+
The struct ``dvb_frontend_parameters`` uses a union with specific
1313
per-system parameters. However, as newer delivery systems required more
1414
data, the structure size weren't enough to fit, and just extending its
1515
size would break the existing applications. So, those parameters were
@@ -23,7 +23,7 @@ So, newer applications should use
2323
instead, in order to be able to support the newer System Delivery like
2424
DVB-S2, DVB-T2, DVB-C2, ISDB, etc.
2525

26-
All kinds of parameters are combined as an union in the
26+
All kinds of parameters are combined as a union in the
2727
FrontendParameters structure:
2828

2929

‎arch/x86/include/asm/desc_defs.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* FIXME: Accessing the desc_struct through its fields is more elegant,
1616
* and should be the one valid thing to do. However, a lot of open code
1717
* still touches the a and b accessors, and doing this allow us to do it
18-
* incrementally. We keep the signature as a struct, rather than an union,
18+
* incrementally. We keep the signature as a struct, rather than a union,
1919
* so we can get rid of it transparently in the future -- glommer
2020
*/
2121
/* 8 byte segment descriptor */

‎drivers/acpi/acpica/dbconvert.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object)
242242
*
243243
* RETURN: Status
244244
*
245-
* DESCRIPTION: Convert a typed and tokenized string to an union acpi_object. Typing:
245+
* DESCRIPTION: Convert a typed and tokenized string to a union acpi_object. Typing:
246246
* 1) String objects were surrounded by quotes.
247247
* 2) Buffer objects were surrounded by parentheses.
248248
* 3) Package objects were surrounded by brackets "[]".

‎drivers/acpi/acpica/nspredef.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -323,7 +323,7 @@ acpi_ns_check_reference(struct acpi_evaluate_info *info,
323323

324324
/*
325325
* Check the reference object for the correct reference type (opcode).
326-
* The only type of reference that can be converted to an union acpi_object is
326+
* The only type of reference that can be converted to a union acpi_object is
327327
* a reference to a named object (reference class: NAME)
328328
*/
329329
if (return_object->reference.class == ACPI_REFCLASS_NAME) {

‎drivers/acpi/acpica/nsxfeval.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,9 +495,9 @@ static void acpi_ns_resolve_references(struct acpi_evaluate_info *info)
495495
/*
496496
* Two types of references are supported - those created by Index and
497497
* ref_of operators. A name reference (AML_NAMEPATH_OP) can be converted
498-
* to an union acpi_object, so it is not dereferenced here. A ddb_handle
498+
* to a union acpi_object, so it is not dereferenced here. A ddb_handle
499499
* (AML_LOAD_OP) cannot be dereferenced, nor can it be converted to
500-
* an union acpi_object.
500+
* a union acpi_object.
501501
*/
502502
switch (info->return_object->reference.class) {
503503
case ACPI_REFCLASS_INDEX:

‎drivers/staging/lustre/lustre/include/lustre/lustre_idl.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1704,7 +1704,7 @@ struct ost_lvb {
17041704
* lquota data structures
17051705
*/
17061706

1707-
/* The lquota_id structure is an union of all the possible identifier types that
1707+
/* The lquota_id structure is a union of all the possible identifier types that
17081708
* can be used with quota, this includes:
17091709
* - 64-bit user ID
17101710
* - 64-bit group ID

‎include/linux/dcache.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ static inline struct dentry *d_backing_dentry(struct dentry *upper)
562562
* @inode: inode to select the dentry from multiple layers (can be NULL)
563563
* @flags: open flags to control copy-up behavior
564564
*
565-
* If dentry is on an union/overlay, then return the underlying, real dentry.
565+
* If dentry is on a union/overlay, then return the underlying, real dentry.
566566
* Otherwise return the dentry itself.
567567
*
568568
* See also: Documentation/filesystems/vfs.txt
@@ -581,7 +581,7 @@ static inline struct dentry *d_real(struct dentry *dentry,
581581
* d_real_inode - Return the real inode
582582
* @dentry: The dentry to query
583583
*
584-
* If dentry is on an union/overlay, then return the underlying, real inode.
584+
* If dentry is on a union/overlay, then return the underlying, real inode.
585585
* Otherwise return d_inode().
586586
*/
587587
static inline struct inode *d_real_inode(const struct dentry *dentry)

‎include/media/v4l2-ctrls.h‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
174174
* not freed when the control is deleted. Should this be needed
175175
* then a new internal bitfield can be added to tell the framework
176176
* to free this pointer.
177-
* @p_cur: The control's current value represented via an union with
177+
* @p_cur: The control's current value represented via a union with
178178
* provides a standard way of accessing control types
179179
* through a pointer.
180-
* @p_new: The control's new value represented via an union with provides
180+
* @p_new: The control's new value represented via a union with provides
181181
* a standard way of accessing control types
182182
* through a pointer.
183183
*/

‎include/xen/interface/grant_table.h‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ struct grant_entry_header {
181181
};
182182

183183
/*
184-
* Version 2 of the grant entry structure, here is an union because three
184+
* Version 2 of the grant entry structure, here is a union because three
185185
* different types are suppotted: full_page, sub_page and transitive.
186186
*/
187187
union grant_entry_v2 {

‎scripts/spelling.txt‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ alue||value
8686
ambigious||ambiguous
8787
amoung||among
8888
amout||amount
89+
an union||a union
8990
an user||a user
9091
an userspace||a userspace
9192
analysator||analyzer

0 commit comments

Comments
 (0)