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

scripts/spelling.txt: add regsiter -> register spelling mistake

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>

authored by

Stephen Boyd and committed by
Linus Torvalds
ad61dd30 d1b7c934

+29 -28
+1 -1
arch/arc/kernel/unwind.c
··· 845 845 * state->dataAlign; 846 846 break; 847 847 case DW_CFA_def_cfa_register: 848 - unw_debug("cfa_def_cfa_regsiter: "); 848 + unw_debug("cfa_def_cfa_register: "); 849 849 state->cfa.reg = get_uleb128(&ptr.p8, end); 850 850 break; 851 851 /*todo case DW_CFA_def_cfa_expression: */
+1 -1
arch/arm/kernel/kgdb.c
··· 269 269 270 270 /* 271 271 * Register our undef instruction hooks with ARM undef core. 272 - * We regsiter a hook specifically looking for the KGB break inst 272 + * We register a hook specifically looking for the KGB break inst 273 273 * and we handle the normal undef case within the do_undefinstr 274 274 * handler. 275 275 */
+2 -2
arch/arm/mach-ixp4xx/common-pci.c
··· 43 43 int (*ixp4xx_pci_read)(u32 addr, u32 cmd, u32* data); 44 44 45 45 /* 46 - * Base address for PCI regsiter region 46 + * Base address for PCI register region 47 47 */ 48 48 unsigned long ixp4xx_pci_reg_base = 0; 49 49 50 50 /* 51 51 * PCI cfg an I/O routines are done by programming a 52 52 * command/byte enable register, and then read/writing 53 - * the data from a data regsiter. We need to ensure 53 + * the data from a data register. We need to ensure 54 54 * these transactions are atomic or we will end up 55 55 * with corrupt data on the bus or in a driver. 56 56 */
+1 -1
arch/m68k/ifpsp060/src/ilsp.S
··· 776 776 # ALGORITHM *********************************************************** # 777 777 # In the interest of simplicity, all operands are converted to # 778 778 # longword size whether the operation is byte, word, or long. The # 779 - # bounds are sign extended accordingly. If Rn is a data regsiter, Rn is # 779 + # bounds are sign extended accordingly. If Rn is a data register, Rn is # 780 780 # also sign extended. If Rn is an address register, it need not be sign # 781 781 # extended since the full register is always used. # 782 782 # The condition codes are set correctly before the final "rts". #
+1 -1
arch/m68k/ifpsp060/src/isp.S
··· 1876 1876 # word, or longword sized operands. Then, in the interest of # 1877 1877 # simplicity, all operands are converted to longword size whether the # 1878 1878 # operation is byte, word, or long. The bounds are sign extended # 1879 - # accordingly. If Rn is a data regsiter, Rn is also sign extended. If # 1879 + # accordingly. If Rn is a data register, Rn is also sign extended. If # 1880 1880 # Rn is an address register, it need not be sign extended since the # 1881 1881 # full register is always used. # 1882 1882 # The comparisons are made and the condition codes calculated. #
+1 -1
arch/mips/cavium-octeon/executive/cvmx-helper-rgmii.c
··· 152 152 } 153 153 154 154 /** 155 - * Configure all of the ASX, GMX, and PKO regsiters required 155 + * Configure all of the ASX, GMX, and PKO registers required 156 156 * to get RGMII to function on the supplied interface. 157 157 * 158 158 * @interface: PKO Interface to configure (0 or 1)
+1 -1
arch/mips/include/asm/octeon/cvmx-helper-rgmii.h
··· 55 55 extern void cvmx_helper_rgmii_internal_loopback(int port); 56 56 57 57 /** 58 - * Configure all of the ASX, GMX, and PKO regsiters required 58 + * Configure all of the ASX, GMX, and PKO registers required 59 59 * to get RGMII to function on the supplied interface. 60 60 * 61 61 * @interface: PKO Interface to configure (0 or 1)
+1 -1
arch/parisc/kernel/entry.S
··· 1369 1369 1370 1370 /* 1371 1371 When there is no translation for the probe address then we 1372 - must nullify the insn and return zero in the target regsiter. 1372 + must nullify the insn and return zero in the target register. 1373 1373 This will indicate to the calling code that it does not have 1374 1374 write/read privileges to this address. 1375 1375
+1 -1
arch/powerpc/mm/icswx.c
··· 186 186 } 187 187 188 188 /** 189 - * @regs: regsiters at time of interrupt 189 + * @regs: registers at time of interrupt 190 190 * @address: storage address 191 191 * @error_code: Fault code, usually the DSISR or ESR depending on 192 192 * processor type
+1 -1
drivers/acpi/cppc_acpi.c
··· 95 95 /* pcc mapped address + header size + offset within PCC subspace */ 96 96 #define GET_PCC_VADDR(offs) (pcc_data.pcc_comm_addr + 0x8 + (offs)) 97 97 98 - /* Check if a CPC regsiter is in PCC */ 98 + /* Check if a CPC register is in PCC */ 99 99 #define CPC_IN_PCC(cpc) ((cpc)->type == ACPI_TYPE_BUFFER && \ 100 100 (cpc)->cpc_entry.reg.space_id == \ 101 101 ACPI_ADR_SPACE_PLATFORM_COMM)
+1 -1
drivers/clk/qcom/common.c
··· 128 128 129 129 /* 130 130 * Backwards compatibility with old DTs. Register a pass-through factor 1/1 131 - * clock to translate 'path' clk into 'name' clk and regsiter the 'path' 131 + * clock to translate 'path' clk into 'name' clk and register the 'path' 132 132 * clk as a fixed rate clock if it isn't present. 133 133 */ 134 134 static int _qcom_cc_register_board_clk(struct device *dev, const char *path,
+2 -2
drivers/cpufreq/sti-cpufreq.c
··· 236 236 return 0; 237 237 } 238 238 239 - static int sti_cpufreq_fetch_syscon_regsiters(void) 239 + static int sti_cpufreq_fetch_syscon_registers(void) 240 240 { 241 241 struct device *dev = ddata.cpu; 242 242 struct device_node *np = dev->of_node; ··· 275 275 goto skip_voltage_scaling; 276 276 } 277 277 278 - ret = sti_cpufreq_fetch_syscon_regsiters(); 278 + ret = sti_cpufreq_fetch_syscon_registers(); 279 279 if (ret) 280 280 goto skip_voltage_scaling; 281 281
+1 -1
drivers/infiniband/hw/hns/hns_roce_hw_v1.c
··· 1721 1721 roce_set_field(mpt_entry->mpt_byte_64, MPT_BYTE_64_L_KEY_IDX_H_M, 1722 1722 MPT_BYTE_64_L_KEY_IDX_H_S, mtpt_idx >> MTPT_IDX_SHIFT); 1723 1723 1724 - /* DMA memory regsiter */ 1724 + /* DMA memory register */ 1725 1725 if (mr->type == MR_TYPE_DMA) 1726 1726 return 0; 1727 1727
+1 -1
drivers/infiniband/hw/hns/hns_roce_mr.c
··· 205 205 return 0; 206 206 } 207 207 208 - /* Note: if page_shift is zero, FAST memory regsiter */ 208 + /* Note: if page_shift is zero, FAST memory register */ 209 209 mtt->page_shift = page_shift; 210 210 211 211 /* Compute MTT entry necessary */
+1 -1
drivers/net/can/rcar/rcar_canfd.c
··· 413 413 /* RSCFDnRPGACCr */ 414 414 #define RCANFD_C_RPGACC(r) (0x1900 + (0x04 * (r))) 415 415 416 - /* CAN FD mode specific regsiter map */ 416 + /* CAN FD mode specific register map */ 417 417 418 418 /* RSCFDnCFDCmXXX -> RCANFD_F_XXX(m) */ 419 419 #define RCANFD_F_DCFG(m) (0x0500 + (0x20 * (m)))
+2 -2
drivers/net/ethernet/amd/amd8111e.h
··· 48 48 /* 32 bit registers */ 49 49 50 50 #define ASF_STAT 0x00 /* ASF status register */ 51 - #define CHIPID 0x04 /* Chip ID regsiter */ 51 + #define CHIPID 0x04 /* Chip ID register */ 52 52 #define MIB_DATA 0x10 /* MIB data register */ 53 53 #define MIB_ADDR 0x14 /* MIB address register */ 54 54 #define STAT0 0x30 /* Status0 register */ ··· 648 648 /* driver ioctl parameters */ 649 649 #define AMD8111E_REG_DUMP_LEN 13*sizeof(u32) 650 650 651 - /* amd8111e desriptor format */ 651 + /* amd8111e descriptor format */ 652 652 653 653 struct amd8111e_tx_dr{ 654 654
+1 -1
drivers/net/ethernet/atheros/atl1c/atl1c_hw.c
··· 307 307 308 308 /* 309 309 * atl1c_read_phy_core 310 - * core function to read register in PHY via MDIO control regsiter. 310 + * core function to read register in PHY via MDIO control register. 311 311 * ext: extension register (see IEEE 802.3) 312 312 * dev: device address (see IEEE 802.3 DEVAD, PRTAD is fixed to 0) 313 313 * reg: reg to read
+1 -1
drivers/net/ethernet/intel/igb/e1000_phy.c
··· 127 127 * @offset: register offset to be read 128 128 * @data: pointer to the read data 129 129 * 130 - * Reads the MDI control regsiter in the PHY at offset and stores the 130 + * Reads the MDI control register in the PHY at offset and stores the 131 131 * information read to data. 132 132 **/ 133 133 s32 igb_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data)
+2 -2
drivers/scsi/isci/registers.h
··· 652 652 653 653 654 654 /* 655 - * TODO: Where is the SAS_LNKTOV regsiter? 655 + * TODO: Where is the SAS_LNKTOV register? 656 656 * TODO: Where is the SAS_PHYTOV register? */ 657 657 658 658 #define SCU_SAS_TRANSMIT_IDENTIFICATION_SMP_TARGET_SHIFT (1) ··· 1827 1827 }; 1828 1828 1829 1829 /** 1830 - * struct scu_registers - SCU regsiters including both PEG registers if we turn 1830 + * struct scu_registers - SCU registers including both PEG registers if we turn 1831 1831 * on that compile option. All of these registers are in the memory mapped 1832 1832 * space returned from BAR1. 1833 1833 *
+1 -1
drivers/scsi/mpt3sas/mpt3sas_base.h
··· 1421 1421 Mpi2EventNotificationReply_t *mpi_reply); 1422 1422 1423 1423 void mpt3sas_enable_diag_buffer(struct MPT3SAS_ADAPTER *ioc, 1424 - u8 bits_to_regsiter); 1424 + u8 bits_to_register); 1425 1425 int mpt3sas_send_diag_release(struct MPT3SAS_ADAPTER *ioc, u8 buffer_type, 1426 1426 u8 *issue_reset); 1427 1427
+1 -1
include/linux/bcma/bcma_driver_pci.h
··· 80 80 #define BCMA_CORE_PCI_MDIODATA_DEV_TX 0x1e /* SERDES TX Dev */ 81 81 #define BCMA_CORE_PCI_MDIODATA_DEV_RX 0x1f /* SERDES RX Dev */ 82 82 #define BCMA_CORE_PCI_PCIEIND_ADDR 0x0130 /* indirect access to the internal register */ 83 - #define BCMA_CORE_PCI_PCIEIND_DATA 0x0134 /* Data to/from the internal regsiter */ 83 + #define BCMA_CORE_PCI_PCIEIND_DATA 0x0134 /* Data to/from the internal register */ 84 84 #define BCMA_CORE_PCI_CLKREQENCTRL 0x0138 /* >= rev 6, Clkreq rdma control */ 85 85 #define BCMA_CORE_PCI_PCICFG0 0x0400 /* PCI config space 0 (rev >= 8) */ 86 86 #define BCMA_CORE_PCI_PCICFG1 0x0500 /* PCI config space 1 (rev >= 8) */
+1 -1
include/linux/ftrace.h
··· 72 72 * CONTROL, SAVE_REGS, SAVE_REGS_IF_SUPPORTED, RECURSION_SAFE, STUB and 73 73 * IPMODIFY are a kind of attribute flags which can be set only before 74 74 * registering the ftrace_ops, and can not be modified while registered. 75 - * Changing those attribute flags after regsitering ftrace_ops will 75 + * Changing those attribute flags after registering ftrace_ops will 76 76 * cause unexpected results. 77 77 * 78 78 * ENABLED - set/unset when ftrace_ops is registered/unregistered
+1 -1
include/uapi/linux/ipmi.h
··· 355 355 #define IPMICTL_REGISTER_FOR_CMD _IOR(IPMI_IOC_MAGIC, 14, \ 356 356 struct ipmi_cmdspec) 357 357 /* 358 - * Unregister a regsitered command. error values: 358 + * Unregister a registered command. error values: 359 359 * - EFAULT - an address supplied was invalid. 360 360 * - ENOENT - The netfn/cmd was not found registered for this user. 361 361 */
+1
scripts/spelling.txt
··· 891 891 registeresd||registered 892 892 registes||registers 893 893 registraration||registration 894 + regsiter||register 894 895 regster||register 895 896 regualar||regular 896 897 reguator||regulator
+1 -1
sound/soc/soc-core.c
··· 936 936 * 937 937 * @dlc: name of the DAI and optional component info to match 938 938 * 939 - * This function will search all regsitered components and their DAIs to 939 + * This function will search all registered components and their DAIs to 940 940 * find the DAI of the same name. The component's of_node and name 941 941 * should also match if being specified. 942 942 *