]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
scripts/spelling.txt: add "an union" pattern and fix typo instances
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 27 Feb 2017 22:28:49 +0000 (14:28 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 28 Feb 2017 02:43:46 +0000 (18:43 -0800)
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>
14 files changed:
Documentation/media/uapi/dvb/dvb-frontend-parameters.rst
arch/x86/include/asm/desc_defs.h
drivers/acpi/acpica/dbconvert.c
drivers/acpi/acpica/nspredef.c
drivers/acpi/acpica/nsxfeval.c
drivers/staging/lustre/lustre/include/lustre/lustre_idl.h
include/linux/dcache.h
include/media/v4l2-ctrls.h
include/xen/interface/grant_table.h
scripts/spelling.txt
sound/pci/ice1712/wm8766.c
sound/pci/ice1712/wm8776.c
tools/perf/util/probe-finder.c
tools/perf/util/sort.h

index bf31411fc9dfb290d5eeb3ba24155cf80537ad4c..899fd5c3545ee268e8950db257d9d092e29443ff 100644 (file)
@@ -9,7 +9,7 @@ frontend parameters
 The kind of parameters passed to the frontend device for tuning depend
 on the kind of hardware you are using.
 
-The struct ``dvb_frontend_parameters`` uses an union with specific
+The struct ``dvb_frontend_parameters`` uses a union with specific
 per-system parameters. However, as newer delivery systems required more
 data, the structure size weren't enough to fit, and just extending its
 size would break the existing applications. So, those parameters were
@@ -23,7 +23,7 @@ So, newer applications should use
 instead, in order to be able to support the newer System Delivery like
 DVB-S2, DVB-T2, DVB-C2, ISDB, etc.
 
-All kinds of parameters are combined as an union in the
+All kinds of parameters are combined as a union in the
 FrontendParameters structure:
 
 
index eb5deb42484d5e283adeaa191c004d1566f11a7f..49265345d4d223ffcf15e03ba2843ddaabe82668 100644 (file)
@@ -15,7 +15,7 @@
  * FIXME: Accessing the desc_struct through its fields is more elegant,
  * and should be the one valid thing to do. However, a lot of open code
  * still touches the a and b accessors, and doing this allow us to do it
- * incrementally. We keep the signature as a struct, rather than an union,
+ * incrementally. We keep the signature as a struct, rather than a union,
  * so we can get rid of it transparently in the future -- glommer
  */
 /* 8 byte segment descriptor */
index 251f9477a98411ef0cc7d116dfffb6c24eb595a1..857dbc43a9b133cec8f4f9b27ca91434806fe7f1 100644 (file)
@@ -242,7 +242,7 @@ acpi_status acpi_db_convert_to_package(char *string, union acpi_object *object)
  *
  * RETURN:      Status
  *
- * DESCRIPTION: Convert a typed and tokenized string to an union acpi_object. Typing:
+ * DESCRIPTION: Convert a typed and tokenized string to a union acpi_object. Typing:
  *              1) String objects were surrounded by quotes.
  *              2) Buffer objects were surrounded by parentheses.
  *              3) Package objects were surrounded by brackets "[]".
