提交 98a1708d 编写于 作者: M Martin Olsson 提交者: Jiri Kosina

trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in...

trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in documentation and source comments.
Signed-off-by: NMartin Olsson <martin@minimum.se>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 ab2274af
...@@ -38,7 +38,7 @@ Required properities: ...@@ -38,7 +38,7 @@ Required properities:
- reg : Should contain the address and the length of the GPIO bank - reg : Should contain the address and the length of the GPIO bank
register. register.
- #gpio-cells : Should be two. The first cell is the pin number and the - #gpio-cells : Should be two. The first cell is the pin number and the
second cell is used to specify optional paramters (currently unused). second cell is used to specify optional parameters (currently unused).
- gpio-controller : Marks the port as GPIO controller. - gpio-controller : Marks the port as GPIO controller.
Example: Example:
......
...@@ -11,7 +11,7 @@ Required properties: ...@@ -11,7 +11,7 @@ Required properties:
"fsl,cpm1-pario-bank-c", "fsl,cpm1-pario-bank-d", "fsl,cpm1-pario-bank-c", "fsl,cpm1-pario-bank-d",
"fsl,cpm1-pario-bank-e", "fsl,cpm2-pario-bank" "fsl,cpm1-pario-bank-e", "fsl,cpm2-pario-bank"
- #gpio-cells : Should be two. The first cell is the pin number and the - #gpio-cells : Should be two. The first cell is the pin number and the
second cell is used to specify optional paramters (currently unused). second cell is used to specify optional parameters (currently unused).
- gpio-controller : Marks the port as GPIO controller. - gpio-controller : Marks the port as GPIO controller.
Example of three SOC GPIO banks defined as gpio-controller nodes: Example of three SOC GPIO banks defined as gpio-controller nodes:
......
...@@ -64,7 +64,7 @@ __HEAD ...@@ -64,7 +64,7 @@ __HEAD
.org 0x100 .org 0x100
# #
# subroutine for loading from tape # subroutine for loading from tape
# Paramters: # Parameters:
# R1 = device number # R1 = device number
# R2 = load address # R2 = load address
.Lloader: .Lloader:
......
...@@ -748,9 +748,9 @@ static int ata_acpi_run_tf(struct ata_device *dev, ...@@ -748,9 +748,9 @@ static int ata_acpi_run_tf(struct ata_device *dev,
/** /**
* ata_acpi_exec_tfs - get then write drive taskfile settings * ata_acpi_exec_tfs - get then write drive taskfile settings
* @dev: target ATA device * @dev: target ATA device
* @nr_executed: out paramter for the number of executed commands * @nr_executed: out parameter for the number of executed commands
* *
* Evaluate _GTF and excute returned taskfiles. * Evaluate _GTF and execute returned taskfiles.
* *
* LOCKING: * LOCKING:
* EH context. * EH context.
......
...@@ -2864,7 +2864,7 @@ static int ata_eh_revalidate_and_attach(struct ata_link *link, ...@@ -2864,7 +2864,7 @@ static int ata_eh_revalidate_and_attach(struct ata_link *link,
/** /**
* ata_set_mode - Program timings and issue SET FEATURES - XFER * ata_set_mode - Program timings and issue SET FEATURES - XFER
* @link: link on which timings will be programmed * @link: link on which timings will be programmed
* @r_failed_dev: out paramter for failed device * @r_failed_dev: out parameter for failed device
* *
* Set ATA device disk transfer mode (PIO3, UDMA6, etc.). If * Set ATA device disk transfer mode (PIO3, UDMA6, etc.). If
* ata_set_mode() fails, pointer to the failing device is * ata_set_mode() fails, pointer to the failing device is
......
...@@ -1084,7 +1084,7 @@ static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt) ...@@ -1084,7 +1084,7 @@ static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt)
struct pci_dev *dev = pvt->dev_d0f1; struct pci_dev *dev = pvt->dev_d0f1;
int enable = 1; int enable = 1;
/* Allow module paramter override, else see if CPU supports parity */ /* Allow module parameter override, else see if CPU supports parity */
if (sysbus_parity != -1) { if (sysbus_parity != -1) {
enable = sysbus_parity; enable = sysbus_parity;
} else if (cpu_id[0] && } else if (cpu_id[0] &&
......
...@@ -183,7 +183,7 @@ int cf_command(int drvid, int mode, ...@@ -183,7 +183,7 @@ int cf_command(int drvid, int mode,
(mode != 1) ? "" : " 0 ", (mode != 1) ? "" : " 0 ",
(mode != 1) ? "" : fwd_nr); (mode != 1) ? "" : fwd_nr);
retval = divert_if.ll_cmd(&cs->ics); /* excute command */ retval = divert_if.ll_cmd(&cs->ics); /* execute command */
if (!retval) if (!retval)
{ cs->prev = NULL; { cs->prev = NULL;
......
...@@ -1220,7 +1220,7 @@ static int __init ltpc_setup(char *str) ...@@ -1220,7 +1220,7 @@ static int __init ltpc_setup(char *str)
if (ints[0] > 2) { if (ints[0] > 2) {
dma = ints[3]; dma = ints[3];
} }
/* ignore any other paramters */ /* ignore any other parameters */
} }
return 1; return 1;
} }
......
...@@ -62,7 +62,7 @@ struct e1000_info; ...@@ -62,7 +62,7 @@ struct e1000_info;
e_printk(KERN_NOTICE, adapter, format, ## arg) e_printk(KERN_NOTICE, adapter, format, ## arg)
/* Interrupt modes, as used by the IntMode paramter */ /* Interrupt modes, as used by the IntMode parameter */
#define E1000E_INT_MODE_LEGACY 0 #define E1000E_INT_MODE_LEGACY 0
#define E1000E_INT_MODE_MSI 1 #define E1000E_INT_MODE_MSI 1
#define E1000E_INT_MODE_MSIX 2 #define E1000E_INT_MODE_MSIX 2
......
...@@ -268,7 +268,7 @@ struct ehea_qp_init_attr { ...@@ -268,7 +268,7 @@ struct ehea_qp_init_attr {
}; };
/* /*
* Event Queue attributes, passed as paramter * Event Queue attributes, passed as parameter
*/ */
struct ehea_eq_attr { struct ehea_eq_attr {
u32 type; u32 type;
......
...@@ -45,7 +45,7 @@ struct igbvf_adapter; ...@@ -45,7 +45,7 @@ struct igbvf_adapter;
/* Interrupt defines */ /* Interrupt defines */
#define IGBVF_START_ITR 648 /* ~6000 ints/sec */ #define IGBVF_START_ITR 648 /* ~6000 ints/sec */
/* Interrupt modes, as used by the IntMode paramter */ /* Interrupt modes, as used by the IntMode parameter */
#define IGBVF_INT_MODE_LEGACY 0 #define IGBVF_INT_MODE_LEGACY 0
#define IGBVF_INT_MODE_MSI 1 #define IGBVF_INT_MODE_MSI 1
#define IGBVF_INT_MODE_MSIX 2 #define IGBVF_INT_MODE_MSIX 2
......
...@@ -371,7 +371,7 @@ static void mlx4_en_set_default_moderation(struct mlx4_en_priv *priv) ...@@ -371,7 +371,7 @@ static void mlx4_en_set_default_moderation(struct mlx4_en_priv *priv)
int i; int i;
/* If we haven't received a specific coalescing setting /* If we haven't received a specific coalescing setting
* (module param), we set the moderation paramters as follows: * (module param), we set the moderation parameters as follows:
* - moder_cnt is set to the number of mtu sized packets to * - moder_cnt is set to the number of mtu sized packets to
* satisfy our coelsing target. * satisfy our coelsing target.
* - moder_time is set to a fixed value. * - moder_time is set to a fixed value.
......
...@@ -141,7 +141,7 @@ static int ql_exec_mb_cmd(struct ql_adapter *qdev, struct mbox_params *mbcp) ...@@ -141,7 +141,7 @@ static int ql_exec_mb_cmd(struct ql_adapter *qdev, struct mbox_params *mbcp)
/* We are being asked by firmware to accept /* We are being asked by firmware to accept
* a change to the port. This is only * a change to the port. This is only
* a change to max frame sizes (Tx/Rx), pause * a change to max frame sizes (Tx/Rx), pause
* paramters, or loopback mode. We wake up a worker * parameters, or loopback mode. We wake up a worker
* to handler processing this since a mailbox command * to handler processing this since a mailbox command
* will need to be sent to ACK the request. * will need to be sent to ACK the request.
*/ */
...@@ -371,7 +371,7 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp) ...@@ -371,7 +371,7 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)
/* We are being asked by firmware to accept /* We are being asked by firmware to accept
* a change to the port. This is only * a change to the port. This is only
* a change to max frame sizes (Tx/Rx), pause * a change to max frame sizes (Tx/Rx), pause
* paramters, or loopback mode. * parameters, or loopback mode.
*/ */
case AEN_IDC_REQ: case AEN_IDC_REQ:
status = ql_idc_req_aen(qdev); status = ql_idc_req_aen(qdev);
...@@ -380,7 +380,7 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp) ...@@ -380,7 +380,7 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)
/* Process and inbound IDC event. /* Process and inbound IDC event.
* This will happen when we're trying to * This will happen when we're trying to
* change tx/rx max frame size, change pause * change tx/rx max frame size, change pause
* paramters or loopback mode. * parameters or loopback mode.
*/ */
case AEN_IDC_CMPLT: case AEN_IDC_CMPLT:
case AEN_IDC_EXT: case AEN_IDC_EXT:
......
...@@ -413,7 +413,7 @@ struct smt_p_reason { ...@@ -413,7 +413,7 @@ struct smt_p_reason {
#define SMT_RDF_SUCCESS 0x00000003 /* success (PMF) */ #define SMT_RDF_SUCCESS 0x00000003 /* success (PMF) */
#define SMT_RDF_BADSET 0x00000004 /* bad set count (PMF) */ #define SMT_RDF_BADSET 0x00000004 /* bad set count (PMF) */
#define SMT_RDF_ILLEGAL 0x00000005 /* read only (PMF) */ #define SMT_RDF_ILLEGAL 0x00000005 /* read only (PMF) */
#define SMT_RDF_NOPARAM 0x6 /* paramter not supported (PMF) */ #define SMT_RDF_NOPARAM 0x6 /* parameter not supported (PMF) */
#define SMT_RDF_RANGE 0x8 /* out of range */ #define SMT_RDF_RANGE 0x8 /* out of range */
#define SMT_RDF_AUTHOR 0x9 /* not autohorized */ #define SMT_RDF_AUTHOR 0x9 /* not autohorized */
#define SMT_RDF_LENGTH 0x0a /* length error */ #define SMT_RDF_LENGTH 0x0a /* length error */
......
...@@ -79,7 +79,7 @@ MODULE_AUTHOR("Mike Phillips <mikep@linuxtr.net>") ; ...@@ -79,7 +79,7 @@ MODULE_AUTHOR("Mike Phillips <mikep@linuxtr.net>") ;
MODULE_DESCRIPTION("3Com 3C359 Velocity XL Token Ring Adapter Driver \n") ; MODULE_DESCRIPTION("3Com 3C359 Velocity XL Token Ring Adapter Driver \n") ;
MODULE_FIRMWARE(FW_NAME); MODULE_FIRMWARE(FW_NAME);
/* Module paramters */ /* Module parameters */
/* Ring Speed 0,4,16 /* Ring Speed 0,4,16
* 0 = Autosense * 0 = Autosense
......
...@@ -169,7 +169,7 @@ static char *open_min_error[] = { ...@@ -169,7 +169,7 @@ static char *open_min_error[] = {
"Monitor Contention failer for RPL", "FDX Protocol Error" "Monitor Contention failer for RPL", "FDX Protocol Error"
}; };
/* Module paramters */ /* Module parameters */
/* Ring Speed 0,4,16 /* Ring Speed 0,4,16
* 0 = Autosense * 0 = Autosense
......
...@@ -132,7 +132,7 @@ static char *open_min_error[] = {"No error", "Function Failure", "Signal Lost", ...@@ -132,7 +132,7 @@ static char *open_min_error[] = {"No error", "Function Failure", "Signal Lost",
"Reserved", "Reserved", "No Monitor Detected for RPL", "Reserved", "Reserved", "No Monitor Detected for RPL",
"Monitor Contention failer for RPL", "FDX Protocol Error"}; "Monitor Contention failer for RPL", "FDX Protocol Error"};
/* Module paramters */ /* Module parameters */
MODULE_AUTHOR("Mike Phillips <mikep@linuxtr.net>") ; MODULE_AUTHOR("Mike Phillips <mikep@linuxtr.net>") ;
MODULE_DESCRIPTION("Olympic PCI/Cardbus Chipset Driver") ; MODULE_DESCRIPTION("Olympic PCI/Cardbus Chipset Driver") ;
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* Limitation: * Limitation:
* Can only get/set setttings of the first queue. * Can only get/set setttings of the first queue.
* Need to re-open the interface manually after changing some paramters. * Need to re-open the interface manually after changing some parameters.
* *
* This program is free software; you can redistribute it and/or modify it * This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the * under the terms of the GNU General Public License as published by the
......
...@@ -235,7 +235,7 @@ void rt2x00link_reset_tuner(struct rt2x00_dev *rt2x00dev, bool antenna); ...@@ -235,7 +235,7 @@ void rt2x00link_reset_tuner(struct rt2x00_dev *rt2x00dev, bool antenna);
* @rt2x00dev: Pointer to &struct rt2x00_dev. * @rt2x00dev: Pointer to &struct rt2x00_dev.
* *
* Initialize work structure and all link tuning related * Initialize work structure and all link tuning related
* paramters. This will not start the link tuning process itself. * parameters. This will not start the link tuning process itself.
*/ */
void rt2x00link_register(struct rt2x00_dev *rt2x00dev); void rt2x00link_register(struct rt2x00_dev *rt2x00dev);
......
...@@ -138,7 +138,7 @@ psa_read(struct net_device * dev, ...@@ -138,7 +138,7 @@ psa_read(struct net_device * dev,
/*------------------------------------------------------------------*/ /*------------------------------------------------------------------*/
/* /*
* Write the Paramter Storage Area to the WaveLAN card's memory * Write the Parameter Storage Area to the WaveLAN card's memory
*/ */
static void static void
psa_write(struct net_device * dev, psa_write(struct net_device * dev,
......
...@@ -827,8 +827,8 @@ lpfc_cmd_blksize(struct scsi_cmnd *sc) ...@@ -827,8 +827,8 @@ lpfc_cmd_blksize(struct scsi_cmnd *sc)
* @reftag: out: ref tag (reference tag) * @reftag: out: ref tag (reference tag)
* *
* Description: * Description:
* Extract DIF paramters from the command if possible. Otherwise, * Extract DIF parameters from the command if possible. Otherwise,
* use default paratmers. * use default parameters.
* *
**/ **/
static inline void static inline void
......
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
#define SIS_WEISR_B 0xac #define SIS_WEISR_B 0xac
/* Playback DMA parameters (paramter RAM) */ /* Playback DMA parameters (parameter RAM) */
#define SIS_PLAY_DMA_OFFSET 0x0000 #define SIS_PLAY_DMA_OFFSET 0x0000
#define SIS_PLAY_DMA_SIZE 0x10 #define SIS_PLAY_DMA_SIZE 0x10
#define SIS_PLAY_DMA_ADDR(addr, num) \ #define SIS_PLAY_DMA_ADDR(addr, num) \
...@@ -228,7 +228,7 @@ ...@@ -228,7 +228,7 @@
#define SIS_PLAY_DMA_SSO_MASK 0xffff0000 #define SIS_PLAY_DMA_SSO_MASK 0xffff0000
#define SIS_PLAY_DMA_ESO_MASK 0x0000ffff #define SIS_PLAY_DMA_ESO_MASK 0x0000ffff
/* Capture DMA parameters (paramter RAM) */ /* Capture DMA parameters (parameter RAM) */
#define SIS_CAPTURE_DMA_OFFSET 0x0800 #define SIS_CAPTURE_DMA_OFFSET 0x0800
#define SIS_CAPTURE_DMA_SIZE 0x10 #define SIS_CAPTURE_DMA_SIZE 0x10
#define SIS_CAPTURE_DMA_ADDR(addr, num) \ #define SIS_CAPTURE_DMA_ADDR(addr, num) \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册