]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
scripts/spelling.txt: add regsiter -> register spelling mistake
authorStephen Boyd <sboyd@codeaurora.org>
Mon, 8 May 2017 22:57:50 +0000 (15:57 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 9 May 2017 00:15:13 +0000 (17:15 -0700)
This typo is quite common.  Fix it and add it to the spelling file so
that checkpatch catches it earlier.

Link: http://lkml.kernel.org/r/20170317011131.6881-2-sboyd@codeaurora.org
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
25 files changed:
arch/arc/kernel/unwind.c
arch/arm/kernel/kgdb.c
arch/arm/mach-ixp4xx/common-pci.c
arch/m68k/ifpsp060/src/ilsp.S
arch/m68k/ifpsp060/src/isp.S
arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
arch/mips/include/asm/octeon/cvmx-helper-rgmii.h
arch/parisc/kernel/entry.S
arch/powerpc/mm/icswx.c
drivers/acpi/cppc_acpi.c
drivers/clk/qcom/common.c
drivers/cpufreq/sti-cpufreq.c
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
drivers/infiniband/hw/hns/hns_roce_mr.c
drivers/net/can/rcar/rcar_canfd.c
drivers/net/ethernet/amd/amd8111e.h
drivers/net/ethernet/atheros/atl1c/atl1c_hw.c
drivers/net/ethernet/intel/igb/e1000_phy.c
drivers/scsi/isci/registers.h
drivers/scsi/mpt3sas/mpt3sas_base.h
include/linux/bcma/bcma_driver_pci.h
include/linux/ftrace.h
include/uapi/linux/ipmi.h
scripts/spelling.txt
sound/soc/soc-core.c

index b6e4f7a7419b3215d8b24103ee5a035ee50c96c7..333daab7def028761478b4215bf7f50335d4f05d 100644 (file)
@@ -845,7 +845,7 @@ static int processCFI(const u8 *start, const u8 *end, unsigned long targetLoc,
                                    * state->dataAlign;
                                break;
                        case DW_CFA_def_cfa_register:
-                               unw_debug("cfa_def_cfa_regsiter: ");
+                               unw_debug("cfa_def_cfa_register: ");
                                state->cfa.reg = get_uleb128(&ptr.p8, end);
                                break;
                                /*todo case DW_CFA_def_cfa_expression: */
index 9232caee70604c686e07b7aef4c21598c7196fa4..1bb4c40a3135ff946909a2f423d6295e45add671 100644 (file)
@@ -269,7 +269,7 @@ int kgdb_arch_remove_breakpoint(struct kgdb_bkpt *bpt)
 
 /*
  * Register our undef instruction hooks with ARM undef core.
- * We regsiter a hook specifically looking for the KGB break inst
+ * We register a hook specifically looking for the KGB break inst
  * and we handle the normal undef case within the do_undefinstr
  * handler.
  */
index 4977296f0c7804272a5854ba5223b786761b7716..bcf3df59f71b447aeb1880a9c9e7743bb9d92398 100644 (file)
 int (*ixp4xx_pci_read)(u32 addr, u32 cmd, u32* data);
 
 /*
- * Base address for PCI regsiter region
+ * Base address for PCI register region
  */
 unsigned long ixp4xx_pci_reg_base = 0;
 
 /*
  * PCI cfg an I/O routines are done by programming a 
  * command/byte enable register, and then read/writing
- * the data from a data regsiter. We need to ensure
+ * the data from a data register. We need to ensure
  * these transactions are atomic or we will end up
  * with corrupt data on the bus or in a driver.
  */
index 970abaf3303e037184fb8bde424ee67624c0f125..dd5b2c357e953db3c6ecdb1a6f04805517142def 100644 (file)
@@ -776,7 +776,7 @@ muls64_zero:
 # ALGORITHM ***********************************************************        #
 #      In the interest of simplicity, all operands are converted to    #
 # longword size whether the operation is byte, word, or long. The      #
-# bounds are sign extended accordingly. If Rn is a data regsiter, Rn is #
+# bounds are sign extended accordingly. If Rn is a data register, Rn is #
 # also sign extended. If Rn is an address register, it need not be sign #
 # extended since the full register is always used.                     #
 #      The condition codes are set correctly before the final "rts".   #
index b865c1a052ba2c24bc5206f374e9497e4773977a..29a9f8629b9dc9cb9a0b22c7505af02d0687c4f5 100644 (file)
@@ -1876,7 +1876,7 @@ movp_read_err:
 # word, or longword sized operands. Then, in the interest of           #
 # simplicity, all operands are converted to longword size whether the  #
 # operation is byte, word, or long. The bounds are sign extended       #
-# accordingly. If Rn is a data regsiter, Rn is also sign extended. If  #
+# accordingly. If Rn is a data register, Rn is also sign extended. If  #
 # Rn is an address register, it need not be sign extended since the    #
 # full register is always used.                                                #
 #      The comparisons are made and the condition codes calculated.    #
index ba4753c23b0373436293aca2c904bf85e89e3d52..d18ed5af62f4a974a67cdc82dd890d503af99792 100644 (file)
@@ -152,7 +152,7 @@ static int __cvmx_helper_errata_asx_pass1(int interface, int port,
 }
 
 /**
- * Configure all of the ASX, GMX, and PKO regsiters required
+ * Configure all of the ASX, GMX, and PKO registers required
  * to get RGMII to function on the supplied interface.
  *
  * @interface: PKO Interface to configure (0 or 1)
index f89775be76541c179c7f41d7da6d9e30708d8b21..f7a95d7de1409b0995f2d4624e9f5ec80abbdd6f 100644 (file)
@@ -55,7 +55,7 @@ extern int __cvmx_helper_rgmii_probe(int interface);
 extern void cvmx_helper_rgmii_internal_loopback(int port);
 
 /**
- * Configure all of the ASX, GMX, and PKO regsiters required
+ * Configure all of the ASX, GMX, and PKO registers required
  * to get RGMII to function on the supplied interface.
  *
  * @interface: PKO Interface to configure (0 or 1)
index ad4cb1613c57a56552e32d795d5d83fdffd99672..a4fd296c958e8e14f13a913aca50510b11eb49b7 100644 (file)
@@ -1369,7 +1369,7 @@ nadtlb_nullify:
 
        /* 
                When there is no translation for the probe address then we
-               must nullify the insn and return zero in the target regsiter.
+               must nullify the insn and return zero in the target register.
                This will indicate to the calling code that it does not have 
                write/read privileges to this address.
 
index 915412e4d5ba58d3b898afe502d89273b6945aad..1fa794d7d59f2d693fca0732b15b727e831bbcad 100644 (file)
@@ -186,7 +186,7 @@ static u32 acop_get_inst(struct pt_regs *regs)
 }
 
 /**
- * @regs: regsiters at time of interrupt
+ * @regs: registers at time of interrupt
  * @address: storage address
  * @error_code: Fault code, usually the DSISR or ESR depending on
  *             processor type
index 6cbe6036da998faabfd9977ccc5af1594d7af7d0..e5b47f032d9af552a04dc9aee301a8160f942997 100644 (file)
@@ -95,7 +95,7 @@ static DEFINE_PER_CPU(struct cpc_desc *, cpc_desc_ptr);
 /* pcc mapped address + header size + offset within PCC subspace */
 #define GET_PCC_VADDR(offs) (pcc_data.pcc_comm_addr + 0x8 + (offs))
 
-/* Check if a CPC regsiter is in PCC */
+/* Check if a CPC register is in PCC */
 #define CPC_IN_PCC(cpc) ((cpc)->type == ACPI_TYPE_BUFFER &&            \
                                (cpc)->cpc_entry.reg.space_id ==        \
                                ACPI_ADR_SPACE_PLATFORM_COMM)
index 03f9d316f969126c201a42227180103b7d97903d..d523991c945f9d4cbcd047c8a7edbb405d0e85ba 100644 (file)
@@ -128,7 +128,7 @@ static void qcom_cc_gdsc_unregister(void *data)
 
 /*
  * Backwards compatibility with old DTs. Register a pass-through factor 1/1
- * clock to translate 'path' clk into 'name' clk and regsiter the 'path'
+ * clock to translate 'path' clk into 'name' clk and register the 'path'
  * clk as a fixed rate clock if it isn't present.
  */
 static int _qcom_cc_register_board_clk(struct device *dev, const char *path,
index a7db9011d5fec57fbf71849fce133a37f88d4a94..d2d0430d09d4ddcaa3626319741cdb3ef66ef3aa 100644 (file)
@@ -236,7 +236,7 @@ use_defaults:
        return 0;
 }
 
-static int sti_cpufreq_fetch_syscon_regsiters(void)
+static int sti_cpufreq_fetch_syscon_registers(void)
 {
        struct device *dev = ddata.cpu;
        struct device_node *np = dev->of_node;
@@ -275,7 +275,7 @@ static int sti_cpufreq_init(void)
                goto skip_voltage_scaling;
        }
 
-       ret = sti_cpufreq_fetch_syscon_regsiters();
+       ret = sti_cpufreq_fetch_syscon_registers();
        if (ret)
                goto skip_voltage_scaling;
 
index 157adf381c18080bd6889d786c173fb02d8a8b6e..37d5d29597a449d23bf34587024b83e4c55bb657 100644 (file)
@@ -1721,7 +1721,7 @@ int hns_roce_v1_write_mtpt(void *mb_buf, struct hns_roce_mr *mr,
        roce_set_field(mpt_entry->mpt_byte_64, MPT_BYTE_64_L_KEY_IDX_H_M,
                       MPT_BYTE_64_L_KEY_IDX_H_S, mtpt_idx >> MTPT_IDX_SHIFT);
 
-       /* DMA memory regsiter */
+       /* DMA memory register */
        if (mr->type == MR_TYPE_DMA)
                return 0;
 
index dc5c97c8f070c9c02ac79fb8d51211df5271ee3b..80fc01ffd8bdd48d552b4919a7eda668efe98fa4 100644 (file)
@@ -205,7 +205,7 @@ int hns_roce_mtt_init(struct hns_roce_dev *hr_dev, int npages, int page_shift,
                return 0;
        }
 
-       /* Note: if page_shift is zero, FAST memory regsiter */
+       /* Note: if page_shift is zero, FAST memory register */
        mtt->page_shift = page_shift;
 
        /* Compute MTT entry necessary */
index 4ef07d97156da838edaad4661f094d2e38d9111f..602c19e23f052ed50bd691408bc9644bf5049cb5 100644 (file)
 /* RSCFDnRPGACCr */
 #define RCANFD_C_RPGACC(r)             (0x1900 + (0x04 * (r)))
 
-/* CAN FD mode specific regsiter map */
+/* CAN FD mode specific register map */
 
 /* RSCFDnCFDCmXXX -> RCANFD_F_XXX(m) */
 #define RCANFD_F_DCFG(m)               (0x0500 + (0x20 * (m)))
index 7cdb185124073022cddb73ece5ae33decc90be53..2a57b46fd6a66b132f34a55208994493d55a3f52 100644 (file)
@@ -48,7 +48,7 @@ eg., if the value 10011010b is written into the least significant byte of a comm
 /* 32 bit registers */
 
 #define  ASF_STAT              0x00    /* ASF status register */
-#define CHIPID                 0x04    /* Chip ID regsiter */
+#define CHIPID                 0x04    /* Chip ID register */
 #define        MIB_DATA                0x10    /* MIB data register */
 #define MIB_ADDR               0x14    /* MIB address register */
 #define STAT0                  0x30    /* Status0 register */
@@ -648,7 +648,7 @@ typedef enum {
 /* driver ioctl parameters */
 #define AMD8111E_REG_DUMP_LEN   13*sizeof(u32)
 
-/* amd8111e desriptor format */
+/* amd8111e descriptor format */
 
 struct amd8111e_tx_dr{
 
index a8b80c56ac25e3b59ab28a052f99c4e46ef5c27e..73efdb05a490735a14af8e9cac72b41461d42048 100644 (file)
@@ -307,7 +307,7 @@ void atl1c_start_phy_polling(struct atl1c_hw *hw, u16 clk_sel)
 
 /*
  * atl1c_read_phy_core
- * core function to read register in PHY via MDIO control regsiter.
+ * core function to read register in PHY via MDIO control register.
  * ext: extension register (see IEEE 802.3)
  * dev: device address (see IEEE 802.3 DEVAD, PRTAD is fixed to 0)
  * reg: reg to read
index 68812d783f33e02cb34ec0a8bcc25f9eba72d354..413025bdcb50feb68c8af9bcb398bbae37811f80 100644 (file)
@@ -127,7 +127,7 @@ out:
  *  @offset: register offset to be read
  *  @data: pointer to the read data
  *
- *  Reads the MDI control regsiter in the PHY at offset and stores the
+ *  Reads the MDI control register in the PHY at offset and stores the
  *  information read to data.
  **/
 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data)
index 97f3ceb8d7245c40fb2784bbcf43e6774c3795c4..63468cfe3e4a333f317e715985f31dc692f9ddb0 100644 (file)
@@ -652,7 +652,7 @@ struct scu_iit_entry {
 
 
 /*
- * TODO: Where is the SAS_LNKTOV regsiter?
+ * TODO: Where is the SAS_LNKTOV register?
  * TODO: Where is the SAS_PHYTOV register? */
 
 #define SCU_SAS_TRANSMIT_IDENTIFICATION_SMP_TARGET_SHIFT            (1)
@@ -1827,7 +1827,7 @@ struct scu_peg_registers {
 };
 
 /**
- * struct scu_registers - SCU regsiters including both PEG registers if we turn
+ * struct scu_registers - SCU registers including both PEG registers if we turn
  *    on that compile option. All of these registers are in the memory mapped
  *    space returned from BAR1.
  *
index 8981806fb13fa7792e2b8d45f4fc6880b362da25..099ab4ca7edfdb8eca1f976273b01562c0298ebc 100644 (file)
@@ -1421,7 +1421,7 @@ void mpt3sas_ctl_add_to_event_log(struct MPT3SAS_ADAPTER *ioc,
        Mpi2EventNotificationReply_t *mpi_reply);
 
 void mpt3sas_enable_diag_buffer(struct MPT3SAS_ADAPTER *ioc,
-       u8 bits_to_regsiter);
+       u8 bits_to_register);
 int mpt3sas_send_diag_release(struct MPT3SAS_ADAPTER *ioc, u8 buffer_type,
        u8 *issue_reset);
 
index 9657f11d48a7547cbf63639c23f0de9bc07920c4..bca6a5e4ca3db3a6370b83621c80bb5ca876f27a 100644 (file)
@@ -80,7 +80,7 @@ struct pci_dev;
 #define  BCMA_CORE_PCI_MDIODATA_DEV_TX         0x1e    /* SERDES TX Dev */
 #define  BCMA_CORE_PCI_MDIODATA_DEV_RX         0x1f    /* SERDES RX Dev */
 #define BCMA_CORE_PCI_PCIEIND_ADDR             0x0130  /* indirect access to the internal register */
-#define BCMA_CORE_PCI_PCIEIND_DATA             0x0134  /* Data to/from the internal regsiter */
+#define BCMA_CORE_PCI_PCIEIND_DATA             0x0134  /* Data to/from the internal register */
 #define BCMA_CORE_PCI_CLKREQENCTRL             0x0138  /*  >= rev 6, Clkreq rdma control */
 #define BCMA_CORE_PCI_PCICFG0                  0x0400  /* PCI config space 0 (rev >= 8) */
 #define BCMA_CORE_PCI_PCICFG1                  0x0500  /* PCI config space 1 (rev >= 8) */
index 6d2a63e4ea52e20a659239008795ebaf5f069787..473f088aabeac7b3899c155c778628e389e4d3fe 100644 (file)
@@ -72,7 +72,7 @@ ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops);
  * CONTROL, SAVE_REGS, SAVE_REGS_IF_SUPPORTED, RECURSION_SAFE, STUB and
  * IPMODIFY are a kind of attribute flags which can be set only before
  * registering the ftrace_ops, and can not be modified while registered.
- * Changing those attribute flags after regsitering ftrace_ops will
+ * Changing those attribute flags after registering ftrace_ops will
  * cause unexpected results.
  *
  * ENABLED - set/unset when ftrace_ops is registered/unregistered
index 7b26a62e570734219a9a493c75c9abb909ceef1a..b9095a27a08a55fdf2e029178e1ce472637bd877 100644 (file)
@@ -355,7 +355,7 @@ struct ipmi_cmdspec {
 #define IPMICTL_REGISTER_FOR_CMD       _IOR(IPMI_IOC_MAGIC, 14,        \
                                             struct ipmi_cmdspec)
 /*
- * Unregister a regsitered command.  error values:
+ * Unregister a registered command.  error values:
  *  - EFAULT - an address supplied was invalid.
  *  - ENOENT - The netfn/cmd was not found registered for this user.
  */
index d778d7b42a780c5bbe33b11f1295dac3be69bb25..7b6d25a86202d552a5e9f8a78f5f4d9b0a6fbc90 100644 (file)
@@ -891,6 +891,7 @@ registerd||registered
 registeresd||registered
 registes||registers
 registraration||registration
+regsiter||register
 regster||register
 regualar||regular
 reguator||regulator
index 525f2f397b4c225208a6b82c94ae8c1addd2eeaf..aae099c0e50280d67f153d6769ac4237d531e169 100644 (file)
@@ -936,7 +936,7 @@ static struct snd_soc_component *soc_find_component(
  *
  * @dlc: name of the DAI and optional component info to match
  *
- * This function will search all regsitered components and their DAIs to
+ * This function will search all registered components and their DAIs to
  * find the DAI of the same name. The component's of_node and name
  * should also match if being specified.
  *