aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2011-11-28 23:31:00 -0500
committerJiri Kosina <jkosina@suse.cz>2011-12-02 08:57:31 -0500
commit42b2aa86c6670347a2a07e6d7af0e0ecc8fdbff9 (patch)
tree6f8fb2a1efb3e84bf281658befe06dc6a7fb026b
parenta13b032776379fa6e2bfccf798969ca51e5fb052 (diff)
treewide: Fix typos in various parts of the kernel, and fix some comments.
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>
-rw-r--r--arch/arm/plat-omap/include/plat/serial.h2
-rw-r--r--arch/powerpc/include/asm/io.h2
-rw-r--r--arch/powerpc/include/asm/keylargo.h2
-rw-r--r--arch/powerpc/mm/numa.c2
-rw-r--r--arch/sparc/kernel/smp_64.c2
-rw-r--r--drivers/acpi/acpica/hwxface.c2
-rw-r--r--drivers/block/xen-blkback/xenbus.c2
-rw-r--r--drivers/char/ipmi/ipmi_bt_sm.c2
-rw-r--r--drivers/edac/ppc4xx_edac.c2
-rw-r--r--drivers/media/video/zoran/zoran_driver.c2
-rw-r--r--drivers/message/fusion/lsi/mpi_ioc.h2
-rw-r--r--drivers/net/irda/nsc-ircc.c2
-rw-r--r--drivers/net/irda/via-ircc.c4
-rw-r--r--drivers/net/irda/w83977af_ir.c2
-rw-r--r--drivers/net/wimax/i2400m/i2400m.h2
-rw-r--r--drivers/net/wireless/rtlwifi/rtl8192de/hw.c4
-rw-r--r--drivers/parport/parport_mfc3.c2
-rw-r--r--drivers/scsi/aic7xxx/aicasm/aicasm.c2
-rw-r--r--drivers/scsi/ips.c2
-rw-r--r--drivers/scsi/qla4xxx/ql4_fw.h2
-rw-r--r--drivers/scsi/vmw_pvscsi.c2
-rw-r--r--drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c2
-rw-r--r--drivers/staging/cxt1e1/libsbew.h2
-rw-r--r--drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c4
-rw-r--r--drivers/staging/ft1000/ft1000-usb/ft1000_hw.c2
-rw-r--r--drivers/staging/iio/industrialio-trigger.c2
-rw-r--r--drivers/staging/sep/sep_driver.c2
-rw-r--r--drivers/staging/tidspbridge/Kconfig2
-rw-r--r--drivers/staging/tidspbridge/rmgr/dbdcd.c2
-rw-r--r--drivers/usb/host/hwa-hc.c2
-rw-r--r--drivers/usb/host/imx21-hcd.c2
-rw-r--r--drivers/usb/otg/fsl_otg.c2
-rw-r--r--drivers/uwb/i1480/dfu/usb.c2
-rw-r--r--fs/btrfs/inode.c2
-rw-r--r--fs/ext3/inode.c2
-rw-r--r--fs/ext4/inode.c2
-rw-r--r--fs/nfsd/nfs4state.c2
-rw-r--r--fs/ocfs2/file.c2
-rw-r--r--fs/xfs/xfs_file.c6
-rw-r--r--fs/xfs/xfs_log_cil.c2
-rw-r--r--include/drm/drmP.h2
-rw-r--r--include/linux/wanrouter.h2
-rw-r--r--include/net/mac80211.h2
-rw-r--r--net/ipv4/ip_fragment.c2
-rw-r--r--net/mac80211/work.c2
-rw-r--r--net/sctp/endpointola.c2
46 files changed, 51 insertions, 51 deletions
diff --git a/arch/arm/plat-omap/include/plat/serial.h b/arch/arm/plat-omap/include/plat/serial.h
index 1ab9fd6abe6..ac44bde5d36 100644
--- a/arch/arm/plat-omap/include/plat/serial.h
+++ b/arch/arm/plat-omap/include/plat/serial.h
@@ -2,7 +2,7 @@
2 * arch/arm/plat-omap/include/mach/serial.h 2 * arch/arm/plat-omap/include/mach/serial.h
3 * 3 *
4 * Copyright (C) 2009 Texas Instruments 4 * Copyright (C) 2009 Texas Instruments
5 * Addded OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com> 5 * Added OMAP4 support- Santosh Shilimkar <santosh.shilimkar@ti.com>
6 * 6 *
7 * This program is distributed in the hope that it will be useful, 7 * This program is distributed in the hope that it will be useful,
8 * but WITHOUT ANY WARRANTY; without even the implied warranty of 8 * but WITHOUT ANY WARRANTY; without even the implied warranty of
diff --git a/arch/powerpc/include/asm/io.h b/arch/powerpc/include/asm/io.h
index 45698d55cd6..a3855b81ead 100644
--- a/arch/powerpc/include/asm/io.h
+++ b/arch/powerpc/include/asm/io.h
@@ -394,7 +394,7 @@ __do_out_asm(_rec_outl, "stwbrx")
394#endif /* CONFIG_PPC32 */ 394#endif /* CONFIG_PPC32 */
395 395
396/* The "__do_*" operations below provide the actual "base" implementation 396/* The "__do_*" operations below provide the actual "base" implementation
397 * for each of the defined acccessor. Some of them use the out_* functions 397 * for each of the defined accessors. Some of them use the out_* functions
398 * directly, some of them still use EEH, though we might change that in the 398 * directly, some of them still use EEH, though we might change that in the
399 * future. Those macros below provide the necessary argument swapping and 399 * future. Those macros below provide the necessary argument swapping and
400 * handling of the IO base for PIO. 400 * handling of the IO base for PIO.
diff --git a/arch/powerpc/include/asm/keylargo.h b/arch/powerpc/include/asm/keylargo.h
index d8520ef121f..fc195d0b3c3 100644
--- a/arch/powerpc/include/asm/keylargo.h
+++ b/arch/powerpc/include/asm/keylargo.h
@@ -51,7 +51,7 @@
51 51
52#define KL_GPIO_SOUND_POWER (KEYLARGO_GPIO_0+0x05) 52#define KL_GPIO_SOUND_POWER (KEYLARGO_GPIO_0+0x05)
53 53
54/* Hrm... this one is only to be used on Pismo. It seeem to also 54/* Hrm... this one is only to be used on Pismo. It seems to also
55 * control the timebase enable on other machines. Still to be 55 * control the timebase enable on other machines. Still to be
56 * experimented... --BenH. 56 * experimented... --BenH.
57 */ 57 */
diff --git a/arch/powerpc/mm/numa.c b/arch/powerpc/mm/numa.c
index b22a83a91cb..ae0a611f574 100644
--- a/arch/powerpc/mm/numa.c
+++ b/arch/powerpc/mm/numa.c
@@ -521,7 +521,7 @@ static int of_get_assoc_arrays(struct device_node *memory,
521 aa->n_arrays = *prop++; 521 aa->n_arrays = *prop++;
522 aa->array_sz = *prop++; 522 aa->array_sz = *prop++;
523 523
524 /* Now that we know the number of arrrays and size of each array, 524 /* Now that we know the number of arrays and size of each array,
525 * revalidate the size of the property read in. 525 * revalidate the size of the property read in.
526 */ 526 */
527 if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int)) 527 if (len < (aa->n_arrays * aa->array_sz + 2) * sizeof(unsigned int))
diff --git a/arch/sparc/kernel/smp_64.c b/arch/sparc/kernel/smp_64.c
index 75607724d29..3b1bd7c5016 100644
--- a/arch/sparc/kernel/smp_64.c
+++ b/arch/sparc/kernel/smp_64.c
@@ -840,7 +840,7 @@ static void tsb_sync(void *info)
840 struct trap_per_cpu *tp = &trap_block[raw_smp_processor_id()]; 840 struct trap_per_cpu *tp = &trap_block[raw_smp_processor_id()];
841 struct mm_struct *mm = info; 841 struct mm_struct *mm = info;
842 842
843 /* It is not valid to test "currrent->active_mm == mm" here. 843 /* It is not valid to test "current->active_mm == mm" here.
844 * 844 *
845 * The value of "current" is not changed atomically with 845 * The value of "current" is not changed atomically with
846 * switch_mm(). But that's OK, we just need to check the 846 * switch_mm(). But that's OK, we just need to check the
diff --git a/drivers/acpi/acpica/hwxface.c b/drivers/acpi/acpica/hwxface.c
index c2793a82f12..d707756228c 100644
--- a/drivers/acpi/acpica/hwxface.c
+++ b/drivers/acpi/acpica/hwxface.c
@@ -356,7 +356,7 @@ ACPI_EXPORT_SYMBOL(acpi_read_bit_register)
356 * 356 *
357 * PARAMETERS: register_id - ID of ACPI Bit Register to access 357 * PARAMETERS: register_id - ID of ACPI Bit Register to access
358 * Value - Value to write to the register, in bit 358 * Value - Value to write to the register, in bit
359 * position zero. The bit is automaticallly 359 * position zero. The bit is automatically
360 * shifted to the correct position. 360 * shifted to the correct position.
361 * 361 *
362 * RETURN: Status 362 * RETURN: Status
diff --git a/drivers/block/xen-blkback/xenbus.c b/drivers/block/xen-blkback/xenbus.c
index f759ad4584c..8069322e4c9 100644
--- a/drivers/block/xen-blkback/xenbus.c
+++ b/drivers/block/xen-blkback/xenbus.c
@@ -613,7 +613,7 @@ static void frontend_changed(struct xenbus_device *dev,
613 case XenbusStateConnected: 613 case XenbusStateConnected:
614 /* 614 /*
615 * Ensure we connect even when two watches fire in 615 * Ensure we connect even when two watches fire in
616 * close successsion and we miss the intermediate value 616 * close succession and we miss the intermediate value
617 * of frontend_state. 617 * of frontend_state.
618 */ 618 */
619 if (dev->state == XenbusStateConnected) 619 if (dev->state == XenbusStateConnected)
diff --git a/drivers/char/ipmi/ipmi_bt_sm.c b/drivers/char/ipmi/ipmi_bt_sm.c
index 3ed20e8abc0..cdd4c09fda9 100644
--- a/drivers/char/ipmi/ipmi_bt_sm.c
+++ b/drivers/char/ipmi/ipmi_bt_sm.c
@@ -560,7 +560,7 @@ static enum si_sm_result bt_event(struct si_sm_data *bt, long time)
560 BT_CONTROL(BT_H_BUSY); /* set */ 560 BT_CONTROL(BT_H_BUSY); /* set */
561 561
562 /* 562 /*
563 * Uncached, ordered writes should just proceeed serially but 563 * Uncached, ordered writes should just proceed serially but
564 * some BMCs don't clear B2H_ATN with one hit. Fast-path a 564 * some BMCs don't clear B2H_ATN with one hit. Fast-path a
565 * workaround without too much penalty to the general case. 565 * workaround without too much penalty to the general case.
566 */ 566 */
diff --git a/drivers/edac/ppc4xx_edac.c b/drivers/edac/ppc4xx_edac.c
index 38400963e24..fc757069c6a 100644
--- a/drivers/edac/ppc4xx_edac.c
+++ b/drivers/edac/ppc4xx_edac.c
@@ -142,7 +142,7 @@
142 142
143/* 143/*
144 * The ibm,sdram-4xx-ddr2 Device Control Registers (DCRs) are 144 * The ibm,sdram-4xx-ddr2 Device Control Registers (DCRs) are
145 * indirectly acccessed and have a base and length defined by the 145 * indirectly accessed and have a base and length defined by the
146 * device tree. The base can be anything; however, we expect the 146 * device tree. The base can be anything; however, we expect the
147 * length to be precisely two registers, the first for the address 147 * length to be precisely two registers, the first for the address
148 * window and the second for the data window. 148 * window and the second for the data window.
diff --git a/drivers/media/video/zoran/zoran_driver.c b/drivers/media/video/zoran/zoran_driver.c
index d4d05d2ace6..f6d26419445 100644
--- a/drivers/media/video/zoran/zoran_driver.c
+++ b/drivers/media/video/zoran/zoran_driver.c
@@ -1550,7 +1550,7 @@ static int zoran_enum_fmt(struct zoran *zr, struct v4l2_fmtdesc *fmt, int flag)
1550 if (zoran_formats[i].flags & flag && num++ == fmt->index) { 1550 if (zoran_formats[i].flags & flag && num++ == fmt->index) {
1551 strncpy(fmt->description, zoran_formats[i].name, 1551 strncpy(fmt->description, zoran_formats[i].name,
1552 sizeof(fmt->description) - 1); 1552 sizeof(fmt->description) - 1);
1553 /* fmt struct pre-zeroed, so adding '\0' not neeed */ 1553 /* fmt struct pre-zeroed, so adding '\0' not needed */
1554 fmt->pixelformat = zoran_formats[i].fourcc; 1554 fmt->pixelformat = zoran_formats[i].fourcc;
1555 if (zoran_formats[i].flags & ZORAN_FORMAT_COMPRESSED) 1555 if (zoran_formats[i].flags & ZORAN_FORMAT_COMPRESSED)
1556 fmt->flags |= V4L2_FMT_FLAG_COMPRESSED; 1556 fmt->flags |= V4L2_FMT_FLAG_COMPRESSED;
diff --git a/drivers/message/fusion/lsi/mpi_ioc.h b/drivers/message/fusion/lsi/mpi_ioc.h
index fd6222882a0..19fb21b8f0c 100644
--- a/drivers/message/fusion/lsi/mpi_ioc.h
+++ b/drivers/message/fusion/lsi/mpi_ioc.h
@@ -857,7 +857,7 @@ typedef struct _EVENT_DATA_SAS_DISCOVERY
857#define MPI_EVENT_SAS_DSCVRY_PHY_BITS_MASK (0xFFFF0000) 857#define MPI_EVENT_SAS_DSCVRY_PHY_BITS_MASK (0xFFFF0000)
858#define MPI_EVENT_SAS_DSCVRY_PHY_BITS_SHIFT (16) 858#define MPI_EVENT_SAS_DSCVRY_PHY_BITS_SHIFT (16)
859 859
860/* SAS Discovery Errror Event data */ 860/* SAS Discovery Error Event data */
861 861
862typedef struct _EVENT_DATA_DISCOVERY_ERROR 862typedef struct _EVENT_DATA_DISCOVERY_ERROR
863{ 863{
diff --git a/drivers/net/irda/nsc-ircc.c b/drivers/net/irda/nsc-ircc.c
index b56636da6cc..2a4f2f15324 100644
--- a/drivers/net/irda/nsc-ircc.c
+++ b/drivers/net/irda/nsc-ircc.c
@@ -1664,7 +1664,7 @@ static int nsc_ircc_dma_xmit_complete(struct nsc_ircc_cb *self)
1664 switch_bank(iobase, BANK0); 1664 switch_bank(iobase, BANK0);
1665 outb(inb(iobase+MCR) & ~MCR_DMA_EN, iobase+MCR); 1665 outb(inb(iobase+MCR) & ~MCR_DMA_EN, iobase+MCR);
1666 1666
1667 /* Check for underrrun! */ 1667 /* Check for underrun! */
1668 if (inb(iobase+ASCR) & ASCR_TXUR) { 1668 if (inb(iobase+ASCR) & ASCR_TXUR) {
1669 self->netdev->stats.tx_errors++; 1669 self->netdev->stats.tx_errors++;
1670 self->netdev->stats.tx_fifo_errors++; 1670 self->netdev->stats.tx_fifo_errors++;
diff --git a/drivers/net/irda/via-ircc.c b/drivers/net/irda/via-ircc.c
index 6d6479049aa..2d456dd164f 100644
--- a/drivers/net/irda/via-ircc.c
+++ b/drivers/net/irda/via-ircc.c
@@ -942,14 +942,14 @@ static int via_ircc_dma_xmit_complete(struct via_ircc_cb *self)
942 iobase = self->io.fir_base; 942 iobase = self->io.fir_base;
943 /* Disable DMA */ 943 /* Disable DMA */
944// DisableDmaChannel(self->io.dma); 944// DisableDmaChannel(self->io.dma);
945 /* Check for underrrun! */ 945 /* Check for underrun! */
946 /* Clear bit, by writing 1 into it */ 946 /* Clear bit, by writing 1 into it */
947 Tx_status = GetTXStatus(iobase); 947 Tx_status = GetTXStatus(iobase);
948 if (Tx_status & 0x08) { 948 if (Tx_status & 0x08) {
949 self->netdev->stats.tx_errors++; 949 self->netdev->stats.tx_errors++;
950 self->netdev->stats.tx_fifo_errors++; 950 self->netdev->stats.tx_fifo_errors++;
951 hwreset(self); 951 hwreset(self);
952// how to clear underrrun ? 952 /* how to clear underrun? */
953 } else { 953 } else {
954 self->netdev->stats.tx_packets++; 954 self->netdev->stats.tx_packets++;
955 ResetChip(iobase, 3); 955 ResetChip(iobase, 3);
diff --git a/drivers/net/irda/w83977af_ir.c b/drivers/net/irda/w83977af_ir.c
index c4366601b06..7d43506c703 100644
--- a/drivers/net/irda/w83977af_ir.c
+++ b/drivers/net/irda/w83977af_ir.c
@@ -677,7 +677,7 @@ static void w83977af_dma_xmit_complete(struct w83977af_ir *self)
677 switch_bank(iobase, SET0); 677 switch_bank(iobase, SET0);
678 outb(inb(iobase+HCR) & ~HCR_EN_DMA, iobase+HCR); 678 outb(inb(iobase+HCR) & ~HCR_EN_DMA, iobase+HCR);
679 679
680 /* Check for underrrun! */ 680 /* Check for underrun! */
681 if (inb(iobase+AUDR) & AUDR_UNDR) { 681 if (inb(iobase+AUDR) & AUDR_UNDR) {
682 IRDA_DEBUG(0, "%s(), Transmit underrun!\n", __func__ ); 682 IRDA_DEBUG(0, "%s(), Transmit underrun!\n", __func__ );
683 683
diff --git a/drivers/net/wimax/i2400m/i2400m.h b/drivers/net/wimax/i2400m/i2400m.h
index c421a614185..c806d455021 100644
--- a/drivers/net/wimax/i2400m/i2400m.h
+++ b/drivers/net/wimax/i2400m/i2400m.h
@@ -75,7 +75,7 @@
75 * device is up and running or shutdown (through ifconfig up / 75 * device is up and running or shutdown (through ifconfig up /
76 * down). Bus-generic only. 76 * down). Bus-generic only.
77 * 77 *
78 * - control ops: control.c - implements various commmands for 78 * - control ops: control.c - implements various commands for
79 * controlling the device. bus-generic only. 79 * controlling the device. bus-generic only.
80 * 80 *
81 * - device model glue: driver.c - implements helpers for the 81 * - device model glue: driver.c - implements helpers for the
diff --git a/drivers/net/wireless/rtlwifi/rtl8192de/hw.c b/drivers/net/wireless/rtlwifi/rtl8192de/hw.c
index f5bd3a3cd34..9d89d7ccdaf 100644
--- a/drivers/net/wireless/rtlwifi/rtl8192de/hw.c
+++ b/drivers/net/wireless/rtlwifi/rtl8192de/hw.c
@@ -466,8 +466,8 @@ void rtl92de_set_hw_reg(struct ieee80211_hw *hw, u8 variable, u8 *val)
466 bool int_migration = *(bool *) (val); 466 bool int_migration = *(bool *) (val);
467 467
468 if (int_migration) { 468 if (int_migration) {
469 /* Set interrrupt migration timer and 469 /* Set interrupt migration timer and
470 * corresponging Tx/Rx counter. 470 * corresponding Tx/Rx counter.
471 * timer 25ns*0xfa0=100us for 0xf packets. 471 * timer 25ns*0xfa0=100us for 0xf packets.
472 * 0x306:Rx, 0x307:Tx */ 472 * 0x306:Rx, 0x307:Tx */
473 rtl_write_dword(rtlpriv, REG_INT_MIG, 0xfe000fa0); 473 rtl_write_dword(rtlpriv, REG_INT_MIG, 0xfe000fa0);
diff --git a/drivers/parport/parport_mfc3.c b/drivers/parport/parport_mfc3.c
index 362db31d8ca..1c0c642b3e2 100644
--- a/drivers/parport/parport_mfc3.c
+++ b/drivers/parport/parport_mfc3.c
@@ -397,7 +397,7 @@ static void __exit parport_mfc3_exit(void)
397 397
398 398
399MODULE_AUTHOR("Joerg Dorchain <joerg@dorchain.net>"); 399MODULE_AUTHOR("Joerg Dorchain <joerg@dorchain.net>");
400MODULE_DESCRIPTION("Parport Driver for Multiface 3 expansion cards Paralllel Port"); 400MODULE_DESCRIPTION("Parport Driver for Multiface 3 expansion cards Parallel Port");
401MODULE_SUPPORTED_DEVICE("Multiface 3 Parallel Port"); 401MODULE_SUPPORTED_DEVICE("Multiface 3 Parallel Port");
402MODULE_LICENSE("GPL"); 402MODULE_LICENSE("GPL");
403 403
diff --git a/drivers/scsi/aic7xxx/aicasm/aicasm.c b/drivers/scsi/aic7xxx/aicasm/aicasm.c
index e4a77872030..2e3117aa382 100644
--- a/drivers/scsi/aic7xxx/aicasm/aicasm.c
+++ b/drivers/scsi/aic7xxx/aicasm/aicasm.c
@@ -1,5 +1,5 @@
1/* 1/*
2 * Aic7xxx SCSI host adapter firmware asssembler 2 * Aic7xxx SCSI host adapter firmware assembler
3 * 3 *
4 * Copyright (c) 1997, 1998, 2000, 2001 Justin T. Gibbs. 4 * Copyright (c) 1997, 1998, 2000, 2001 Justin T. Gibbs.
5 * Copyright (c) 2001, 2002 Adaptec Inc. 5 * Copyright (c) 2001, 2002 Adaptec Inc.
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c
index 218f71a8726..d77891e5683 100644
--- a/drivers/scsi/ips.c
+++ b/drivers/scsi/ips.c
@@ -4494,7 +4494,7 @@ ips_init_scb(ips_ha_t * ha, ips_scb_t * scb)
4494/* */ 4494/* */
4495/* Initialize a CCB to default values */ 4495/* Initialize a CCB to default values */
4496/* */ 4496/* */
4497/* ASSUMED to be callled from within a lock */ 4497/* ASSUMED to be called from within a lock */
4498/* */ 4498/* */
4499/****************************************************************************/ 4499/****************************************************************************/
4500static ips_scb_t * 4500static ips_scb_t *
diff --git a/drivers/scsi/qla4xxx/ql4_fw.h b/drivers/scsi/qla4xxx/ql4_fw.h
index cbd5a20dbbd..866af45b3d6 100644
--- a/drivers/scsi/qla4xxx/ql4_fw.h
+++ b/drivers/scsi/qla4xxx/ql4_fw.h
@@ -744,7 +744,7 @@ struct dev_db_entry {
744 uint8_t res4[0x36]; /* 8A-BF */ 744 uint8_t res4[0x36]; /* 8A-BF */
745 uint8_t iscsi_name[0xE0]; /* C0-19F : xxzzy Make this a 745 uint8_t iscsi_name[0xE0]; /* C0-19F : xxzzy Make this a
746 * pointer to a string so we 746 * pointer to a string so we
747 * don't have to reserve soooo 747 * don't have to reserve so
748 * much RAM */ 748 * much RAM */
749 uint8_t link_local_ipv6_addr[0x10]; /* 1A0-1AF */ 749 uint8_t link_local_ipv6_addr[0x10]; /* 1A0-1AF */
750 uint8_t res5[0x10]; /* 1B0-1BF */ 750 uint8_t res5[0x10]; /* 1B0-1BF */
diff --git a/drivers/scsi/vmw_pvscsi.c b/drivers/scsi/vmw_pvscsi.c
index a18996d2446..7264116185d 100644
--- a/drivers/scsi/vmw_pvscsi.c
+++ b/drivers/scsi/vmw_pvscsi.c
@@ -1144,7 +1144,7 @@ static void pvscsi_release_resources(struct pvscsi_adapter *adapter)
1144 * 1144 *
1145 * These are statically allocated. Trying to be clever was not worth it. 1145 * These are statically allocated. Trying to be clever was not worth it.
1146 * 1146 *
1147 * Dynamic allocation can fail, and we can't go deeep into the memory 1147 * Dynamic allocation can fail, and we can't go deep into the memory
1148 * allocator, since we're a SCSI driver, and trying too hard to allocate 1148 * allocator, since we're a SCSI driver, and trying too hard to allocate
1149 * memory might generate disk I/O. We also don't want to fail disk I/O 1149 * memory might generate disk I/O. We also don't want to fail disk I/O
1150 * in that case because we can't get an allocation - the I/O could be 1150 * in that case because we can't get an allocation - the I/O could be
diff --git a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c
index c75a1a1fd77..f9545b064ea 100644
--- a/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c
+++ b/drivers/staging/comedi/drivers/addi-data/hwdrv_apci3200.c
@@ -3598,7 +3598,7 @@ int i_APCI3200_InterruptHandleEos(struct comedi_device *dev)
3598 n = comedi_buf_write_alloc(s->async, 3598 n = comedi_buf_write_alloc(s->async,
3599 (7 + 12) * sizeof(unsigned int)); 3599 (7 + 12) * sizeof(unsigned int));
3600 3600
3601 /* If not enougth memory available, event is set to Comedi Buffer Errror */ 3601 /* If not enough memory available, event is set to Comedi Buffer Error */
3602 if (n > ((7 + 12) * sizeof(unsigned int))) { 3602 if (n > ((7 + 12) * sizeof(unsigned int))) {
3603 printk("\ncomedi_buf_write_alloc n = %i", n); 3603 printk("\ncomedi_buf_write_alloc n = %i", n);
3604 s->async->events |= COMEDI_CB_ERROR; 3604 s->async->events |= COMEDI_CB_ERROR;
diff --git a/drivers/staging/cxt1e1/libsbew.h b/drivers/staging/cxt1e1/libsbew.h
index 5c99646cd10..ae8f06d05be 100644
--- a/drivers/staging/cxt1e1/libsbew.h
+++ b/drivers/staging/cxt1e1/libsbew.h
@@ -323,7 +323,7 @@ struct sbecom_port_param
323#define CFG_CH_DINV_TX 0x02 323#define CFG_CH_DINV_TX 0x02
324 324
325 325
326/* Posssible resettable chipsets/functions */ 326/* Possible resettable chipsets/functions */
327#define RESET_DEV_TEMUX 1 327#define RESET_DEV_TEMUX 1
328#define RESET_DEV_TECT3 RESET_DEV_TEMUX 328#define RESET_DEV_TECT3 RESET_DEV_TEMUX
329#define RESET_DEV_PLL 2 329#define RESET_DEV_PLL 2
diff --git a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
index b3d743a3d30..917bbb082a6 100644
--- a/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
+++ b/drivers/staging/ft1000/ft1000-pcmcia/ft1000_hw.c
@@ -344,10 +344,10 @@ static void ft1000_reset_asic(struct net_device *dev)
344 } 344 }
345 mdelay(1); 345 mdelay(1);
346 if (info->AsicID == ELECTRABUZZ_ID) { 346 if (info->AsicID == ELECTRABUZZ_ID) {
347 // set watermark to -1 in order to not generate an interrrupt 347 // set watermark to -1 in order to not generate an interrupt
348 ft1000_write_reg(dev, FT1000_REG_WATERMARK, 0xffff); 348 ft1000_write_reg(dev, FT1000_REG_WATERMARK, 0xffff);
349 } else { 349 } else {
350 // set watermark to -1 in order to not generate an interrrupt 350 // set watermark to -1 in order to not generate an interrupt
351 ft1000_write_reg(dev, FT1000_REG_MAG_WATERMARK, 0xffff); 351 ft1000_write_reg(dev, FT1000_REG_MAG_WATERMARK, 0xffff);
352 } 352 }
353 // clear interrupts 353 // clear interrupts
diff --git a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
index aaf44c35982..43b1d363107 100644
--- a/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
+++ b/drivers/staging/ft1000/ft1000-usb/ft1000_hw.c
@@ -601,7 +601,7 @@ static void ft1000_reset_asic(struct net_device *dev)
601 601
602 mdelay(1); 602 mdelay(1);
603 603
604 /* set watermark to -1 in order to not generate an interrrupt */ 604 /* set watermark to -1 in order to not generate an interrupt */
605 ft1000_write_register(ft1000dev, 0xffff, FT1000_REG_MAG_WATERMARK); 605 ft1000_write_register(ft1000dev, 0xffff, FT1000_REG_MAG_WATERMARK);
606 606
607 /* clear interrupts */ 607 /* clear interrupts */
diff --git a/drivers/staging/iio/industrialio-trigger.c b/drivers/staging/iio/industrialio-trigger.c
index 2c626e0cb29..68a4d4e8c63 100644
--- a/drivers/staging/iio/industrialio-trigger.c
+++ b/drivers/staging/iio/industrialio-trigger.c
@@ -295,7 +295,7 @@ void iio_dealloc_pollfunc(struct iio_poll_func *pf)
295EXPORT_SYMBOL_GPL(iio_dealloc_pollfunc); 295EXPORT_SYMBOL_GPL(iio_dealloc_pollfunc);
296 296
297/** 297/**
298 * iio_trigger_read_currrent() - trigger consumer sysfs query which trigger 298 * iio_trigger_read_current() - trigger consumer sysfs query which trigger
299 * 299 *
300 * For trigger consumers the current_trigger interface allows the trigger 300 * For trigger consumers the current_trigger interface allows the trigger
301 * used by the device to be queried. 301 * used by the device to be queried.
diff --git a/drivers/staging/sep/sep_driver.c b/drivers/staging/sep/sep_driver.c
index 8ac3faea2d2..f47571ea745 100644
--- a/drivers/staging/sep/sep_driver.c
+++ b/drivers/staging/sep/sep_driver.c
@@ -1235,7 +1235,7 @@ static void sep_build_lli_table(struct sep_device *sep,
1235 /* Counter of lli array entry */ 1235 /* Counter of lli array entry */
1236 u32 array_counter; 1236 u32 array_counter;
1237 1237
1238 /* Init currrent table data size and lli array entry counter */ 1238 /* Init current table data size and lli array entry counter */
1239 curr_table_data_size = 0; 1239 curr_table_data_size = 0;
1240 array_counter = 0; 1240 array_counter = 0;
1241 *num_table_entries_ptr = 1; 1241 *num_table_entries_ptr = 1;
diff --git a/drivers/staging/tidspbridge/Kconfig b/drivers/staging/tidspbridge/Kconfig
index 93de4f2e8bf..21a559ecbbb 100644
--- a/drivers/staging/tidspbridge/Kconfig
+++ b/drivers/staging/tidspbridge/Kconfig
@@ -78,7 +78,7 @@ config TIDSPBRIDGE_NTFY_PWRERR
78 bool "Notify power errors" 78 bool "Notify power errors"
79 depends on TIDSPBRIDGE 79 depends on TIDSPBRIDGE
80 help 80 help
81 Enable notifications to registered clients on the event of power errror 81 Enable notifications to registered clients on the event of power error
82 trying to suspend bridge driver. Say Y, to signal this event as a fatal 82 trying to suspend bridge driver. Say Y, to signal this event as a fatal
83 error, this will require a bridge restart to recover. 83 error, this will require a bridge restart to recover.
84 84
diff --git a/drivers/staging/tidspbridge/rmgr/dbdcd.c b/drivers/staging/tidspbridge/rmgr/dbdcd.c
index a7e407e2518..fda240214cd 100644
--- a/drivers/staging/tidspbridge/rmgr/dbdcd.c
+++ b/drivers/staging/tidspbridge/rmgr/dbdcd.c
@@ -285,7 +285,7 @@ int dcd_enumerate_object(s32 index, enum dsp_dcdobjtype obj_type,
285 enum_refs = 0; 285 enum_refs = 0;
286 286
287 /* 287 /*
288 * TODO: Revisit, this is not an errror case but code 288 * TODO: Revisit, this is not an error case but code
289 * expects non-zero value. 289 * expects non-zero value.
290 */ 290 */
291 status = ENODATA; 291 status = ENODATA;
diff --git a/drivers/usb/host/hwa-hc.c b/drivers/usb/host/hwa-hc.c
index 9bfac657572..b5c56a99da0 100644
--- a/drivers/usb/host/hwa-hc.c
+++ b/drivers/usb/host/hwa-hc.c
@@ -481,7 +481,7 @@ static int __hwahc_op_set_ptk(struct wusbhc *wusbhc, u8 port_idx, u32 tkid,
481 encryption_value = 0; 481 encryption_value = 0;
482 } 482 }
483 483
484 /* Set the encryption type for commmunicating with the device */ 484 /* Set the encryption type for communicating with the device */
485 result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0), 485 result = usb_control_msg(wa->usb_dev, usb_sndctrlpipe(wa->usb_dev, 0),
486 USB_REQ_SET_ENCRYPTION, 486 USB_REQ_SET_ENCRYPTION,
487 USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE, 487 USB_DIR_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE,
diff --git a/drivers/usb/host/imx21-hcd.c b/drivers/usb/host/imx21-hcd.c
index 2ee18cfa1ef..dbf0f156ed9 100644
--- a/drivers/usb/host/imx21-hcd.c
+++ b/drivers/usb/host/imx21-hcd.c
@@ -473,7 +473,7 @@ static void free_epdmem(struct imx21 *imx21, struct usb_host_endpoint *ep)
473/* End handling */ 473/* End handling */
474/* =========================================== */ 474/* =========================================== */
475 475
476/* Endpoint now idle - release it's ETD(s) or asssign to queued request */ 476/* Endpoint now idle - release its ETD(s) or assign to queued request */
477static void ep_idle(struct imx21 *imx21, struct ep_priv *ep_priv) 477static void ep_idle(struct imx21 *imx21, struct ep_priv *ep_priv)
478{ 478{
479 int i; 479 int i;
diff --git a/drivers/usb/otg/fsl_otg.c b/drivers/usb/otg/fsl_otg.c
index 0f420b25e9a..2d9cc445fc7 100644
--- a/drivers/usb/otg/fsl_otg.c
+++ b/drivers/usb/otg/fsl_otg.c
@@ -639,7 +639,7 @@ static int fsl_otg_set_power(struct otg_transceiver *otg_p, unsigned mA)
639 * Delayed pin detect interrupt processing. 639 * Delayed pin detect interrupt processing.
640 * 640 *
641 * When the Mini-A cable is disconnected from the board, 641 * When the Mini-A cable is disconnected from the board,
642 * the pin-detect interrupt happens before the disconnnect 642 * the pin-detect interrupt happens before the disconnect
643 * interrupts for the connected device(s). In order to 643 * interrupts for the connected device(s). In order to
644 * process the disconnect interrupt(s) prior to switching 644 * process the disconnect interrupt(s) prior to switching
645 * roles, the pin-detect interrupts are delayed, and handled 645 * roles, the pin-detect interrupts are delayed, and handled
diff --git a/drivers/uwb/i1480/dfu/usb.c b/drivers/uwb/i1480/dfu/usb.c
index ba8664328af..a315d4d25cc 100644
--- a/drivers/uwb/i1480/dfu/usb.c
+++ b/drivers/uwb/i1480/dfu/usb.c
@@ -104,7 +104,7 @@ void i1480_usb_destroy(struct i1480_usb *i1480_usb)
104 * 104 *
105 * Data buffers to USB cannot be on the stack or in vmalloc'ed areas, 105 * Data buffers to USB cannot be on the stack or in vmalloc'ed areas,
106 * so we copy it to the local i1480 buffer before proceeding. In any 106 * so we copy it to the local i1480 buffer before proceeding. In any
107 * case, we have a max size we can send, soooo. 107 * case, we have a max size we can send.
108 */ 108 */
109static 109static
110int i1480_usb_write(struct i1480 *i1480, u32 memory_address, 110int i1480_usb_write(struct i1480 *i1480, u32 memory_address,
diff --git a/fs/btrfs/inode.c b/fs/btrfs/inode.c
index 116ab67a06d..c3308c38ae7 100644
--- a/fs/btrfs/inode.c
+++ b/fs/btrfs/inode.c
@@ -1943,7 +1943,7 @@ enum btrfs_orphan_cleanup_state {
1943}; 1943};
1944 1944
1945/* 1945/*
1946 * This is called in transaction commmit time. If there are no orphan 1946 * This is called in transaction commit time. If there are no orphan
1947 * files in the subvolume, it removes orphan item and frees block_rsv 1947 * files in the subvolume, it removes orphan item and frees block_rsv
1948 * structure. 1948 * structure.
1949 */ 1949 */
diff --git a/fs/ext3/inode.c b/fs/ext3/inode.c
index 85fe655fe3e..15cb47088aa 100644
--- a/fs/ext3/inode.c
+++ b/fs/ext3/inode.c
@@ -2490,7 +2490,7 @@ int ext3_can_truncate(struct inode *inode)
2490 * transaction, and VFS/VM ensures that ext3_truncate() cannot run 2490 * transaction, and VFS/VM ensures that ext3_truncate() cannot run
2491 * simultaneously on behalf of the same inode. 2491 * simultaneously on behalf of the same inode.
2492 * 2492 *
2493 * As we work through the truncate and commmit bits of it to the journal there 2493 * As we work through the truncate and commit bits of it to the journal there
2494 * is one core, guiding principle: the file's tree must always be consistent on 2494 * is one core, guiding principle: the file's tree must always be consistent on
2495 * disk. We must be able to restart the truncate after a crash. 2495 * disk. We must be able to restart the truncate after a crash.
2496 * 2496 *
diff --git a/fs/ext4/inode.c b/fs/ext4/inode.c
index 240f6e2dc7e..b1c57bf4313 100644
--- a/fs/ext4/inode.c
+++ b/fs/ext4/inode.c
@@ -3502,7 +3502,7 @@ int ext4_punch_hole(struct file *file, loff_t offset, loff_t length)
3502 * transaction, and VFS/VM ensures that ext4_truncate() cannot run 3502 * transaction, and VFS/VM ensures that ext4_truncate() cannot run
3503 * simultaneously on behalf of the same inode. 3503 * simultaneously on behalf of the same inode.
3504 * 3504 *
3505 * As we work through the truncate and commmit bits of it to the journal there 3505 * As we work through the truncate and commit bits of it to the journal there
3506 * is one core, guiding principle: the file's tree must always be consistent on 3506 * is one core, guiding principle: the file's tree must always be consistent on
3507 * disk. We must be able to restart the truncate after a crash. 3507 * disk. We must be able to restart the truncate after a crash.
3508 * 3508 *
diff --git a/fs/nfsd/nfs4state.c b/fs/nfsd/nfs4state.c
index 47e94e33a97..9ca16dc09e0 100644
--- a/fs/nfsd/nfs4state.c
+++ b/fs/nfsd/nfs4state.c
@@ -658,7 +658,7 @@ static int nfsd4_sanitize_slot_size(u32 size)
658/* 658/*
659 * XXX: If we run out of reserved DRC memory we could (up to a point) 659 * XXX: If we run out of reserved DRC memory we could (up to a point)
660 * re-negotiate active sessions and reduce their slot usage to make 660 * re-negotiate active sessions and reduce their slot usage to make
661 * rooom for new connections. For now we just fail the create session. 661 * room for new connections. For now we just fail the create session.
662 */ 662 */
663static int nfsd4_get_drc_mem(int slotsize, u32 num) 663static int nfsd4_get_drc_mem(int slotsize, u32 num)
664{ 664{
diff --git a/fs/ocfs2/file.c b/fs/ocfs2/file.c
index de4ea1af041..199c606c56a 100644
--- a/fs/ocfs2/file.c
+++ b/fs/ocfs2/file.c
@@ -2108,7 +2108,7 @@ static int ocfs2_prepare_inode_for_write(struct file *file,
2108 * remove_suid() calls ->setattr without any hint that 2108 * remove_suid() calls ->setattr without any hint that
2109 * we may have already done our cluster locking. Since 2109 * we may have already done our cluster locking. Since
2110 * ocfs2_setattr() *must* take cluster locks to 2110 * ocfs2_setattr() *must* take cluster locks to
2111 * proceeed, this will lead us to recursively lock the 2111 * proceed, this will lead us to recursively lock the
2112 * inode. There's also the dinode i_size state which 2112 * inode. There's also the dinode i_size state which
2113 * can be lost via setattr during extending writes (we 2113 * can be lost via setattr during extending writes (we
2114 * set inode->i_size at the end of a write. */ 2114 * set inode->i_size at the end of a write. */
diff --git a/fs/xfs/xfs_file.c b/fs/xfs/xfs_file.c
index 753ed9b5c70..f675f3d9d7b 100644
--- a/fs/xfs/xfs_file.c
+++ b/fs/xfs/xfs_file.c
@@ -209,10 +209,10 @@ xfs_file_fsync(
209 209
210 /* 210 /*
211 * First check if the VFS inode is marked dirty. All the dirtying 211 * First check if the VFS inode is marked dirty. All the dirtying
212 * of non-transactional updates no goes through mark_inode_dirty*, 212 * of non-transactional updates do not go through mark_inode_dirty*,
213 * which allows us to distinguish beteeen pure timestamp updates 213 * which allows us to distinguish between pure timestamp updates
214 * and i_size updates which need to be caught for fdatasync. 214 * and i_size updates which need to be caught for fdatasync.
215 * After that also theck for the dirty state in the XFS inode, which 215 * After that also check for the dirty state in the XFS inode, which
216 * might gets cleared when the inode gets written out via the AIL 216 * might gets cleared when the inode gets written out via the AIL
217 * or xfs_iflush_cluster. 217 * or xfs_iflush_cluster.
218 */ 218 */
diff --git a/fs/xfs/xfs_log_cil.c b/fs/xfs/xfs_log_cil.c
index c7755d5a5fb..3ba29b11432 100644
--- a/fs/xfs/xfs_log_cil.c
+++ b/fs/xfs/xfs_log_cil.c
@@ -256,7 +256,7 @@ xfs_cil_prepare_item(
256 * Insert the log items into the CIL and calculate the difference in space 256 * Insert the log items into the CIL and calculate the difference in space
257 * consumed by the item. Add the space to the checkpoint ticket and calculate 257 * consumed by the item. Add the space to the checkpoint ticket and calculate
258 * if the change requires additional log metadata. If it does, take that space 258 * if the change requires additional log metadata. If it does, take that space
259 * as well. Remove the amount of space we addded to the checkpoint ticket from 259 * as well. Remove the amount of space we added to the checkpoint ticket from
260 * the current transaction ticket so that the accounting works out correctly. 260 * the current transaction ticket so that the accounting works out correctly.
261 */ 261 */
262static void 262static void
diff --git a/include/drm/drmP.h b/include/drm/drmP.h
index 1f9e9516e2b..e8acca892af 100644
--- a/include/drm/drmP.h
+++ b/include/drm/drmP.h
@@ -820,7 +820,7 @@ struct drm_driver {
820 * Specifically, the timestamp in @vblank_time should correspond as 820 * Specifically, the timestamp in @vblank_time should correspond as
821 * closely as possible to the time when the first video scanline of 821 * closely as possible to the time when the first video scanline of
822 * the video frame after the end of VBLANK will start scanning out, 822 * the video frame after the end of VBLANK will start scanning out,
823 * the time immmediately after end of the VBLANK interval. If the 823 * the time immediately after end of the VBLANK interval. If the
824 * @crtc is currently inside VBLANK, this will be a time in the future. 824 * @crtc is currently inside VBLANK, this will be a time in the future.
825 * If the @crtc is currently scanning out a frame, this will be the 825 * If the @crtc is currently scanning out a frame, this will be the
826 * past start time of the current scanout. This is meant to adhere 826 * past start time of the current scanout. This is meant to adhere
diff --git a/include/linux/wanrouter.h b/include/linux/wanrouter.h
index e0aa39612eb..3157cc1fada 100644
--- a/include/linux/wanrouter.h
+++ b/include/linux/wanrouter.h
@@ -309,7 +309,7 @@ typedef struct wandev_conf
309#define WANOPT_EVEN 2 309#define WANOPT_EVEN 2
310 310
311/* CHDLC Protocol Options */ 311/* CHDLC Protocol Options */
312/* DF Commmented out for now. 312/* DF Commented out for now.
313 313
314#define WANOPT_CHDLC_NO_DCD IGNORE_DCD_FOR_LINK_STAT 314#define WANOPT_CHDLC_NO_DCD IGNORE_DCD_FOR_LINK_STAT
315#define WANOPT_CHDLC_NO_CTS IGNORE_CTS_FOR_LINK_STAT 315#define WANOPT_CHDLC_NO_CTS IGNORE_CTS_FOR_LINK_STAT
diff --git a/include/net/mac80211.h b/include/net/mac80211.h
index 72eddd1b410..bd3487d5ac8 100644
--- a/include/net/mac80211.h
+++ b/include/net/mac80211.h
@@ -1423,7 +1423,7 @@ ieee80211_get_alt_retry_rate(const struct ieee80211_hw *hw,
1423 * DOC: Beacon filter support 1423 * DOC: Beacon filter support
1424 * 1424 *
1425 * Some hardware have beacon filter support to reduce host cpu wakeups 1425 * Some hardware have beacon filter support to reduce host cpu wakeups
1426 * which will reduce system power consumption. It usuallly works so that 1426 * which will reduce system power consumption. It usually works so that
1427 * the firmware creates a checksum of the beacon but omits all constantly 1427 * the firmware creates a checksum of the beacon but omits all constantly
1428 * changing elements (TSF, TIM etc). Whenever the checksum changes the 1428 * changing elements (TSF, TIM etc). Whenever the checksum changes the
1429 * beacon is forwarded to the host, otherwise it will be just dropped. That 1429 * beacon is forwarded to the host, otherwise it will be just dropped. That
diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c
index fdaabf2f2b6..1f23a57aa9e 100644
--- a/net/ipv4/ip_fragment.c
+++ b/net/ipv4/ip_fragment.c
@@ -392,7 +392,7 @@ static int ip_frag_queue(struct ipq *qp, struct sk_buff *skb)
392 /* Is this the final fragment? */ 392 /* Is this the final fragment? */
393 if ((flags & IP_MF) == 0) { 393 if ((flags & IP_MF) == 0) {
394 /* If we already have some bits beyond end 394 /* If we already have some bits beyond end
395 * or have different end, the segment is corrrupted. 395 * or have different end, the segment is corrupted.
396 */ 396 */
397 if (end < qp->q.len || 397 if (end < qp->q.len ||
398 ((qp->q.last_in & INET_FRAG_LAST_IN) && end != qp->q.len)) 398 ((qp->q.last_in & INET_FRAG_LAST_IN) && end != qp->q.len))
diff --git a/net/mac80211/work.c b/net/mac80211/work.c
index 6c53b6d1002..2accea37742 100644
--- a/net/mac80211/work.c
+++ b/net/mac80211/work.c
@@ -1094,7 +1094,7 @@ static void ieee80211_work_work(struct work_struct *work)
1094 local->tmp_channel = NULL; 1094 local->tmp_channel = NULL;
1095 /* If tmp_channel wasn't operating channel, then 1095 /* If tmp_channel wasn't operating channel, then
1096 * we need to go back on-channel. 1096 * we need to go back on-channel.
1097 * NOTE: If we can ever be here while scannning, 1097 * NOTE: If we can ever be here while scanning,
1098 * or if the hw_config() channel config logic changes, 1098 * or if the hw_config() channel config logic changes,
1099 * then we may need to do a more thorough check to see if 1099 * then we may need to do a more thorough check to see if
1100 * we still need to do a hardware config. Currently, 1100 * we still need to do a hardware config. Currently,
diff --git a/net/sctp/endpointola.c b/net/sctp/endpointola.c
index c8cc24e282c..68a385d7c3b 100644
--- a/net/sctp/endpointola.c
+++ b/net/sctp/endpointola.c
@@ -415,7 +415,7 @@ static void sctp_endpoint_bh_rcv(struct work_struct *work)
415 sctp_subtype_t subtype; 415 sctp_subtype_t subtype;
416 sctp_state_t state; 416 sctp_state_t state;
417 int error = 0; 417 int error = 0;
418 int first_time = 1; /* is this the first time through the looop */ 418 int first_time = 1; /* is this the first time through the loop */
419 419
420 if (ep->base.dead) 420 if (ep->base.dead)
421 return; 421 return;