Skip to content

Commit

Permalink
Fix misspellings of "system", "controller", "interrupt" and "necessary".
Browse files Browse the repository at this point in the history
Fix the various misspellings of "system", controller", "interrupt" and
"[un]necessary".

Signed-off-by: Robert P. J. Day <[email protected]>
Signed-off-by: Adrian Bunk <[email protected]>
  • Loading branch information
Robert P. J. Day authored and AdrianBunk committed Oct 19, 2007
1 parent 18735dd commit 3a4fa0a
Show file tree
Hide file tree
Showing 89 changed files with 117 additions and 117 deletions.
2 changes: 1 addition & 1 deletion Documentation/filesystems/Locking
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ against the page the filesystem should redirty the page with
redirty_page_for_writepage(), then unlock the page and return zero.
This may also be done to avoid internal deadlocks, but rarely.

If the filesytem is called for sync then it must wait on any
If the filesystem is called for sync then it must wait on any
in-progress I/O and then start new I/O.

The filesystem should unlock the page synchronously, before returning to the
Expand Down
2 changes: 1 addition & 1 deletion Documentation/mips/AU1xxx_IDE.README
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ Four configs variables are introduced:
CONFIG_BLK_DEV_IDE_AU1XXX_PIO_DBDMA - enable the PIO+DBDMA mode
CONFIG_BLK_DEV_IDE_AU1XXX_MDMA2_DBDMA - enable the MWDMA mode
CONFIG_BLK_DEV_IDE_AU1XXX_BURSTABLE_ON - set Burstable FIFO in DBDMA
controler
controller
CONFIG_BLK_DEV_IDE_AU1XXX_SEQTS_PER_RQ - maximum transfer size
per descriptor

Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-at91/gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ void __init at91_gpio_irq_setup(void)
for (i = 0; i < 32; i++, pin++) {
/*
* Can use the "simple" and not "edge" handler since it's
* shorter, and the AIC handles interupts sanely.
* shorter, and the AIC handles interrupts sanely.
*/
set_irq_chip(pin, &gpio_irqchip);
set_irq_handler(pin, handle_simple_irq);
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2410/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ int __init s3c2410_baseclk_add(void)
}

/* We must be careful disabling the clocks we are not intending to
* be using at boot time, as subsytems such as the LCD which do
* be using at boot time, as subsystems such as the LCD which do
* their own DMA requests to the bus can cause the system to lockup
* if they where in the middle of requesting bus access.
*
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2412/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ int __init s3c2412_baseclk_add(void)
}

/* We must be careful disabling the clocks we are not intending to
* be using at boot time, as subsytems such as the LCD which do
* be using at boot time, as subsystems such as the LCD which do
* their own DMA requests to the bus can cause the system to lockup
* if they where in the middle of requesting bus access.
*
Expand Down
2 changes: 1 addition & 1 deletion arch/arm/mach-s3c2443/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -1005,7 +1005,7 @@ void __init s3c2443_init_clocks(int xtal)
}

/* We must be careful disabling the clocks we are not intending to
* be using at boot time, as subsytems such as the LCD which do
* be using at boot time, as subsystems such as the LCD which do
* their own DMA requests to the bus can cause the system to lockup
* if they where in the middle of requesting bus access.
*
Expand Down
2 changes: 1 addition & 1 deletion arch/cris/arch-v10/drivers/pcf8563.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* From Phillips' datasheet:
*
* The PCF8563 is a CMOS real-time clock/calendar optimized for low power
* consumption. A programmable clock output, interupt output and voltage
* consumption. A programmable clock output, interrupt output and voltage
* low detector are also provided. All address and data are transferred
* serially via two-line bidirectional I2C-bus. Maximum bus speed is
* 400 kbits/s. The built-in word address register is incremented
Expand Down
2 changes: 1 addition & 1 deletion arch/cris/arch-v32/drivers/pcf8563.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* From Phillips' datasheet:
*
* The PCF8563 is a CMOS real-time clock/calendar optimized for low power
* consumption. A programmable clock output, interupt output and voltage
* consumption. A programmable clock output, interrupt output and voltage
* low detector are also provided. All address and data are transferred
* serially via two-line bidirectional I2C-bus. Maximum bus speed is
* 400 kbits/s. The built-in word address register is incremented
Expand Down
2 changes: 1 addition & 1 deletion arch/h8300/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ static void h8300_shutdown_irq(unsigned int irq)
}

/*
* h8300 interrupt controler implementation
* h8300 interrupt controller implementation
*/
struct irq_chip h8300irq_chip = {
.name = "H8300-INTC",
Expand Down
2 changes: 1 addition & 1 deletion arch/m68knommu/platform/5307/pit.c
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ unsigned long coldfire_pit_offset(void)

/*
* If we are still in the first half of the upcount and a
* timer interupt is pending, then add on a ticks worth of time.
* timer interrupt is pending, then add on a ticks worth of time.
*/
offset = ((pmr - pcntr) * (1000000 / HZ)) / pmr;
if ((offset < (1000000 / HZ / 2)) && (*ipr & MCFPIT_IMR_IBIT))
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/kernel/module.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ const struct exception_table_entry *search_module_dbetables(unsigned long addr)
return e;
}

