]> git.openfabrics.org - ~shefty/rdma-dev.git/commitdiff
treewide: Fix typos in various parts of the kernel, and fix some comments.
authorJustin P. Mattock <justinmattock@gmail.com>
Tue, 29 Nov 2011 04:31:00 +0000 (20:31 -0800)
committerJiri Kosina <jkosina@suse.cz>
Fri, 2 Dec 2011 13:57:31 +0000 (14:57 +0100)
The below patch fixes some typos in various parts of the kernel, as well as fixes some comments.
Please let me know if I missed anything, and I will try to get it changed and resent.

Signed-off-by: Justin P. Mattock <justinmattock@gmail.com>
Acked-by: Randy Dunlap <rdunlap@xenotime.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
46 files changed:
arch/arm/plat-omap/include/plat/serial.h
arch/powerpc/include/asm/io.h
arch/powerpc/include/asm/keylargo.h
arch/powerpc/mm/numa.c
arch/sparc/kernel/smp_64.c
drivers/acpi/acpica/hwxface.c
drivers/block/xen-blkback/xenbus.c
drivers/char/ipmi/ipmi_bt_sm.c
drivers/edac/ppc4xx_edac.c
drivers/media/video/zoran/zoran_driver.c
drivers/message/fusion/lsi/mpi_ioc.h
drivers/net/irda/nsc-ircc.c
drivers/net/irda/via-ircc.c
drivers/net/irda/w83977af_ir.c
drivers/net/wimax/i2400m/i2400m.h
drivers/net/wireless/rtlwifi/rtl8192de/hw.c
drivers/parport/parport_mfc3.c
drivers/scsi/aic7xxx/aicasm/aicasm.c
drivers/scsi/ips.c
drivers/scsi/qla4xxx/ql4_fw.h
drivers/scsi/vmw_pvscsi.c
drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c
drivers/staging/cxt1e1/libsbew.h
drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
drivers/staging/iio/industrialio-trigger.c
drivers/staging/sep/sep_driver.c
drivers/staging/tidspbridge/Kconfig
drivers/staging/tidspbridge/rmgr/dbdcd.c
drivers/usb/host/hwa-hc.c
drivers/usb/host/imx21-hcd.c
drivers/usb/otg/fsl_otg.c
drivers/uwb/i1480/dfu/usb.c
fs/btrfs/inode.c
fs/ext3/inode.c
fs/ext4/inode.c
fs/nfsd/nfs4state.c
fs/ocfs2/file.c
fs/xfs/xfs_file.c
fs/xfs/xfs_log_cil.c
include/drm/drmP.h
include/linux/wanrouter.h
include/net/mac80211.h
net/ipv4/ip_fragment.c
net/mac80211/work.c
net/sctp/endpointola.c

index 1ab9fd6abe6de8e837e06260fbb58ff03f6b4d6f..ac44bde5d36d18ac16a6c5f06a39c05e005e0cb7 100644 (file)
@@ -2,7 +2,7 @@
  * arch/arm/plat-omap/include/mach/serial.h
  *
  * Copyright (C) 2009 Texas Instruments
- * Addded OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com>
+ * Added OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com>
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
index 45698d55cd6ade2db176787f3bb6362631126a2d..a3855b81eada2ed893a6d272198e6add4b85752e 100644 (file)
@@ -394,7 +394,7 @@ __do_out_asm(_rec_outl, "stwbrx")
 #endif /* CONFIG_PPC32 */
 
 /* The "__do_*" operations below provide the actual "base" implementation
- * for each of the defined acccessor. Some of them use the out_* functions
+ * for each of the defined accessors. Some of them use the out_* functions
  * directly, some of them still use EEH, though we might change that in the
  * future. Those macros below provide the necessary argument swapping and
  * handling of the IO base for PIO.
index d8520ef121f90e1f86db8dd460b6199b62e6741f..fc195d0b3c34d7ed96485bd6eebc8cf499eed7a2 100644 (file)
@@ -51,7 +51,7 @@
 
 #define KL_GPIO_SOUND_POWER            (KEYLARGO_GPIO_0+0x05)
 
-/* Hrm... this one is only to be used on Pismo. It seeem to also
+/* Hrm... this one is only to be used on Pismo. It seems to also
  * control the timebase enable on other machines. Still to be
  * experimented... --BenH.
  */
