Skip to content

Commit

Permalink
trivial: fix typos s/paramter/parameter/ and s/excute/execute/ in doc…
Browse files Browse the repository at this point in the history
…umentation and source comments.

Signed-off-by: Martin Olsson <[email protected]>
Signed-off-by: Jiri Kosina <[email protected]>
  • Loading branch information
mo authored and Jiri Kosina committed Jun 12, 2009
1 parent ab2274a commit 98a1708
Show file tree
Hide file tree
Showing 22 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion Documentation/powerpc/dts-bindings/fsl/board.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Required properities:
- reg : Should contain the address and the length of the GPIO bank
register.
- #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.

Example:
Expand Down
2 changes: 1 addition & 1 deletion Documentation/powerpc/dts-bindings/fsl/cpm_qe/gpio.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Required properties:
"fsl,cpm1-pario-bank-c", "fsl,cpm1-pario-bank-d",
"fsl,cpm1-pario-bank-e", "fsl,cpm2-pario-bank"
- #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.

Example of three SOC GPIO banks defined as gpio-controller nodes:
Expand Down
2 changes: 1 addition & 1 deletion arch/s390/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ __HEAD
.org 0x100
#
# subroutine for loading from tape
# Paramters:
# Parameters:
# R1 = device number
# R2 = load address
.Lloader:
Expand Down
4 changes: 2 additions & 2 deletions drivers/ata/libata-acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -748,9 +748,9 @@ static int ata_acpi_run_tf(struct ata_device *dev,
/**
* ata_acpi_exec_tfs - get then write drive taskfile settings
* @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:
* EH context.
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/libata-eh.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* @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
* ata_set_mode() fails, pointer to the failing device is
Expand Down
2 changes: 1 addition & 1 deletion drivers/edac/e752x_edac.c
Original file line number Diff line number Diff line change
Expand Up @@ -1084,7 +1084,7 @@ static void e752x_init_sysbus_parity_mask(struct e752x_pvt *pvt)
struct pci_dev *dev = pvt->dev_d0f1;
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) {
enable = sysbus_parity;
} else if (cpu_id[0] &&
Expand Down
2 changes: 1 addition & 1 deletion drivers/isdn/divert/isdn_divert.c
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ int cf_command(int drvid, int mode,
(mode != 1) ? "" : " 0 ",
(mode != 1) ? "" : fwd_nr);

retval = divert_if.ll_cmd(&cs->ics); /* excute command */
retval = divert_if.ll_cmd(&cs->ics); /* execute command */

if (!retval)
{ cs->prev = NULL;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/appletalk/ltpc.c
Original file line number Diff line number Diff line change
Expand Up @@ -1220,7 +1220,7 @@ static int __init ltpc_setup(char *str)
if (ints[0] > 2) {
dma = ints[3];
}
/* ignore any other paramters */
/* ignore any other parameters */
}
return 1;
}
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/e1000e/e1000.h
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ struct e1000_info;
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_MSI 1
#define E1000E_INT_MODE_MSIX 2
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ehea/ehea.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
u32 type;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/igbvf/igbvf.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ struct igbvf_adapter;
/* Interrupt defines */
#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_MSI 1
#define IGBVF_INT_MODE_MSIX 2
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/mlx4/en_netdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ static void mlx4_en_set_default_moderation(struct mlx4_en_priv *priv)
int i;

/* 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
* satisfy our coelsing target.
* - moder_time is set to a fixed value.
Expand Down
6 changes: 3 additions & 3 deletions drivers/net/qlge/qlge_mpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
* a change to the port. This is only
* 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
* will need to be sent to ACK the request.
*/
Expand Down Expand Up @@ -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
* a change to the port. This is only
* a change to max frame sizes (Tx/Rx), pause
* paramters, or loopback mode.
* parameters, or loopback mode.
*/
case AEN_IDC_REQ:
status = ql_idc_req_aen(qdev);
Expand All @@ -380,7 +380,7 @@ static int ql_mpi_handler(struct ql_adapter *qdev, struct mbox_params *mbcp)
/* Process and inbound IDC event.
* This will happen when we're trying to
* change tx/rx max frame size, change pause
* paramters or loopback mode.
* parameters or loopback mode.
*/
case AEN_IDC_CMPLT:
case AEN_IDC_EXT:
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/skfp/h/smt.h
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ struct smt_p_reason {
#define SMT_RDF_SUCCESS 0x00000003 /* success (PMF) */
#define SMT_RDF_BADSET 0x00000004 /* bad set count (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_AUTHOR 0x9 /* not autohorized */
#define SMT_RDF_LENGTH 0x0a /* length error */
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/tokenring/3c359.c
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ MODULE_AUTHOR("Mike Phillips <[email protected]>") ;
MODULE_DESCRIPTION("3Com 3C359 Velocity XL Token Ring Adapter Driver \n") ;
MODULE_FIRMWARE(FW_NAME);

/* Module paramters */
/* Module parameters */

/* Ring Speed 0,4,16
* 0 = Autosense
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/tokenring/lanstreamer.c
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ static char *open_min_error[] = {
"Monitor Contention failer for RPL", "FDX Protocol Error"
};

/* Module paramters */
/* Module parameters */

/* Ring Speed 0,4,16
* 0 = Autosense
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/tokenring/olympic.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static char *open_min_error[] = {"No error", "Function Failure", "Signal Lost",
"Reserved", "Reserved", "No Monitor Detected for RPL",
"Monitor Contention failer for RPL", "FDX Protocol Error"};

/* Module paramters */
/* Module parameters */

MODULE_AUTHOR("Mike Phillips <[email protected]>") ;
MODULE_DESCRIPTION("Olympic PCI/Cardbus Chipset Driver") ;
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/ucc_geth_ethtool.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* Limitation:
* 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
* under the terms of the GNU General Public License as published by the
Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/rt2x00/rt2x00lib.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void rt2x00link_reset_tuner(struct rt2x00_dev *rt2x00dev, bool antenna);
* @rt2x00dev: Pointer to &struct rt2x00_dev.
*
* 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);

Expand Down
2 changes: 1 addition & 1 deletion drivers/net/wireless/wavelan_cs.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
psa_write(struct net_device * dev,
Expand Down
4 changes: 2 additions & 2 deletions drivers/scsi/lpfc/lpfc_scsi.c
Original file line number Diff line number Diff line change
Expand Up @@ -827,8 +827,8 @@ lpfc_cmd_blksize(struct scsi_cmnd *sc)
* @reftag: out: ref tag (reference tag)
*
* Description:
* Extract DIF paramters from the command if possible. Otherwise,
* use default paratmers.
* Extract DIF parameters from the command if possible. Otherwise,
* use default parameters.
*
**/
static inline void
Expand Down
4 changes: 2 additions & 2 deletions sound/pci/sis7019.h
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@
#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_SIZE 0x10
#define SIS_PLAY_DMA_ADDR(addr, num) \
Expand All @@ -228,7 +228,7 @@
#define SIS_PLAY_DMA_SSO_MASK 0xffff0000
#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_SIZE 0x10
#define SIS_CAPTURE_DMA_ADDR(addr, num) \
Expand Down

0 comments on commit 98a1708

Please sign in to comment.