index 3dbbecf220879cc7bd551b807f35d9b1fb8ad390..9d14b509529e3067d13aa68923599e83bee419dc 100644 (file)
@@ -323,7 +323,7 @@ acpi_ns_check_reference(struct acpi_evaluate_info *info,
 
        /*
         * Check the reference object for the correct reference type (opcode).
-        * The only type of reference that can be converted to an union acpi_object is
+        * The only type of reference that can be converted to a union acpi_object is
         * a reference to a named object (reference class: NAME)
         */
        if (return_object->reference.class == ACPI_REFCLASS_NAME) {
index 8e365c0e766bfa85aedcd9e7945148d2d26ce3c0..c944ff5c9c3d0a7d07df9b3c5593ec075c3c8ef8 100644 (file)
@@ -495,9 +495,9 @@ static void acpi_ns_resolve_references(struct acpi_evaluate_info *info)
        /*
         * Two types of references are supported - those created by Index and
         * ref_of operators. A name reference (AML_NAMEPATH_OP) can be converted
-        * to an union acpi_object, so it is not dereferenced here. A ddb_handle
+        * to a union acpi_object, so it is not dereferenced here. A ddb_handle
         * (AML_LOAD_OP) cannot be dereferenced, nor can it be converted to
-        * an union acpi_object.
+        * a union acpi_object.
         */
        switch (info->return_object->reference.class) {
        case ACPI_REFCLASS_INDEX:
index b0eb80d70c235f116df42052d04ede14685230a0..60b827eeefe2cd0b4b6e11188df69fb9063935e3 100644 (file)
@@ -1704,7 +1704,7 @@ struct ost_lvb {
  *   lquota data structures
  */
 
-/* The lquota_id structure is an union of all the possible identifier types that
+/* The lquota_id structure is a union of all the possible identifier types that
  * can be used with quota, this includes:
  * - 64-bit user ID
  * - 64-bit group ID
index c965e44694997ea0ea18ca17fd1a7eb1596b3a53..591b6c16f9c12e08c6e91c51f6309fb3d73b8533 100644 (file)
@@ -562,7 +562,7 @@ static inline struct dentry *d_backing_dentry(struct dentry *upper)
  * @inode: inode to select the dentry from multiple layers (can be NULL)
  * @flags: open flags to control copy-up behavior
  *
- * If dentry is on an union/overlay, then return the underlying, real dentry.
+ * If dentry is on a union/overlay, then return the underlying, real dentry.
  * Otherwise return the dentry itself.
  *
  * See also: Documentation/filesystems/vfs.txt
@@ -581,7 +581,7 @@ static inline struct dentry *d_real(struct dentry *dentry,
  * d_real_inode - Return the real inode
  * @dentry: The dentry to query
  *
- * If dentry is on an union/overlay, then return the underlying, real inode.
+ * If dentry is on a union/overlay, then return the underlying, real inode.
  * Otherwise return d_inode().
  */
 static inline struct inode *d_real_inode(const struct dentry *dentry)
index e1006b391cdc53044fa99003ad354b82109d97ad..bee1404391dd5565abe2d324f4a196f0602fc032 100644 (file)
@@ -174,10 +174,10 @@ typedef void (*v4l2_ctrl_notify_fnc)(struct v4l2_ctrl *ctrl, void *priv);
  *             not freed when the control is deleted. Should this be needed
  *             then a new internal bitfield can be added to tell the framework
  *             to free this pointer.
- * @p_cur:     The control's current value represented via an union with
+ * @p_cur:     The control's current value represented via a union with
  *             provides a standard way of accessing control types
  *             through a pointer.
- * @p_new:     The control's new value represented via an union with provides
+ * @p_new:     The control's new value represented via a union with provides
  *             a standard way of accessing control types
  *             through a pointer.
  */
index 56806bc90c2fbe0227a87b8c3bec2c38256d95a5..7fb7112d667c41247f46e1e00ab84de7669a11ba 100644 (file)
@@ -181,7 +181,7 @@ struct grant_entry_header {
 };
 
 /*
- * Version 2 of the grant entry structure, here is an union because three
+ * Version 2 of the grant entry structure, here is a union because three
  * different types are suppotted: full_page, sub_page and transitive.
  */
 union grant_entry_v2 {
index 13794532c3fa105422b5932f8a5e2687781300e5..27991a91de6f3a25595ab156ca797862a6d9a573 100644 (file)
@@ -86,6 +86,7 @@ alue||value
 ambigious||ambiguous
 amoung||among
 amout||amount
+an union||a union
 an user||a user
 an userspace||a userspace
 analysator||analyzer
index f7ac8d5e862cf9b0e861ad790095c2d2295dc807..27c03e40c9b1b96eab2c6c94ba9a0d3789bafd93 100644 (file)
@@ -254,7 +254,7 @@ static int snd_wm8766_ctl_put(struct snd_kcontrol *kcontrol,
        int n = kcontrol->private_value;
        u16 val, regval1, regval2;
 
-       /* this also works for enum because value is an union */
+       /* this also works for enum because value is a union */
        regval1 = ucontrol->value.integer.value[0];
        regval2 = ucontrol->value.integer.value[1];
        if (wm->ctl[n].flags & WM8766_FLAG_INVERT) {
index ebd2fe4b4a57c4e25b5905d741602ba8ef58ca9b..553669b103c24d75516666169522b65e582d465f 100644 (file)
@@ -528,7 +528,7 @@ static int snd_wm8776_ctl_put(struct snd_kcontrol *kcontrol,
        int n = kcontrol->private_value;
        u16 val, regval1, regval2;
 
-       /* this also works for enum because value is an union */
+       /* this also works for enum because value is a union */
        regval1 = ucontrol->value.integer.value[0];
        regval2 = ucontrol->value.integer.value[1];
        if (wm->ctl[n].flags & WM8776_FLAG_INVERT) {
index 0d9d6e0803b88b6fe3909c0b8b83f24fa47580f6..57cd268d4275bd2c8a3f8f1e43f29fab1fe1a835 100644 (file)
@@ -464,7 +464,7 @@ static int convert_variable_fields(Dwarf_Die *vr_die, const char *varname,
                /* Verify it is a data structure  */
                tag = dwarf_tag(&type);
                if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) {
-                       pr_warning("%s is not a data structure nor an union.\n",
+                       pr_warning("%s is not a data structure nor a union.\n",
                                   varname);
                        return -EINVAL;
                }
@@ -479,7 +479,7 @@ static int convert_variable_fields(Dwarf_Die *vr_die, const char *varname,
        } else {
                /* Verify it is a data structure  */
                if (tag != DW_TAG_structure_type && tag != DW_TAG_union_type) {
-                       pr_warning("%s is not a data structure nor an union.\n",
+                       pr_warning("%s is not a data structure nor a union.\n",
                                   varname);
                        return -EINVAL;
                }
index 7aff317fc7c4827b53986a4a7085ca8d8e2ef58f..796c847e2f000d6722ed2cb35321e7f3b8b0489e 100644 (file)
@@ -108,7 +108,7 @@ struct hist_entry {
                /*
                 * Since perf diff only supports the stdio output, TUI
                 * fields are only accessed from perf report (or perf
-                * top).  So make it an union to reduce memory usage.
+                * top).  So make it a union to reduce memory usage.
                 */
                struct hist_entry_diff  diff;
                struct /* for TUI */ {