index b22a83a91cb852b92d023529e3f1b3bf011dce38..ae0a611f5741ad2946fb790153cd06b319fcb7f8 100644 (file)
@@ -521,7 +521,7 @@ static int of_get_assoc_arrays(struct device_node *memory,
        aa->n_arrays = *prop++;
        aa->array_sz = *prop++;
 
-       /* Now that we know the number of arrrays and size of each array,
+       /* Now that we know the number of arrays and size of each array,
         * revalidate the size of the property read in.
         */
        if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int))
index 75607724d290bb42c568d2dc27d5d8e4dd1a0cbc..3b1bd7c501640575a8fc5f5c493e3ba63b58ea1a 100644 (file)
@@ -840,7 +840,7 @@ static void tsb_sync(void *info)
        struct trap_per_cpu *tp = &trap_block[raw_smp_processor_id()];
        struct mm_struct *mm = info;
 
-       /* It is not valid to test "currrent->active_mm == mm" here.
+       /* It is not valid to test "current->active_mm == mm" here.
         *
         * The value of "current" is not changed atomically with
         * switch_mm().  But that's OK, we just need to check the
index c2793a82f120cae892508419c41a61569e63327e..d707756228c2eaddec8d4c99cd00ce3d19b92da8 100644 (file)
@@ -356,7 +356,7 @@ ACPI_EXPORT_SYMBOL(acpi_read_bit_register)
  *
  * PARAMETERS:  register_id     - ID of ACPI Bit Register to access
  *              Value           - Value to write to the register, in bit
- *                                position zero. The bit is automaticallly
+ *                                position zero. The bit is automatically
  *                                shifted to the correct position.
  *
  * RETURN:      Status
index f759ad4584c306acb8937c52d80c1f7b567ae986..8069322e4c9e8baa7aab978821e1d4e2f00a0f98 100644 (file)
@@ -613,7 +613,7 @@ static void frontend_changed(struct xenbus_device *dev,
        case XenbusStateConnected:
                /*
                 * Ensure we connect even when two watches fire in
-                * close successsion and we miss the intermediate value
+                * close succession and we miss the intermediate value
                 * of frontend_state.
                 */
                if (dev->state == XenbusStateConnected)
index 3ed20e8abc0d063a1a45f0021ed1e59221f71ea0..cdd4c09fda963b2de1e1e3371090a93625d0b771 100644 (file)
@@ -560,7 +560,7 @@ static enum si_sm_result bt_event(struct si_sm_data *bt, long time)
                BT_CONTROL(BT_H_BUSY);          /* set */
 
                /*
-                * Uncached, ordered writes should just proceeed serially but
+                * Uncached, ordered writes should just proceed serially but
                 * some BMCs don't clear B2H_ATN with one hit.  Fast-path a
                 * workaround without too much penalty to the general case.
                 */