/* Put in dbe list if neccessary. */
/* Put in dbe list if necessary. */
int module_finalize(const Elf_Ehdr *hdr,
const Elf_Shdr *sechdrs,
struct module *me)
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/pci/pci-excite.c
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ static int __init basler_excite_pci_setup(void)
ocd_writel(0x00000000, bar + 0x100);
}

/* Finally, enable the PCI interupt */
/* Finally, enable the PCI interrupt */
#if USB_IRQ > 7
set_c0_intcontrol(1 << USB_IRQ);
#else
Expand Down
2 changes: 1 addition & 1 deletion arch/mips/sni/pcimt.c
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ static void pcimt_hwint1(void)
/*
* Note: ASIC PCI's builtin interrupt achknowledge feature is
* broken. Using it may result in loss of some or all i8259
* interupts, so don't use PCIMT_INT_ACKNOWLEDGE ...
* interrupts, so don't use PCIMT_INT_ACKNOWLEDGE ...
*/
irq = i8259_irq();
if (unlikely(irq < 0))
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/celleb/scc_uhc.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ static inline int uhc_clkctrl_ready(u32 val)
}

/*
* UHC(usb host controler) enable function.
* UHC(usb host controller) enable function.
* affect to both of OHCI and EHCI core module.
*/
static void enable_scc_uhc(struct pci_dev *dev)
Expand Down
2 changes: 1 addition & 1 deletion arch/sh64/kernel/pci_sh5.c
Original file line number Diff line number Diff line change
Expand Up @@ -480,7 +480,7 @@ static int __init pcibios_init(void)
return -EINVAL;
}

/* The pci subsytem needs to know where memory is and how much
/* The pci subsystem needs to know where memory is and how much
* of it there is. I've simply made these globals. A better mechanism
* is probably needed.
*/
Expand Down
2 changes: 1 addition & 1 deletion arch/x86/kernel/suspend_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ void fix_processor_context(void)
int cpu = smp_processor_id();
struct tss_struct *t = &per_cpu(init_tss, cpu);

set_tss_desc(cpu,t); /* This just modifies memory; should not be neccessary. But... This is neccessary, because 386 hardware has concept of busy TSS or some similar stupidity. */
set_tss_desc(cpu,t); /* This just modifies memory; should not be necessary. But... This is necessary, because 386 hardware has concept of busy TSS or some similar stupidity. */

cpu_gdt(cpu)[GDT_ENTRY_TSS].type = 9;

Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/ahci.c
Original file line number Diff line number Diff line change
Expand Up @@ -1479,7 +1479,7 @@ static void ahci_port_intr(struct ata_port *ap)
return;
}

/* hmmm... a spurious interupt */
/* hmmm... a spurious interrupt */

/* if !NCQ, ignore. No modern ATA device has broken HSM
* implementation for non-NCQ commands.
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/libata-sff.c
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ int ata_pci_init_one(struct pci_dev *pdev,
* @pdev: PCI device
*
* Some PCI ATA devices report simplex mode but in fact can be told to
* enter non simplex mode. This implements the neccessary logic to
* enter non simplex mode. This implements the necessary logic to
* perform the task on such devices. Calling it on other devices will
* have -undefined- behaviour.
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_cs5530.c
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ static void cs5530_set_dmamode(struct ata_port *ap, struct ata_device *adev)
*
* Called when the libata layer is about to issue a command. We wrap
* this interface so that we can load the correct ATA timings if
* neccessary. Specifically we have a problem that there is only
* necessary. Specifically we have a problem that there is only
* one MWDMA/UDMA bit.
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_cs5535.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
* Documentation:
* Available from AMD web site.
* TODO
* Review errata to see if serializing is neccessary
* Review errata to see if serializing is necessary
*/

#include <linux/kernel.h>
Expand Down
4 changes: 2 additions & 2 deletions drivers/ata/pata_it821x.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ struct it821x_dev

/*
* We allow users to force the card into non raid mode without
* flashing the alternative BIOS. This is also neccessary right now
* flashing the alternative BIOS. This is also necessary right now
* for embedded platforms that cannot run a PC BIOS but are using this
* device.
*/
Expand Down Expand Up @@ -383,7 +383,7 @@ static void it821x_passthru_bmdma_stop(struct ata_queued_cmd *qc)
* @ap: ATA port
* @device: Device number (not pointer)
*
* Device selection hook. If neccessary perform clock switching
* Device selection hook. If necessary perform clock switching
*/