index 38400963e245f93b74beb056f7e5fa10f2209680..fc757069c6af61672fdf51e3e471d9e0dddfa527 100644 (file)
 
 /*
  * The ibm,sdram-4xx-ddr2 Device Control Registers (DCRs) are
- * indirectly acccessed and have a base and length defined by the
+ * indirectly accessed and have a base and length defined by the
  * device tree. The base can be anything; however, we expect the
  * length to be precisely two registers, the first for the address
  * window and the second for the data window.
index d4d05d2ace654ca3698491f7e57dde47530c04b4..f6d26419445ee8728367fe925ed3f80d2d484092 100644 (file)
@@ -1550,7 +1550,7 @@ static int zoran_enum_fmt(struct zoran *zr, struct v4l2_fmtdesc *fmt, int flag)
                if (zoran_formats[i].flags & flag && num++ == fmt->index) {
                        strncpy(fmt->description, zoran_formats[i].name,
                                sizeof(fmt->description) - 1);
-                       /* fmt struct pre-zeroed, so adding '\0' not neeed */
+                       /* fmt struct pre-zeroed, so adding '\0' not needed */
                        fmt->pixelformat = zoran_formats[i].fourcc;
                        if (zoran_formats[i].flags & ZORAN_FORMAT_COMPRESSED)
                                fmt->flags |= V4L2_FMT_FLAG_COMPRESSED;
index fd6222882a0e8e3fa18b7d2f91fc3164f0291ba9..19fb21b8f0ce68c06cc01ce1d2eb811bef303edd 100644 (file)
@@ -857,7 +857,7 @@ typedef struct _EVENT_DATA_SAS_DISCOVERY
 #define MPI_EVENT_SAS_DSCVRY_PHY_BITS_MASK                  (0xFFFF0000)
 #define MPI_EVENT_SAS_DSCVRY_PHY_BITS_SHIFT                 (16)
 
-/* SAS Discovery Errror Event data */
+/* SAS Discovery Error Event data */
 
 typedef struct _EVENT_DATA_DISCOVERY_ERROR
 {
index b56636da6cc3b2f9b3fcea751ca17a925a9f408b..2a4f2f153244fd86e3991a290cd98a2cbaefd3da 100644 (file)
@@ -1664,7 +1664,7 @@ static int nsc_ircc_dma_xmit_complete(struct nsc_ircc_cb *self)
        switch_bank(iobase, BANK0);
         outb(inb(iobase+MCR) & ~MCR_DMA_EN, iobase+MCR);
        
-       /* Check for underrrun! */
+       /* Check for underrun! */
        if (inb(iobase+ASCR) & ASCR_TXUR) {
                self->netdev->stats.tx_errors++;
                self->netdev->stats.tx_fifo_errors++;
index 6d6479049aa119b70eb6ce2ff2856d0d886e6f15..2d456dd164fb0e26a82e02d2c0142e1d2d4414c7 100644 (file)
@@ -942,14 +942,14 @@ static int via_ircc_dma_xmit_complete(struct via_ircc_cb *self)
        iobase = self->io.fir_base;
        /* Disable DMA */
 //      DisableDmaChannel(self->io.dma);
-       /* Check for underrrun! */
+       /* Check for underrun! */
        /* Clear bit, by writing 1 into it */
        Tx_status = GetTXStatus(iobase);
        if (Tx_status & 0x08) {
                self->netdev->stats.tx_errors++;
                self->netdev->stats.tx_fifo_errors++;
                hwreset(self);
-// how to clear underrrun ?
+       /* how to clear underrun? */
        } else {
                self->netdev->stats.tx_packets++;
                ResetChip(iobase, 3);
index c4366601b06722b4495e5a1c2c4a0a11ce7a8e0b..7d43506c70328cfc70801c9fa20050e2d5e683fd 100644 (file)
@@ -677,7 +677,7 @@ static void w83977af_dma_xmit_complete(struct w83977af_ir *self)
        switch_bank(iobase, SET0);
        outb(inb(iobase+HCR) & ~HCR_EN_DMA, iobase+HCR);
        
-       /* Check for underrrun! */
+       /* Check for underrun! */
        if (inb(iobase+AUDR) & AUDR_UNDR) {
                IRDA_DEBUG(0, "%s(), Transmit underrun!\n", __func__ );
                
index c421a61418543dff5891023f44b6a8ff070f9dc3..c806d4550212111de5c7a1e40c3334ca6349aa68 100644 (file)
@@ -75,7 +75,7 @@
  *        device is up and running or shutdown (through ifconfig up /
  *        down). Bus-generic only.
  *
- *  - control ops: control.c - implements various commmands for
+ *  - control ops: control.c - implements various commands for
  *        controlling the device. bus-generic only.
  *
  *  - device model glue: driver.c - implements helpers for the
index f5bd3a3cd34accd7508f1e9717dcd1fa26c262b7..9d89d7ccdafb7fa389499ae5d9d6df1be75ddc0b 100644 (file)
@@ -466,8 +466,8 @@ void rtl92de_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val)
                bool int_migration = *(bool *) (val);
 
                if (int_migration) {
-                       /* Set interrrupt migration timer and
-                        * corresponging Tx/Rx counter.
+                       /* Set interrupt migration timer and
+                        * corresponding Tx/Rx counter.
                         * timer 25ns*0xfa0=100us for 0xf packets.
                         * 0x306:Rx, 0x307:Tx */
                        rtl_write_dword(rtlpriv, REG_INT_MIG, 0xfe000fa0);
index 362db31d8ca6f092853961cb383c0db69cda5230..1c0c642b3e239cb1eff405330a24b35aa8d9d2ee 100644 (file)
@@ -397,7 +397,7 @@ static void __exit parport_mfc3_exit(void)
 
 
 MODULE_AUTHOR("Joerg Dorchain <joerg@dorchain.net>");
-MODULE_DESCRIPTION("Parport Driver for Multiface 3 expansion cards Paralllel Port");
+MODULE_DESCRIPTION("Parport Driver for Multiface 3 expansion cards Parallel Port");
 MODULE_SUPPORTED_DEVICE("Multiface 3 Parallel Port");
 MODULE_LICENSE("GPL");
 
index e4a778720301d4f5bcae7a5ed50b2785ad8ccf3b..2e3117aa382f2c701dad91de81fcfef4c38f1b8a 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Aic7xxx SCSI host adapter firmware asssembler
+ * Aic7xxx SCSI host adapter firmware assembler
  *
  * Copyright (c) 1997, 1998, 2000, 2001 Justin T. Gibbs.
  * Copyright (c) 2001, 2002 Adaptec Inc.
index 218f71a8726ea2538f42a519e50ea46c71864797..d77891e5683b45dff601c87856ed2fdbbf1ec5eb 100644 (file)
@@ -4494,7 +4494,7 @@ ips_init_scb(ips_ha_t * ha, ips_scb_t * scb)
 /*                                                                          */
 /*   Initialize a CCB to default values                                     */
 /*                                                                          */
-/* ASSUMED to be callled from within a lock                                 */
+/* ASSUMED to be called from within a lock                                 */
 /*                                                                          */
 /****************************************************************************/
 static ips_scb_t *
index cbd5a20dbbd150c7a1fbe4840b7a547a1097dc2a..866af45b3d6c113c3f34832740f2fd6ae3078472 100644 (file)
@@ -744,7 +744,7 @@ struct dev_db_entry {
        uint8_t res4[0x36];     /* 8A-BF */
        uint8_t iscsi_name[0xE0];       /* C0-19F : xxzzy Make this a
                                         * pointer to a string so we
-                                        * don't have to reserve soooo
+                                        * don't have to reserve so
                                         * much RAM */
        uint8_t link_local_ipv6_addr[0x10]; /* 1A0-1AF */
        uint8_t res5[0x10];     /* 1B0-1BF */
index a18996d244664588ac1f7d2ea07cca0be3e29e7d..7264116185d590eba8ed6154552c0f17b3ad109a 100644 (file)
@@ -1144,7 +1144,7 @@ static void pvscsi_release_resources(struct pvscsi_adapter *adapter)
  *
  * These are statically allocated.  Trying to be clever was not worth it.
  *
- * Dynamic allocation can fail, and we can't go deeep into the memory
+ * Dynamic allocation can fail, and we can't go deep into the memory
  * allocator, since we're a SCSI driver, and trying too hard to allocate
  * memory might generate disk I/O.  We also don't want to fail disk I/O
  * in that case because we can't get an allocation - the I/O could be
index c75a1a1fd7750c51b8c23fc7570d922c0ae3e22f..f9545b064eaf0a05400d29b31b6e1b1c0da1d560 100644 (file)
@@ -3598,7 +3598,7 @@ int i_APCI3200_InterruptHandleEos(struct comedi_device *dev)
                        n = comedi_buf_write_alloc(s->async,
                                (7 + 12) * sizeof(unsigned int));
 
-                       /*  If not enougth memory available, event is set to Comedi Buffer Errror */
+                       /*  If not enough memory available, event is set to Comedi Buffer Error */
                        if (n > ((7 + 12) * sizeof(unsigned int))) {
                                printk("\ncomedi_buf_write_alloc n = %i", n);
                                s->async->events |= COMEDI_CB_ERROR;
index 5c99646cd1033980b9c9d28c7a710c720603998a..ae8f06d05bed3d52669f2bcc546e94f8320148bf 100644 (file)
@@ -323,7 +323,7 @@ struct sbecom_port_param
 #define CFG_CH_DINV_TX      0x02
 
 
-/* Posssible resettable chipsets/functions */
+/* Possible resettable chipsets/functions */
 #define RESET_DEV_TEMUX     1
 #define RESET_DEV_TECT3     RESET_DEV_TEMUX
 #define RESET_DEV_PLL       2
index b3d743a3d30899995f5a849de32b53e863b93b8e..917bbb082a6ed4f88b6e90d687eb2dbd6a319e5b 100644 (file)
@@ -344,10 +344,10 @@ static void ft1000_reset_asic(struct net_device *dev)
        }
        mdelay(1);
        if (info->AsicID == ELECTRABUZZ_ID) {
-               // set watermark to -1 in order to not generate an interrrupt
+               // set watermark to -1 in order to not generate an interrupt
                ft1000_write_reg(dev, FT1000_REG_WATERMARK, 0xffff);
        } else {
-               // set watermark to -1 in order to not generate an interrrupt
+               // set watermark to -1 in order to not generate an interrupt
                ft1000_write_reg(dev, FT1000_REG_MAG_WATERMARK, 0xffff);
        }
        // clear interrupts
index aaf44c3598278fc3033a8464038464e53a3860f5..43b1d363107e1f7afe4d6f6dc38dd560d372f44f 100644 (file)
@@ -601,7 +601,7 @@ static void ft1000_reset_asic(struct net_device *dev)
 
        mdelay(1);
 
-       /* set watermark to -1 in order to not generate an interrrupt */
+       /* set watermark to -1 in order to not generate an interrupt */
        ft1000_write_register(ft1000dev, 0xffff, FT1000_REG_MAG_WATERMARK);
 
        /* clear interrupts */
index 2c626e0cb29c33d192b95507a5f6440c8daf46d5..68a4d4e8c63526122e8c6da7a979d55b1c57ecdc 100644 (file)
@@ -295,7 +295,7 @@ void iio_dealloc_pollfunc(struct iio_poll_func *pf)
 EXPORT_SYMBOL_GPL(iio_dealloc_pollfunc);
 
 /**
- * iio_trigger_read_currrent() - trigger consumer sysfs query which trigger
+ * iio_trigger_read_current() - trigger consumer sysfs query which trigger
  *
  * For trigger consumers the current_trigger interface allows the trigger
  * used by the device to be queried.
index 8ac3faea2d2ffa64e6212d9488090b95b35e93fd..f47571ea745d7bf929c46fcc61d181421fa475dd 100644 (file)
@@ -1235,7 +1235,7 @@ static void sep_build_lli_table(struct sep_device *sep,
        /* Counter of lli array entry */
        u32 array_counter;
 
-       /* Init currrent table data size and lli array entry counter */
+       /* Init current table data size and lli array entry counter */
        curr_table_data_size = 0;
        array_counter = 0;
        *num_table_entries_ptr = 1;
index 93de4f2e8bf89defcd6e83e00c2cbe1cd93b8dd4..21a559ecbbb1f6c0af311e147218fac5a797083c 100644 (file)
@@ -78,7 +78,7 @@ config TIDSPBRIDGE_NTFY_PWRERR
        bool "Notify power errors"
        depends on TIDSPBRIDGE
        help
-         Enable notifications to registered clients on the event of power errror
+         Enable notifications to registered clients on the event of power error
          trying to suspend bridge driver. Say Y, to signal this event as a fatal
          error, this will require a bridge restart to recover.
 
index a7e407e2518718adf70ef2262733d8097624251f..fda240214cd6eae2a5e2110afe50e88e5ce00474 100644 (file)
@@ -285,7 +285,7 @@ int dcd_enumerate_object(s32 index, enum dsp_dcdobjtype obj_type,
                        enum_refs = 0;
 
                        /*
-                        * TODO: Revisit, this is not an errror case but code
+                        * TODO: Revisit, this is not an error case but code
                         * expects non-zero value.
                         */
                        status = ENODATA;
index 9bfac657572e2eb4aadb9aaec3899ac887448986..b5c56a99da02956afc432cc879f71e2319e20e58 100644 (file)
@@ -481,7 +481,7 @@ static int __hwahc_op_set_ptk(struct wusbhc *wusbhc, u8 port_idx, u32 tkid,
                encryption_value = 0;
        }
 
-       /* Set the encryption type for commmunicating with the device */
+       /* Set the encryption type for communicating with the device */
        result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0),
                        USB_REQ_SET_ENCRYPTION,
                        USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
index 2ee18cfa1efe37e4dfecaee0b2c8db8611c96139..dbf0f156ed9e6ea2e2e2d761f68592dfa40b2b3b 100644 (file)
@@ -473,7 +473,7 @@ static void free_epdmem(struct imx21 *imx21, struct usb_host_endpoint *ep)
 /* End handling                                */
 /* =========================================== */
 
-/* Endpoint now idle - release it's ETD(s) or asssign to queued request */
+/* Endpoint now idle - release its ETD(s) or assign to queued request */
 static void ep_idle(struct imx21 *imx21, struct ep_priv *ep_priv)
 {
        int i;
index 0f420b25e9a948d1009c1f93042288918796ca03..2d9cc445fc73f501933a040b9cc5546984d5d3a4 100644 (file)
@@ -639,7 +639,7 @@ static int fsl_otg_set_power(struct otg_transceiver *otg_p, unsigned mA)
  * Delayed pin detect interrupt processing.
  *
  * When the Mini-A cable is disconnected from the board,
- * the pin-detect interrupt happens before the disconnnect
+ * the pin-detect interrupt happens before the disconnect
  * interrupts for the connected device(s).  In order to
  * process the disconnect interrupt(s) prior to switching
  * roles, the pin-detect interrupts are delayed, and handled
index ba8664328afa965ab63d5b2ee305a517fa0ed9a2..a315d4d25cc0b536928a490eab412fa428b19bd6 100644 (file)
@@ -104,7 +104,7 @@ void i1480_usb_destroy(struct i1480_usb *i1480_usb)
  *
  * Data buffers to USB cannot be on the stack or in vmalloc'ed areas,
  * so we copy it to the local i1480 buffer before proceeding. In any
- * case, we have a max size we can send, soooo.
+ * case, we have a max size we can send.
  */
 static
 int i1480_usb_write(struct i1480 *i1480, u32 memory_address,
index 116ab67a06dfcae9929669392f7267ed925c806b..c3308c38ae752681d5918adc8b0335e98edb1b67 100644 (file)
@@ -1943,7 +1943,7 @@ enum btrfs_orphan_cleanup_state {
 };
 
 /*
- * This is called in transaction commmit time. If there are no orphan
+ * This is called in transaction commit time. If there are no orphan
  * files in the subvolume, it removes orphan item and frees block_rsv
  * structure.
  */
index 85fe655fe3e0b4de006a32df3c6dee615082bc73..15cb47088aac79083efa18203be0e35bea759292 100644 (file)
@@ -2490,7 +2490,7 @@ int ext3_can_truncate(struct inode *inode)
  * transaction, and VFS/VM ensures that ext3_truncate() cannot run
  * simultaneously on behalf of the same inode.
  *
- * As we work through the truncate and commmit bits of it to the journal there
+ * As we work through the truncate and commit bits of it to the journal there
  * is one core, guiding principle: the file's tree must always be consistent on
  * disk.  We must be able to restart the truncate after a crash.
  *
index 240f6e2dc7eeb593e4143e05fc15e4565db155b1..b1c57bf43132e19c46898f9e2e67aa1043a0b4af 100644 (file)
@@ -3502,7 +3502,7 @@ int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
  * transaction, and VFS/VM ensures that ext4_truncate() cannot run
  * simultaneously on behalf of the same inode.
  *
- * As we work through the truncate and commmit bits of it to the journal there
+ * As we work through the truncate and commit bits of it to the journal there
  * is one core, guiding principle: the file's tree must always be consistent on
  * disk.  We must be able to restart the truncate after a crash.
  *
index 47e94e33a975d801ddefbf36d4ed793333ff141b..9ca16dc09e04878bd89bf4e471e5364f719d3aef 100644 (file)
@@ -658,7 +658,7 @@ static int nfsd4_sanitize_slot_size(u32 size)
 /*
  * XXX: If we run out of reserved DRC memory we could (up to a point)
  * re-negotiate active sessions and reduce their slot usage to make
- * rooom for new connections. For now we just fail the create session.
+ * room for new connections. For now we just fail the create session.
  */
 static int nfsd4_get_drc_mem(int slotsize, u32 num)
 {
index de4ea1af041b654f8f1b4f1a000f6492226f701f..199c606c56a558d19ff058b85b32fb1bbc57ebaa 100644 (file)
@@ -2108,7 +2108,7 @@ static int ocfs2_prepare_inode_for_write(struct file *file,
                 * remove_suid() calls ->setattr without any hint that
                 * we may have already done our cluster locking. Since
                 * ocfs2_setattr() *must* take cluster locks to
-                * proceeed, this will lead us to recursively lock the
+                * proceed, this will lead us to recursively lock the
                 * inode. There's also the dinode i_size state which
                 * can be lost via setattr during extending writes (we
                 * set inode->i_size at the end of a write. */
index 753ed9b5c70b941522108cee6ddeb7130b1f5d81..f675f3d9d7b3b3693cfabc0437d52ca31a4f598a 100644 (file)
@@ -209,10 +209,10 @@ xfs_file_fsync(
 
        /*
         * First check if the VFS inode is marked dirty.  All the dirtying
-        * of non-transactional updates no goes through mark_inode_dirty*,
-        * which allows us to distinguish beteeen pure timestamp updates
+        * of non-transactional updates do not go through mark_inode_dirty*,
+        * which allows us to distinguish between pure timestamp updates
         * and i_size updates which need to be caught for fdatasync.
-        * After that also theck for the dirty state in the XFS inode, which
+        * After that also check for the dirty state in the XFS inode, which
         * might gets cleared when the inode gets written out via the AIL
         * or xfs_iflush_cluster.
         */
index c7755d5a5fbe967ed58bb04ffcc0d47d082a87e4..3ba29b114323d0bf88b395f737e585102312ecc8 100644 (file)
@@ -256,7 +256,7 @@ xfs_cil_prepare_item(
  * Insert the log items into the CIL and calculate the difference in space
  * consumed by the item. Add the space to the checkpoint ticket and calculate
  * if the change requires additional log metadata. If it does, take that space
- * as well. Remove the amount of space we addded to the checkpoint ticket from
+ * as well. Remove the amount of space we added to the checkpoint ticket from
  * the current transaction ticket so that the accounting works out correctly.
  */
 static void
index 1f9e9516e2b75da38aa87abbf774d1505803cc98..e8acca892af00a50ed38213103e306642091493e 100644 (file)
@@ -820,7 +820,7 @@ struct drm_driver {
         * Specifically, the timestamp in @vblank_time should correspond as
         * closely as possible to the time when the first video scanline of
         * the video frame after the end of VBLANK will start scanning out,
-        * the time immmediately after end of the VBLANK interval. If the
+        * the time immediately after end of the VBLANK interval. If the
         * @crtc is currently inside VBLANK, this will be a time in the future.
         * If the @crtc is currently scanning out a frame, this will be the
         * past start time of the current scanout. This is meant to adhere
index e0aa39612eba2ff30d5f6f3d5347485d8275efee..3157cc1fada66f3a986c8a52f762ea54667b6157 100644 (file)
@@ -309,7 +309,7 @@ typedef struct wandev_conf
 #define WANOPT_EVEN    2
 
 /* CHDLC Protocol Options */
-/* DF Commmented out for now.
+/* DF Commented out for now.
 
 #define WANOPT_CHDLC_NO_DCD            IGNORE_DCD_FOR_LINK_STAT
 #define WANOPT_CHDLC_NO_CTS            IGNORE_CTS_FOR_LINK_STAT
index 72eddd1b410b9c8418216c17d74910585fdec975..bd3487d5ac84f8f21dcf26036ace4b9b88f9eea8 100644 (file)
@@ -1423,7 +1423,7 @@ ieee80211_get_alt_retry_rate(const struct ieee80211_hw *hw,
  * DOC: Beacon filter support
  *
  * Some hardware have beacon filter support to reduce host cpu wakeups
- * which will reduce system power consumption. It usuallly works so that
+ * which will reduce system power consumption. It usually works so that
  * the firmware creates a checksum of the beacon but omits all constantly
  * changing elements (TSF, TIM etc). Whenever the checksum changes the
  * beacon is forwarded to the host, otherwise it will be just dropped. That
index fdaabf2f2b68c13a1f66f31e92ac961a69fa7061..1f23a57aa9e68bcafd83a00426deab83ffd49559 100644 (file)
@@ -392,7 +392,7 @@ static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb)
        /* Is this the final fragment? */
        if ((flags & IP_MF) == 0) {
                /* If we already have some bits beyond end
-                * or have different end, the segment is corrrupted.
+                * or have different end, the segment is corrupted.
                 */
                if (end < qp->q.len ||
                    ((qp->q.last_in & INET_FRAG_LAST_IN) && end != qp->q.len))
index 6c53b6d1002b5a2046837fe2ec60d7687bd0c973..2accea37742e25e2ae61ad2d740ecd102979dd3f 100644 (file)
@@ -1094,7 +1094,7 @@ static void ieee80211_work_work(struct work_struct *work)
                local->tmp_channel = NULL;
                /* If tmp_channel wasn't operating channel, then
                 * we need to go back on-channel.
-                * NOTE:  If we can ever be here while scannning,
+                * NOTE:  If we can ever be here while scanning,
                 * or if the hw_config() channel config logic changes,
                 * then we may need to do a more thorough check to see if
                 * we still need to do a hardware config.  Currently,
index c8cc24e282c38697ac1cddd072cb983670dd55d3..68a385d7c3bdaaab2ebed8c7f4bec94dc53d4c79 100644 (file)
@@ -415,7 +415,7 @@ static void sctp_endpoint_bh_rcv(struct work_struct *work)
        sctp_subtype_t subtype;
        sctp_state_t state;
        int error = 0;
-       int first_time = 1;     /* is this the first time through the looop */
+       int first_time = 1;     /* is this the first time through the loop */
 
        if (ep->base.dead)
                return;