static void it821x_passthru_dev_select(struct ata_port *ap,
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_mpiix.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ static void mpiix_set_piomode(struct ata_port *ap, struct ata_device *adev)
*
* Called when the libata layer is about to issue a command. We wrap
* this interface so that we can load the correct ATA timings if
* neccessary. Our logic also clears TIME0/TIME1 for the other device so
* necessary. Our logic also clears TIME0/TIME1 for the other device so
* that, even if we get this wrong, cycles to the other device will
* be made PIO0.
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_ns87410.c
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ static void ns87410_set_piomode(struct ata_port *ap, struct ata_device *adev)
*
* Called when the libata layer is about to issue a command. We wrap
* this interface so that we can load the correct ATA timings if
* neccessary.
* necessary.
*/

static unsigned int ns87410_qc_issue_prot(struct ata_queued_cmd *qc)
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_oldpiix.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ static void oldpiix_set_dmamode (struct ata_port *ap, struct ata_device *adev)
*
* Called when the libata layer is about to issue a command. We wrap
* this interface so that we can load the correct ATA timings if
* neccessary. Our logic also clears TIME0/TIME1 for the other device so
* necessary. Our logic also clears TIME0/TIME1 for the other device so
* that, even if we get this wrong, cycles to the other device will
* be made PIO0.
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_radisys.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ static void radisys_set_dmamode (struct ata_port *ap, struct ata_device *adev)
*
* Called when the libata layer is about to issue a command. We wrap
* this interface so that we can load the correct ATA timings if
* neccessary. Our logic also clears TIME0/TIME1 for the other device so
* necessary. Our logic also clears TIME0/TIME1 for the other device so
* that, even if we get this wrong, cycles to the other device will
* be made PIO0.
*/
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_sc1200.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ static void sc1200_set_dmamode(struct ata_port *ap, struct ata_device *adev)
*
* Called when the libata layer is about to issue a command. We wrap
* this interface so that we can load the correct ATA timings if
* neccessary. Specifically we have a problem that there is only
* necessary. Specifically we have a problem that there is only
* one MWDMA/UDMA bit.
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_sil680.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
*
* If you have strange problems with nVidia chipset systems please
* see the SI support documentation and update your system BIOS
* if neccessary
* if necessary
*
* TODO
* If we know all our devices are LBA28 (or LBA28 sized) we could use
Expand Down
2 changes: 1 addition & 1 deletion drivers/ata/pata_via.c
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ static struct ata_port_operations via_port_ops_noirq = {
* @pdev: PCI device
* @flags: configuration flags
*
* Set the FIFO properties for this device if neccessary. Used both on
* Set the FIFO properties for this device if necessary. Used both on
* set up and on and the resume path
*/

Expand Down
2 changes: 1 addition & 1 deletion drivers/atm/firestream.c
Original file line number Diff line number Diff line change
Expand Up @@ -1596,7 +1596,7 @@ static irqreturn_t fs_irq (int irq, void *dev_id)

/* print the bits in the ISR register. */
if (fs_debug & FS_DEBUG_IRQ) {
/* The FS_DEBUG things are unneccesary here. But this way it is
/* The FS_DEBUG things are unnecessary here. But this way it is
clear for grep that these are debug prints. */
fs_dprintk (FS_DEBUG_IRQ, "IRQ status:");
for (i=0;i<27;i++)
Expand Down
2 changes: 1 addition & 1 deletion drivers/block/rd.c
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ static int rd_open(struct inode *inode, struct file *filp)
/*
* Deep badness. rd_blkdev_pagecache_IO() needs to allocate
* pagecache pages within a request_fn. We cannot recur back
* into the filesytem which is mounted atop the ramdisk, because
* into the filesystem which is mounted atop the ramdisk, because
* that would deadlock on fs locks. And we really don't want
* to reenter rd_blkdev_pagecache_IO when we're already within
* that function.
Expand Down
4 changes: 2 additions & 2 deletions drivers/char/n_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -437,7 +437,7 @@ static inline void finish_erasing(struct tty_struct *tty)
* @c: character input
* @tty: terminal device
*
* Perform erase and neccessary output when an erase character is
* Perform erase and necessary output when an erase character is
* present in the stream from the driver layer. Handles the complexities
* of UTF-8 multibyte symbols.
*/
Expand Down Expand Up @@ -657,7 +657,7 @@ static inline void n_tty_receive_overrun(struct tty_struct *tty)
* @c: character
*
* Process a parity error and queue the right data to indicate
* the error case if neccessary. Locking as per n_tty_receive_buf.
* the error case if necessary. Locking as per n_tty_receive_buf.
*/
static inline void n_tty_receive_parity_error(struct tty_struct *tty,
unsigned char c)
Expand Down
2 changes: 1 addition & 1 deletion drivers/char/rocket.c
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ static void rp_do_poll(unsigned long dummy)
/* Get a ptr to the board's control struct */
ctlp = sCtlNumToCtlPtr(ctrl);

/* Get the interupt status from the board */
/* Get the interrupt status from the board */
#ifdef CONFIG_PCI
if (ctlp->BusType == isPCI)
CtlMask = sPCIGetControllerIntStatus(ctlp);
Expand Down
8 changes: 4 additions & 4 deletions drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ EXPORT_SYMBOL_GPL(tty_ldisc_deref);
* @tty: terminal to activate ldisc on
*
* Set the TTY_LDISC flag when the line discipline can be called
* again. Do neccessary wakeups for existing sleepers.
* again. Do necessary wakeups for existing sleepers.
*
* Note: nobody should set this bit except via this function. Clearing
* directly is allowed.
Expand Down Expand Up @@ -1504,7 +1504,7 @@ EXPORT_SYMBOL(tty_hangup);
*
* The user has asked via system call for the terminal to be hung up.
* We do this synchronously so that when the syscall returns the process
* is complete. That guarantee is neccessary for security reasons.
* is complete. That guarantee is necessary for security reasons.
*/

void tty_vhangup(struct tty_struct * tty)
Expand Down Expand Up @@ -1691,7 +1691,7 @@ EXPORT_SYMBOL(stop_tty);
* @tty: tty to start
*
* Start a tty that has been stopped if at all possible. Perform
* any neccessary wakeups and propagate the TIOCPKT status. If this
* any necessary wakeups and propagate the TIOCPKT status. If this
* is the tty was previous stopped and is being started then the
* driver start method is invoked and the line discipline woken.
*
Expand Down Expand Up @@ -2877,7 +2877,7 @@ static int tty_fasync(int fd, struct file * filp, int on)
* @tty: tty to fake input into
* @p: pointer to character
*
* Fake input to a tty device. Does the neccessary locking and
* Fake input to a tty device. Does the necessary locking and
* input management.
*
* FIXME: does not honour flow control ??
Expand Down
2 changes: 1 addition & 1 deletion drivers/char/tty_ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ static void change_termios(struct tty_struct * tty, struct ktermios * new_termio
* @arg: user data
* @opt: option information
*
* Helper function to prepare termios data and run neccessary other
* Helper function to prepare termios data and run necessary other
* functions before using change_termios to do the actual changes.
*
* Locking:
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/ide-tape.c
Original file line number Diff line number Diff line change
Expand Up @@ -565,7 +565,7 @@ typedef struct os_dat_s {
* The following parameter is used to select the point in the internal
* tape fifo in which we will start to refill the buffer. Decreasing
* the following parameter will improve the system's latency and
* interactive response, while using a high value might improve sytem
* interactive response, while using a high value might improve system
* throughput.
*/
#define IDETAPE_FIFO_THRESHOLD 2
Expand Down
4 changes: 2 additions & 2 deletions drivers/ide/pci/it821x.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ struct it821x_dev

/*
* We allow users to force the card into non raid mode without
* flashing the alternative BIOS. This is also neccessary right now
* flashing the alternative BIOS. This is also necessary right now
* for embedded platforms that cannot run a PC BIOS but are using this
* device.
*/
Expand Down Expand Up @@ -564,7 +564,7 @@ static void __devinit init_hwif_it821x(ide_hwif_t *hwif)

/*
* Not in the docs but according to the reference driver
* this is neccessary.
* this is necessary.
*/

pci_read_config_byte(hwif->pci_dev, 0x08, &conf);
Expand Down
2 changes: 1 addition & 1 deletion drivers/ide/pci/siimage.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*
* If you have strange problems with nVidia chipset systems please
* see the SI support documentation and update your system BIOS
* if neccessary
* if necessary
*
* The Dell DRAC4 has some interesting features including effectively hot
* unplugging/replugging the virtual CD interface when the DRAC is reset.
Expand Down
2 changes: 1 addition & 1 deletion drivers/md/dm-crypt.c
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ static void clone_init(struct dm_crypt_io *, struct bio *);
* Different IV generation algorithms:
*
* plain: the initial vector is the 32-bit little-endian version of the sector
* number, padded with zeros if neccessary.
* number, padded with zeros if necessary.
*
* essiv: "encrypted sector|salt initial vector", the sector number is
* encrypted with the bulk cipher using a salt as key. The salt
Expand Down
Loading

0 comments on commit 3a4fa0a

Please sign in to comment.