diff options
Diffstat (limited to 'drivers')
70 files changed, 96 insertions, 98 deletions
diff --git a/drivers/acpi/acpica/dsopcode.c b/drivers/acpi/acpica/dsopcode.c index 0df024e5fb63..d09c6b4bab2c 100644 --- a/drivers/acpi/acpica/dsopcode.c +++ b/drivers/acpi/acpica/dsopcode.c | |||
@@ -1,6 +1,6 @@ | |||
1 | /****************************************************************************** | 1 | /****************************************************************************** |
2 | * | 2 | * |
3 | * Module Name: dsopcode - Dispatcher suport for regions and fields | 3 | * Module Name: dsopcode - Dispatcher support for regions and fields |
4 | * | 4 | * |
5 | *****************************************************************************/ | 5 | *****************************************************************************/ |
6 | 6 | ||
diff --git a/drivers/char/ipmi/ipmi_msghandler.c b/drivers/char/ipmi/ipmi_msghandler.c index a0c84bb30856..053201b062a4 100644 --- a/drivers/char/ipmi/ipmi_msghandler.c +++ b/drivers/char/ipmi/ipmi_msghandler.c | |||
@@ -3789,7 +3789,7 @@ static int handle_one_recv_msg(ipmi_smi_t intf, | |||
3789 | 3789 | ||
3790 | } else if ((msg->rsp[0] == ((IPMI_NETFN_APP_REQUEST|1) << 2)) | 3790 | } else if ((msg->rsp[0] == ((IPMI_NETFN_APP_REQUEST|1) << 2)) |
3791 | && (msg->rsp[1] == IPMI_READ_EVENT_MSG_BUFFER_CMD)) { | 3791 | && (msg->rsp[1] == IPMI_READ_EVENT_MSG_BUFFER_CMD)) { |
3792 | /* It's an asyncronous event. */ | 3792 | /* It's an asynchronous event. */ |
3793 | requeue = handle_read_event_rsp(intf, msg); | 3793 | requeue = handle_read_event_rsp(intf, msg); |
3794 | } else { | 3794 | } else { |
3795 | /* It's a response from the local BMC. */ | 3795 | /* It's a response from the local BMC. */ |
diff --git a/drivers/char/ipmi/ipmi_si_intf.c b/drivers/char/ipmi/ipmi_si_intf.c index 20ab5b3a8915..cfdfecd5bc76 100644 --- a/drivers/char/ipmi/ipmi_si_intf.c +++ b/drivers/char/ipmi/ipmi_si_intf.c | |||
@@ -155,7 +155,7 @@ enum si_stat_indexes { | |||
155 | /* Number of watchdog pretimeouts. */ | 155 | /* Number of watchdog pretimeouts. */ |
156 | SI_STAT_watchdog_pretimeouts, | 156 | SI_STAT_watchdog_pretimeouts, |
157 | 157 | ||
158 | /* Number of asyncronous messages received. */ | 158 | /* Number of asynchronous messages received. */ |
159 | SI_STAT_incoming_messages, | 159 | SI_STAT_incoming_messages, |
160 | 160 | ||
161 | 161 | ||
diff --git a/drivers/char/ppdev.c b/drivers/char/ppdev.c index d0d824ebf2c1..1cd49241e60e 100644 --- a/drivers/char/ppdev.c +++ b/drivers/char/ppdev.c | |||
@@ -251,12 +251,8 @@ static ssize_t pp_write (struct file * file, const char __user * buf, | |||
251 | break; | 251 | break; |
252 | } | 252 | } |
253 | 253 | ||
254 | if (signal_pending (current)) { | 254 | if (signal_pending (current)) |
255 | if (!bytes_written) { | ||
256 | bytes_written = -EINTR; | ||
257 | } | ||
258 | break; | 255 | break; |
259 | } | ||
260 | 256 | ||
261 | cond_resched(); | 257 | cond_resched(); |
262 | } | 258 | } |
diff --git a/drivers/eisa/eisa.ids b/drivers/eisa/eisa.ids index 6cbb7a514436..2d864b48a48f 100644 --- a/drivers/eisa/eisa.ids +++ b/drivers/eisa/eisa.ids | |||
@@ -985,8 +985,8 @@ ISABD00 "Racal-Interlan NP600A Ethernet 16bit" | |||
985 | ISABD02 "Racal-Interlan NI5210/8 Ethernet" | 985 | ISABD02 "Racal-Interlan NI5210/8 Ethernet" |
986 | ISABD03 "Racal-Interlan NI5210/16 Ethernet" | 986 | ISABD03 "Racal-Interlan NI5210/16 Ethernet" |
987 | ISABE00 "Qua Tech PXB-1608 Parallel Expansion Board" | 987 | ISABE00 "Qua Tech PXB-1608 Parallel Expansion Board" |
988 | ISABE01 "Qua Tech ES-100 8 Channel Asyncronous" | 988 | ISABE01 "Qua Tech ES-100 8 Channel Asynchronous" |
989 | ISABE02 "Qua Tech QS-100M 4 Channel Asyncronous" | 989 | ISABE02 "Qua Tech QS-100M 4 Channel Asynchronous" |
990 | ISABE03 "Qua Tech MXI-100 IEEE 488 GPIB" | 990 | ISABE03 "Qua Tech MXI-100 IEEE 488 GPIB" |
991 | ISABE04 "Qua Tech DS-201 Dual Channel RS-422" | 991 | ISABE04 "Qua Tech DS-201 Dual Channel RS-422" |
992 | ISABE05 "Qua Tech PXB-721 Parallel Expansion" | 992 | ISABE05 "Qua Tech PXB-721 Parallel Expansion" |
diff --git a/drivers/firewire/init_ohci1394_dma.c b/drivers/firewire/init_ohci1394_dma.c index a9a347adb353..2cc89ce745c9 100644 --- a/drivers/firewire/init_ohci1394_dma.c +++ b/drivers/firewire/init_ohci1394_dma.c | |||
@@ -149,10 +149,10 @@ static inline void __init init_ohci1394_initialize(struct ohci *ohci) | |||
149 | reg_write(ohci, OHCI1394_IsoXmitIntMaskClear, 0xffffffff); | 149 | reg_write(ohci, OHCI1394_IsoXmitIntMaskClear, 0xffffffff); |
150 | reg_write(ohci, OHCI1394_IsoXmitIntEventClear, 0xffffffff); | 150 | reg_write(ohci, OHCI1394_IsoXmitIntEventClear, 0xffffffff); |
151 | 151 | ||
152 | /* Accept asyncronous transfer requests from all nodes for now */ | 152 | /* Accept asynchronous transfer requests from all nodes for now */ |
153 | reg_write(ohci, OHCI1394_AsReqFilterHiSet, 0x80000000); | 153 | reg_write(ohci, OHCI1394_AsReqFilterHiSet, 0x80000000); |
154 | 154 | ||
155 | /* Specify asyncronous transfer retries */ | 155 | /* Specify asynchronous transfer retries */ |
156 | reg_write(ohci, OHCI1394_ATRetries, | 156 | reg_write(ohci, OHCI1394_ATRetries, |
157 | OHCI1394_MAX_AT_REQ_RETRIES | | 157 | OHCI1394_MAX_AT_REQ_RETRIES | |
158 | (OHCI1394_MAX_AT_RESP_RETRIES<<4) | | 158 | (OHCI1394_MAX_AT_RESP_RETRIES<<4) | |
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c index f25610bb3148..6ce6e07c38c1 100644 --- a/drivers/firewire/ohci.c +++ b/drivers/firewire/ohci.c | |||
@@ -1281,7 +1281,7 @@ static int at_context_queue_packet(struct context *ctx, | |||
1281 | d[0].res_count = cpu_to_le16(packet->timestamp); | 1281 | d[0].res_count = cpu_to_le16(packet->timestamp); |
1282 | 1282 | ||
1283 | /* | 1283 | /* |
1284 | * The DMA format for asyncronous link packets is different | 1284 | * The DMA format for asynchronous link packets is different |
1285 | * from the IEEE1394 layout, so shift the fields around | 1285 | * from the IEEE1394 layout, so shift the fields around |
1286 | * accordingly. | 1286 | * accordingly. |
1287 | */ | 1287 | */ |
diff --git a/drivers/gpio/Kconfig b/drivers/gpio/Kconfig index a5cbeec6f6db..bf892bd68c17 100644 --- a/drivers/gpio/Kconfig +++ b/drivers/gpio/Kconfig | |||
@@ -504,7 +504,7 @@ config GPIO_ADNP | |||
504 | help | 504 | help |
505 | This option enables support for N GPIOs found on Avionic Design | 505 | This option enables support for N GPIOs found on Avionic Design |
506 | I2C GPIO expanders. The register space will be extended by powers | 506 | I2C GPIO expanders. The register space will be extended by powers |
507 | of two, so the controller will need to accomodate for that. For | 507 | of two, so the controller will need to accommodate for that. For |
508 | example: if a controller provides 48 pins, 6 registers will be | 508 | example: if a controller provides 48 pins, 6 registers will be |
509 | enough to represent all pins, but the driver will assume a | 509 | enough to represent all pins, but the driver will assume a |
510 | register layout for 64 pins (8 registers). | 510 | register layout for 64 pins (8 registers). |
diff --git a/drivers/gpu/drm/radeon/evergreen.c b/drivers/gpu/drm/radeon/evergreen.c index 219942c660d7..5d1d21a6dcdd 100644 --- a/drivers/gpu/drm/radeon/evergreen.c +++ b/drivers/gpu/drm/radeon/evergreen.c | |||
@@ -1650,7 +1650,7 @@ static int evergreen_cp_resume(struct radeon_device *rdev) | |||
1650 | ring->wptr = 0; | 1650 | ring->wptr = 0; |
1651 | WREG32(CP_RB_WPTR, ring->wptr); | 1651 | WREG32(CP_RB_WPTR, ring->wptr); |
1652 | 1652 | ||
1653 | /* set the wb address wether it's enabled or not */ | 1653 | /* set the wb address whether it's enabled or not */ |
1654 | WREG32(CP_RB_RPTR_ADDR, | 1654 | WREG32(CP_RB_RPTR_ADDR, |
1655 | ((rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFFFFFFFC)); | 1655 | ((rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFFFFFFFC)); |
1656 | WREG32(CP_RB_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFF); | 1656 | WREG32(CP_RB_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFF); |
diff --git a/drivers/gpu/drm/radeon/ni.c b/drivers/gpu/drm/radeon/ni.c index 81e6a568c29d..cda01f808f12 100644 --- a/drivers/gpu/drm/radeon/ni.c +++ b/drivers/gpu/drm/radeon/ni.c | |||
@@ -1059,7 +1059,7 @@ static int cayman_cp_resume(struct radeon_device *rdev) | |||
1059 | 1059 | ||
1060 | WREG32(CP_DEBUG, (1 << 27)); | 1060 | WREG32(CP_DEBUG, (1 << 27)); |
1061 | 1061 | ||
1062 | /* set the wb address wether it's enabled or not */ | 1062 | /* set the wb address whether it's enabled or not */ |
1063 | WREG32(SCRATCH_ADDR, ((rdev->wb.gpu_addr + RADEON_WB_SCRATCH_OFFSET) >> 8) & 0xFFFFFFFF); | 1063 | WREG32(SCRATCH_ADDR, ((rdev->wb.gpu_addr + RADEON_WB_SCRATCH_OFFSET) >> 8) & 0xFFFFFFFF); |
1064 | WREG32(SCRATCH_UMSK, 0xff); | 1064 | WREG32(SCRATCH_UMSK, 0xff); |
1065 | 1065 | ||
@@ -1076,7 +1076,7 @@ static int cayman_cp_resume(struct radeon_device *rdev) | |||
1076 | #endif | 1076 | #endif |
1077 | WREG32(cp_rb_cntl[i], rb_cntl); | 1077 | WREG32(cp_rb_cntl[i], rb_cntl); |
1078 | 1078 | ||
1079 | /* set the wb address wether it's enabled or not */ | 1079 | /* set the wb address whether it's enabled or not */ |
1080 | addr = rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET; | 1080 | addr = rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET; |
1081 | WREG32(cp_rb_rptr_addr[i], addr & 0xFFFFFFFC); | 1081 | WREG32(cp_rb_rptr_addr[i], addr & 0xFFFFFFFC); |
1082 | WREG32(cp_rb_rptr_addr_hi[i], upper_32_bits(addr) & 0xFF); | 1082 | WREG32(cp_rb_rptr_addr_hi[i], upper_32_bits(addr) & 0xFF); |
diff --git a/drivers/gpu/drm/radeon/radeon_ring.c b/drivers/gpu/drm/radeon/radeon_ring.c index 47634f27f2e5..ebd69562ef6c 100644 --- a/drivers/gpu/drm/radeon/radeon_ring.c +++ b/drivers/gpu/drm/radeon/radeon_ring.c | |||
@@ -459,7 +459,7 @@ void radeon_ring_unlock_commit(struct radeon_device *rdev, struct radeon_ring *r | |||
459 | * | 459 | * |
460 | * @ring: radeon_ring structure holding ring information | 460 | * @ring: radeon_ring structure holding ring information |
461 | * | 461 | * |
462 | * Reset the driver's copy of the wtpr (all asics). | 462 | * Reset the driver's copy of the wptr (all asics). |
463 | */ | 463 | */ |
464 | void radeon_ring_undo(struct radeon_ring *ring) | 464 | void radeon_ring_undo(struct radeon_ring *ring) |
465 | { | 465 | { |
@@ -503,7 +503,7 @@ void radeon_ring_force_activity(struct radeon_device *rdev, struct radeon_ring * | |||
503 | } | 503 | } |
504 | 504 | ||
505 | /** | 505 | /** |
506 | * radeon_ring_force_activity - update lockup variables | 506 | * radeon_ring_lockup_update - update lockup variables |
507 | * | 507 | * |
508 | * @ring: radeon_ring structure holding ring information | 508 | * @ring: radeon_ring structure holding ring information |
509 | * | 509 | * |
diff --git a/drivers/gpu/drm/radeon/si.c b/drivers/gpu/drm/radeon/si.c index 4422d630b33b..010156dd949f 100644 --- a/drivers/gpu/drm/radeon/si.c +++ b/drivers/gpu/drm/radeon/si.c | |||
@@ -2007,7 +2007,7 @@ static int si_cp_resume(struct radeon_device *rdev) | |||
2007 | ring->wptr = 0; | 2007 | ring->wptr = 0; |
2008 | WREG32(CP_RB0_WPTR, ring->wptr); | 2008 | WREG32(CP_RB0_WPTR, ring->wptr); |
2009 | 2009 | ||
2010 | /* set the wb address wether it's enabled or not */ | 2010 | /* set the wb address whether it's enabled or not */ |
2011 | WREG32(CP_RB0_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFFFFFFFC); | 2011 | WREG32(CP_RB0_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFFFFFFFC); |
2012 | WREG32(CP_RB0_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFF); | 2012 | WREG32(CP_RB0_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP_RPTR_OFFSET) & 0xFF); |
2013 | 2013 | ||
@@ -2040,7 +2040,7 @@ static int si_cp_resume(struct radeon_device *rdev) | |||
2040 | ring->wptr = 0; | 2040 | ring->wptr = 0; |
2041 | WREG32(CP_RB1_WPTR, ring->wptr); | 2041 | WREG32(CP_RB1_WPTR, ring->wptr); |
2042 | 2042 | ||
2043 | /* set the wb address wether it's enabled or not */ | 2043 | /* set the wb address whether it's enabled or not */ |
2044 | WREG32(CP_RB1_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFFFFFFFC); | 2044 | WREG32(CP_RB1_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFFFFFFFC); |
2045 | WREG32(CP_RB1_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFF); | 2045 | WREG32(CP_RB1_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP1_RPTR_OFFSET) & 0xFF); |
2046 | 2046 | ||
@@ -2066,7 +2066,7 @@ static int si_cp_resume(struct radeon_device *rdev) | |||
2066 | ring->wptr = 0; | 2066 | ring->wptr = 0; |
2067 | WREG32(CP_RB2_WPTR, ring->wptr); | 2067 | WREG32(CP_RB2_WPTR, ring->wptr); |
2068 | 2068 | ||
2069 | /* set the wb address wether it's enabled or not */ | 2069 | /* set the wb address whether it's enabled or not */ |
2070 | WREG32(CP_RB2_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFFFFFFFC); | 2070 | WREG32(CP_RB2_RPTR_ADDR, (rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFFFFFFFC); |
2071 | WREG32(CP_RB2_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFF); | 2071 | WREG32(CP_RB2_RPTR_ADDR_HI, upper_32_bits(rdev->wb.gpu_addr + RADEON_WB_CP2_RPTR_OFFSET) & 0xFF); |
2072 | 2072 | ||
diff --git a/drivers/i2c/busses/i2c-nuc900.c b/drivers/i2c/busses/i2c-nuc900.c index f41502ef3f55..a23b91b0b738 100644 --- a/drivers/i2c/busses/i2c-nuc900.c +++ b/drivers/i2c/busses/i2c-nuc900.c | |||
@@ -304,7 +304,7 @@ retry_write: | |||
304 | 304 | ||
305 | case STATE_READ: | 305 | case STATE_READ: |
306 | /* we have a byte of data in the data register, do | 306 | /* we have a byte of data in the data register, do |
307 | * something with it, and then work out wether we are | 307 | * something with it, and then work out whether we are |
308 | * going to do any more read/write | 308 | * going to do any more read/write |
309 | */ | 309 | */ |
310 | 310 | ||
diff --git a/drivers/i2c/busses/i2c-s3c2410.c b/drivers/i2c/busses/i2c-s3c2410.c index 9d902725bac9..b33d95ebc890 100644 --- a/drivers/i2c/busses/i2c-s3c2410.c +++ b/drivers/i2c/busses/i2c-s3c2410.c | |||
@@ -208,7 +208,7 @@ static void s3c24xx_i2c_message_start(struct s3c24xx_i2c *i2c, | |||
208 | if (msg->flags & I2C_M_REV_DIR_ADDR) | 208 | if (msg->flags & I2C_M_REV_DIR_ADDR) |
209 | addr ^= 1; | 209 | addr ^= 1; |
210 | 210 | ||
211 | /* todo - check for wether ack wanted or not */ | 211 | /* todo - check for whether ack wanted or not */ |
212 | s3c24xx_i2c_enable_ack(i2c); | 212 | s3c24xx_i2c_enable_ack(i2c); |
213 | 213 | ||
214 | iiccon = readl(i2c->regs + S3C2410_IICCON); | 214 | iiccon = readl(i2c->regs + S3C2410_IICCON); |
@@ -397,7 +397,7 @@ static int i2c_s3c_irq_nextbyte(struct s3c24xx_i2c *i2c, unsigned long iicstat) | |||
397 | 397 | ||
398 | case STATE_READ: | 398 | case STATE_READ: |
399 | /* we have a byte of data in the data register, do | 399 | /* we have a byte of data in the data register, do |
400 | * something with it, and then work out wether we are | 400 | * something with it, and then work out whether we are |
401 | * going to do any more read/write | 401 | * going to do any more read/write |
402 | */ | 402 | */ |
403 | 403 | ||
diff --git a/drivers/isdn/hisax/amd7930_fn.c b/drivers/isdn/hisax/amd7930_fn.c index 89342f7e0c5b..525471e776a7 100644 --- a/drivers/isdn/hisax/amd7930_fn.c +++ b/drivers/isdn/hisax/amd7930_fn.c | |||
@@ -628,7 +628,7 @@ Amd7930_l1hw(struct PStack *st, int pr, void *arg) | |||
628 | if ((cs->dc.amd7930.ph_state == 8)) { | 628 | if ((cs->dc.amd7930.ph_state == 8)) { |
629 | /* b-channels off, PH-AR cleared | 629 | /* b-channels off, PH-AR cleared |
630 | * change to F3 */ | 630 | * change to F3 */ |
631 | Amd7930_ph_command(cs, 0x20, "HW_RESET REQEST"); //LMR1 bit 5 | 631 | Amd7930_ph_command(cs, 0x20, "HW_RESET REQUEST"); //LMR1 bit 5 |
632 | spin_unlock_irqrestore(&cs->lock, flags); | 632 | spin_unlock_irqrestore(&cs->lock, flags); |
633 | } else { | 633 | } else { |
634 | Amd7930_ph_command(cs, 0x40, "HW_RESET REQUEST"); | 634 | Amd7930_ph_command(cs, 0x40, "HW_RESET REQUEST"); |
diff --git a/drivers/isdn/hisax/isar.c b/drivers/isdn/hisax/isar.c index ff5e139f4850..7fdf34704fe5 100644 --- a/drivers/isdn/hisax/isar.c +++ b/drivers/isdn/hisax/isar.c | |||
@@ -1417,7 +1417,7 @@ modeisar(struct BCState *bcs, int mode, int bc) | |||
1417 | &bcs->hw.isar.reg->Flags)) | 1417 | &bcs->hw.isar.reg->Flags)) |
1418 | bcs->hw.isar.dpath = 1; | 1418 | bcs->hw.isar.dpath = 1; |
1419 | else { | 1419 | else { |
1420 | printk(KERN_WARNING"isar modeisar both pathes in use\n"); | 1420 | printk(KERN_WARNING"isar modeisar both paths in use\n"); |
1421 | return (1); | 1421 | return (1); |
1422 | } | 1422 | } |
1423 | break; | 1423 | break; |
diff --git a/drivers/md/md.c b/drivers/md/md.c index 61200717687b..bd8bf0953fe3 100644 --- a/drivers/md/md.c +++ b/drivers/md/md.c | |||
@@ -4124,7 +4124,7 @@ static struct md_sysfs_entry md_size = | |||
4124 | __ATTR(component_size, S_IRUGO|S_IWUSR, size_show, size_store); | 4124 | __ATTR(component_size, S_IRUGO|S_IWUSR, size_show, size_store); |
4125 | 4125 | ||
4126 | 4126 | ||
4127 | /* Metdata version. | 4127 | /* Metadata version. |
4128 | * This is one of | 4128 | * This is one of |
4129 | * 'none' for arrays with no metadata (good luck...) | 4129 | * 'none' for arrays with no metadata (good luck...) |
4130 | * 'external' for arrays with externally managed metadata, | 4130 | * 'external' for arrays with externally managed metadata, |
diff --git a/drivers/md/persistent-data/dm-block-manager.c b/drivers/md/persistent-data/dm-block-manager.c index 5ba277768d99..a3ae09124a67 100644 --- a/drivers/md/persistent-data/dm-block-manager.c +++ b/drivers/md/persistent-data/dm-block-manager.c | |||
@@ -25,7 +25,7 @@ | |||
25 | * may be held at once. This is just an implementation detail. | 25 | * may be held at once. This is just an implementation detail. |
26 | * | 26 | * |
27 | * ii) Recursive locking attempts are detected and return EINVAL. A stack | 27 | * ii) Recursive locking attempts are detected and return EINVAL. A stack |
28 | * trace is also emitted for the previous lock aquisition. | 28 | * trace is also emitted for the previous lock acquisition. |
29 | * | 29 | * |
30 | * iii) Priority is given to write locks. | 30 | * iii) Priority is given to write locks. |
31 | */ | 31 | */ |
@@ -109,7 +109,7 @@ static int __check_holder(struct block_lock *lock) | |||
109 | DMERR("previously held here:"); | 109 | DMERR("previously held here:"); |
110 | print_stack_trace(lock->traces + i, 4); | 110 | print_stack_trace(lock->traces + i, 4); |
111 | 111 | ||
112 | DMERR("subsequent aquisition attempted here:"); | 112 | DMERR("subsequent acquisition attempted here:"); |
113 | t.nr_entries = 0; | 113 | t.nr_entries = 0; |
114 | t.max_entries = MAX_STACK; | 114 | t.max_entries = MAX_STACK; |
115 | t.entries = entries; | 115 | t.entries = entries; |
diff --git a/drivers/md/persistent-data/dm-btree.h b/drivers/md/persistent-data/dm-btree.h index ae02c84410ff..a2cd50441ca1 100644 --- a/drivers/md/persistent-data/dm-btree.h +++ b/drivers/md/persistent-data/dm-btree.h | |||
@@ -35,7 +35,7 @@ struct dm_transaction_manager; | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | /* | 37 | /* |
38 | * Infomation about the values stored within the btree. | 38 | * Information about the values stored within the btree. |
39 | */ | 39 | */ |
40 | struct dm_btree_value_type { | 40 | struct dm_btree_value_type { |
41 | void *context; | 41 | void *context; |
diff --git a/drivers/md/raid5.c b/drivers/md/raid5.c index a4502686e7a8..3380372c0393 100644 --- a/drivers/md/raid5.c +++ b/drivers/md/raid5.c | |||
@@ -1576,7 +1576,7 @@ static int resize_stripes(struct r5conf *conf, int newsize) | |||
1576 | * This happens in stages: | 1576 | * This happens in stages: |
1577 | * 1/ create a new kmem_cache and allocate the required number of | 1577 | * 1/ create a new kmem_cache and allocate the required number of |
1578 | * stripe_heads. | 1578 | * stripe_heads. |
1579 | * 2/ gather all the old stripe_heads and tranfer the pages across | 1579 | * 2/ gather all the old stripe_heads and transfer the pages across |
1580 | * to the new stripe_heads. This will have the side effect of | 1580 | * to the new stripe_heads. This will have the side effect of |
1581 | * freezing the array as once all stripe_heads have been collected, | 1581 | * freezing the array as once all stripe_heads have been collected, |
1582 | * no IO will be possible. Old stripe heads are freed once their | 1582 | * no IO will be possible. Old stripe heads are freed once their |
diff --git a/drivers/media/dvb-frontends/drxk_hard.c b/drivers/media/dvb-frontends/drxk_hard.c index 8b4c6d5f8f36..df9abe83f877 100644 --- a/drivers/media/dvb-frontends/drxk_hard.c +++ b/drivers/media/dvb-frontends/drxk_hard.c | |||
@@ -948,7 +948,7 @@ static int GetDeviceCapabilities(struct drxk_state *state) | |||
948 | state->m_oscClockFreq = 20250; | 948 | state->m_oscClockFreq = 20250; |
949 | break; | 949 | break; |
950 | default: | 950 | default: |
951 | printk(KERN_ERR "drxk: Clock Frequency is unkonwn\n"); | 951 | printk(KERN_ERR "drxk: Clock Frequency is unknown\n"); |
952 | return -EINVAL; | 952 | return -EINVAL; |
953 | } | 953 | } |
954 | /* | 954 | /* |
diff --git a/drivers/media/platform/mx2_emmaprp.c b/drivers/media/platform/mx2_emmaprp.c index 8f22ce543cf7..bfa65079fc38 100644 --- a/drivers/media/platform/mx2_emmaprp.c +++ b/drivers/media/platform/mx2_emmaprp.c | |||
@@ -371,7 +371,7 @@ static irqreturn_t emmaprp_irq(int irq_emma, void *data) | |||
371 | if (!curr_ctx->aborting) { | 371 | if (!curr_ctx->aborting) { |
372 | if ((irqst & PRP_INTR_ST_RDERR) || | 372 | if ((irqst & PRP_INTR_ST_RDERR) || |
373 | (irqst & PRP_INTR_ST_CH2WERR)) { | 373 | (irqst & PRP_INTR_ST_CH2WERR)) { |
374 | pr_err("PrP bus error ocurred, this transfer is probably corrupted\n"); | 374 | pr_err("PrP bus error occurred, this transfer is probably corrupted\n"); |
375 | writel(PRP_CNTL_SWRST, pcdev->base_emma + PRP_CNTL); | 375 | writel(PRP_CNTL_SWRST, pcdev->base_emma + PRP_CNTL); |
376 | } else if (irqst & PRP_INTR_ST_CH2B1CI) { /* buffer ready */ | 376 | } else if (irqst & PRP_INTR_ST_CH2B1CI) { /* buffer ready */ |
377 | src_vb = v4l2_m2m_src_buf_remove(curr_ctx->m2m_ctx); | 377 | src_vb = v4l2_m2m_src_buf_remove(curr_ctx->m2m_ctx); |
diff --git a/drivers/message/i2o/README.ioctl b/drivers/message/i2o/README.ioctl index 5fb195af43e2..4a7d2ebdfc97 100644 --- a/drivers/message/i2o/README.ioctl +++ b/drivers/message/i2o/README.ioctl | |||
@@ -138,7 +138,7 @@ VI. Setting Parameters | |||
138 | 138 | ||
139 | The return value is the size in bytes of the data written into | 139 | The return value is the size in bytes of the data written into |
140 | ops->resbuf if no errors occur. If an error occurs, -1 is returned | 140 | ops->resbuf if no errors occur. If an error occurs, -1 is returned |
141 | and errno is set appropriatly: | 141 | and errno is set appropriately: |
142 | 142 | ||
143 | EFAULT Invalid user space pointer was passed | 143 | EFAULT Invalid user space pointer was passed |
144 | ENXIO Invalid IOP number | 144 | ENXIO Invalid IOP number |
@@ -222,7 +222,7 @@ VIII. Downloading Software | |||
222 | RETURNS | 222 | RETURNS |
223 | 223 | ||
224 | This function returns 0 no errors occur. If an error occurs, -1 | 224 | This function returns 0 no errors occur. If an error occurs, -1 |
225 | is returned and errno is set appropriatly: | 225 | is returned and errno is set appropriately: |
226 | 226 | ||
227 | EFAULT Invalid user space pointer was passed | 227 | EFAULT Invalid user space pointer was passed |
228 | ENXIO Invalid IOP number | 228 | ENXIO Invalid IOP number |
@@ -264,7 +264,7 @@ IX. Uploading Software | |||
264 | RETURNS | 264 | RETURNS |
265 | 265 | ||
266 | This function returns 0 if no errors occur. If an error occurs, -1 | 266 | This function returns 0 if no errors occur. If an error occurs, -1 |
267 | is returned and errno is set appropriatly: | 267 | is returned and errno is set appropriately: |
268 | 268 | ||
269 | EFAULT Invalid user space pointer was passed | 269 | EFAULT Invalid user space pointer was passed |
270 | ENXIO Invalid IOP number | 270 | ENXIO Invalid IOP number |
@@ -301,7 +301,7 @@ X. Removing Software | |||
301 | RETURNS | 301 | RETURNS |
302 | 302 | ||
303 | This function returns 0 if no errors occur. If an error occurs, -1 | 303 | This function returns 0 if no errors occur. If an error occurs, -1 |
304 | is returned and errno is set appropriatly: | 304 | is returned and errno is set appropriately: |
305 | 305 | ||
306 | EFAULT Invalid user space pointer was passed | 306 | EFAULT Invalid user space pointer was passed |
307 | ENXIO Invalid IOP number | 307 | ENXIO Invalid IOP number |
@@ -325,7 +325,7 @@ X. Validating Configuration | |||
325 | RETURNS | 325 | RETURNS |
326 | 326 | ||
327 | This function returns 0 if no erro occur. If an error occurs, -1 is | 327 | This function returns 0 if no erro occur. If an error occurs, -1 is |
328 | returned and errno is set appropriatly: | 328 | returned and errno is set appropriately: |
329 | 329 | ||
330 | ETIMEDOUT Timeout waiting for reply message | 330 | ETIMEDOUT Timeout waiting for reply message |
331 | ENXIO Invalid IOP number | 331 | ENXIO Invalid IOP number |
@@ -360,7 +360,7 @@ XI. Configuration Dialog | |||
360 | RETURNS | 360 | RETURNS |
361 | 361 | ||
362 | This function returns 0 if no error occur. If an error occurs, -1 | 362 | This function returns 0 if no error occur. If an error occurs, -1 |
363 | is returned and errno is set appropriatly: | 363 | is returned and errno is set appropriately: |
364 | 364 | ||
365 | EFAULT Invalid user space pointer was passed | 365 | EFAULT Invalid user space pointer was passed |
366 | ENXIO Invalid IOP number | 366 | ENXIO Invalid IOP number |
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c index 4796bbf0ae4e..49e86aed2bc4 100644 --- a/drivers/message/i2o/i2o_block.c +++ b/drivers/message/i2o/i2o_block.c | |||
@@ -609,7 +609,7 @@ static int i2o_block_release(struct gendisk *disk, fmode_t mode) | |||
609 | u8 operation; | 609 | u8 operation; |
610 | 610 | ||
611 | /* | 611 | /* |
612 | * This is to deail with the case of an application | 612 | * This is to deal with the case of an application |
613 | * opening a device and then the device disappears while | 613 | * opening a device and then the device disappears while |
614 | * it's in use, and then the application tries to release | 614 | * it's in use, and then the application tries to release |
615 | * it. ex: Unmounting a deleted RAID volume at reboot. | 615 | * it. ex: Unmounting a deleted RAID volume at reboot. |
diff --git a/drivers/message/i2o/i2o_config.c b/drivers/message/i2o/i2o_config.c index 9a49c243a6ac..5451beff183f 100644 --- a/drivers/message/i2o/i2o_config.c +++ b/drivers/message/i2o/i2o_config.c | |||
@@ -189,7 +189,7 @@ static int i2o_cfg_parms(unsigned long arg, unsigned int type) | |||
189 | return -ENXIO; | 189 | return -ENXIO; |
190 | 190 | ||
191 | /* | 191 | /* |
192 | * Stop users being able to try and allocate arbitary amounts | 192 | * Stop users being able to try and allocate arbitrary amounts |
193 | * of DMA space. 64K is way more than sufficient for this. | 193 | * of DMA space. 64K is way more than sufficient for this. |
194 | */ | 194 | */ |
195 | if (kcmd.oplen > 65536) | 195 | if (kcmd.oplen > 65536) |
diff --git a/drivers/mmc/host/Kconfig b/drivers/mmc/host/Kconfig index 737e4edc241b..8d13c6594520 100644 --- a/drivers/mmc/host/Kconfig +++ b/drivers/mmc/host/Kconfig | |||
@@ -533,7 +533,7 @@ config MMC_DW_PLTFM | |||
533 | If unsure, say Y. | 533 | If unsure, say Y. |
534 | 534 | ||
535 | config MMC_DW_EXYNOS | 535 | config MMC_DW_EXYNOS |
536 | tristate "Exynos specific extentions for Synopsys DW Memory Card Interface" | 536 | tristate "Exynos specific extensions for Synopsys DW Memory Card Interface" |
537 | depends on MMC_DW | 537 | depends on MMC_DW |
538 | select MMC_DW_PLTFM | 538 | select MMC_DW_PLTFM |
539 | help | 539 | help |
diff --git a/drivers/mtd/maps/plat-ram.c b/drivers/mtd/maps/plat-ram.c index 891558de3ec1..2de66b062f0d 100644 --- a/drivers/mtd/maps/plat-ram.c +++ b/drivers/mtd/maps/plat-ram.c | |||
@@ -219,7 +219,7 @@ static int platram_probe(struct platform_device *pdev) | |||
219 | 219 | ||
220 | platram_setrw(info, PLATRAM_RW); | 220 | platram_setrw(info, PLATRAM_RW); |
221 | 221 | ||
222 | /* check to see if there are any available partitions, or wether | 222 | /* check to see if there are any available partitions, or whether |
223 | * to add this device whole */ | 223 | * to add this device whole */ |
224 | 224 | ||
225 | err = mtd_device_parse_register(info->mtd, pdata->probes, NULL, | 225 | err = mtd_device_parse_register(info->mtd, pdata->probes, NULL, |
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 295e4bedad96..79ded48e7427 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -879,7 +879,7 @@ static void s3c2410_nand_update_chip(struct s3c2410_nand_info *info, | |||
879 | if (chip->ecc.mode != NAND_ECC_HW) | 879 | if (chip->ecc.mode != NAND_ECC_HW) |
880 | return; | 880 | return; |
881 | 881 | ||
882 | /* change the behaviour depending on wether we are using | 882 | /* change the behaviour depending on whether we are using |
883 | * the large or small page nand device */ | 883 | * the large or small page nand device */ |
884 | 884 | ||
885 | if (chip->page_shift > 10) { | 885 | if (chip->page_shift > 10) { |
diff --git a/drivers/net/bonding/bonding.h b/drivers/net/bonding/bonding.h index 6dded569b111..21b68e5c14fd 100644 --- a/drivers/net/bonding/bonding.h +++ b/drivers/net/bonding/bonding.h | |||
@@ -245,7 +245,7 @@ struct bonding { | |||
245 | struct delayed_work ad_work; | 245 | struct delayed_work ad_work; |
246 | struct delayed_work mcast_work; | 246 | struct delayed_work mcast_work; |
247 | #ifdef CONFIG_DEBUG_FS | 247 | #ifdef CONFIG_DEBUG_FS |
248 | /* debugging suport via debugfs */ | 248 | /* debugging support via debugfs */ |
249 | struct dentry *debug_dir; | 249 | struct dentry *debug_dir; |
250 | #endif /* CONFIG_DEBUG_FS */ | 250 | #endif /* CONFIG_DEBUG_FS */ |
251 | }; | 251 | }; |
diff --git a/drivers/net/ethernet/8390/ax88796.c b/drivers/net/ethernet/8390/ax88796.c index 0338352bc036..70dba5d01ad3 100644 --- a/drivers/net/ethernet/8390/ax88796.c +++ b/drivers/net/ethernet/8390/ax88796.c | |||
@@ -109,7 +109,7 @@ static inline struct ax_device *to_ax_dev(struct net_device *dev) | |||
109 | /* | 109 | /* |
110 | * ax_initial_check | 110 | * ax_initial_check |
111 | * | 111 | * |
112 | * do an initial probe for the card to check wether it exists | 112 | * do an initial probe for the card to check whether it exists |
113 | * and is functional | 113 | * and is functional |
114 | */ | 114 | */ |
115 | static int ax_initial_check(struct net_device *dev) | 115 | static int ax_initial_check(struct net_device *dev) |
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c index b8b4b749daab..09b625e0fdaa 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c | |||
@@ -4318,7 +4318,7 @@ static int bnx2x_queue_comp_cmd(struct bnx2x *bp, | |||
4318 | 4318 | ||
4319 | if (o->next_tx_only >= o->max_cos) | 4319 | if (o->next_tx_only >= o->max_cos) |
4320 | /* >= becuase tx only must always be smaller than cos since the | 4320 | /* >= becuase tx only must always be smaller than cos since the |
4321 | * primary connection suports COS 0 | 4321 | * primary connection supports COS 0 |
4322 | */ | 4322 | */ |
4323 | BNX2X_ERR("illegal value for next tx_only: %d. max cos was %d", | 4323 | BNX2X_ERR("illegal value for next tx_only: %d. max cos was %d", |
4324 | o->next_tx_only, o->max_cos); | 4324 | o->next_tx_only, o->max_cos); |
diff --git a/drivers/net/ethernet/intel/e1000/e1000_ethtool.c b/drivers/net/ethernet/intel/e1000/e1000_ethtool.c index 9089d00f1421..14e30515f6aa 100644 --- a/drivers/net/ethernet/intel/e1000/e1000_ethtool.c +++ b/drivers/net/ethernet/intel/e1000/e1000_ethtool.c | |||
@@ -1671,7 +1671,7 @@ static void e1000_get_wol(struct net_device *netdev, | |||
1671 | /* apply any specific unsupported masks here */ | 1671 | /* apply any specific unsupported masks here */ |
1672 | switch (hw->device_id) { | 1672 | switch (hw->device_id) { |
1673 | case E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3: | 1673 | case E1000_DEV_ID_82546GB_QUAD_COPPER_KSP3: |
1674 | /* KSP3 does not suppport UCAST wake-ups */ | 1674 | /* KSP3 does not support UCAST wake-ups */ |
1675 | wol->supported &= ~WAKE_UCAST; | 1675 | wol->supported &= ~WAKE_UCAST; |
1676 | 1676 | ||
1677 | if (adapter->wol & E1000_WUFC_EX) | 1677 | if (adapter->wol & E1000_WUFC_EX) |
diff --git a/drivers/net/ethernet/mellanox/mlx4/eq.c b/drivers/net/ethernet/mellanox/mlx4/eq.c index b84a88bc44dc..c48cf6f6529c 100644 --- a/drivers/net/ethernet/mellanox/mlx4/eq.c +++ b/drivers/net/ethernet/mellanox/mlx4/eq.c | |||
@@ -1267,7 +1267,7 @@ int mlx4_test_interrupts(struct mlx4_dev *dev) | |||
1267 | /* Temporary use polling for command completions */ | 1267 | /* Temporary use polling for command completions */ |
1268 | mlx4_cmd_use_polling(dev); | 1268 | mlx4_cmd_use_polling(dev); |
1269 | 1269 | ||
1270 | /* Map the new eq to handle all asyncronous events */ | 1270 | /* Map the new eq to handle all asynchronous events */ |
1271 | err = mlx4_MAP_EQ(dev, get_async_ev_mask(dev), 0, | 1271 | err = mlx4_MAP_EQ(dev, get_async_ev_mask(dev), 0, |
1272 | priv->eq_table.eq[i].eqn); | 1272 | priv->eq_table.eq[i].eqn); |
1273 | if (err) { | 1273 | if (err) { |
diff --git a/drivers/net/ethernet/micrel/ksz884x.c b/drivers/net/ethernet/micrel/ksz884x.c index 093d594435e1..83f0ea929d3d 100644 --- a/drivers/net/ethernet/micrel/ksz884x.c +++ b/drivers/net/ethernet/micrel/ksz884x.c | |||
@@ -6769,7 +6769,7 @@ static int stp; | |||
6769 | /* | 6769 | /* |
6770 | * This enables fast aging in the KSZ8842 switch. Not sure what situation | 6770 | * This enables fast aging in the KSZ8842 switch. Not sure what situation |
6771 | * needs that. However, fast aging is used to flush the dynamic MAC table when | 6771 | * needs that. However, fast aging is used to flush the dynamic MAC table when |
6772 | * STP suport is enabled. | 6772 | * STP support is enabled. |
6773 | */ | 6773 | */ |
6774 | static int fast_aging; | 6774 | static int fast_aging; |
6775 | 6775 | ||
diff --git a/drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h b/drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h index 7ec4b864a550..75ec5e7cf50d 100644 --- a/drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h +++ b/drivers/net/ethernet/myricom/myri10ge/myri10ge_mcp_gen_header.h | |||
@@ -27,7 +27,7 @@ struct mcp_gen_header { | |||
27 | * | 27 | * |
28 | * Fields below this comment are extensions added in later versions | 28 | * Fields below this comment are extensions added in later versions |
29 | * of this struct, drivers should compare the header_length against | 29 | * of this struct, drivers should compare the header_length against |
30 | * offsetof(field) to check wether a given MCP implements them. | 30 | * offsetof(field) to check whether a given MCP implements them. |
31 | * | 31 | * |
32 | * Never remove any field. Keep everything naturally align. | 32 | * Never remove any field. Keep everything naturally align. |
33 | */ | 33 | */ |
diff --git a/drivers/net/sungem_phy.c b/drivers/net/sungem_phy.c index 58f13adaa549..ae7cd7f3656d 100644 --- a/drivers/net/sungem_phy.c +++ b/drivers/net/sungem_phy.c | |||
@@ -608,7 +608,7 @@ static int bcm5421_poll_link(struct mii_phy* phy) | |||
608 | if ( mode == BCM54XX_COPPER) | 608 | if ( mode == BCM54XX_COPPER) |
609 | return genmii_poll_link(phy); | 609 | return genmii_poll_link(phy); |
610 | 610 | ||
611 | /* try to find out wether we have a link */ | 611 | /* try to find out whether we have a link */ |
612 | phy_write(phy, MII_NCONFIG, 0x2000); | 612 | phy_write(phy, MII_NCONFIG, 0x2000); |
613 | phy_reg = phy_read(phy, MII_NCONFIG); | 613 | phy_reg = phy_read(phy, MII_NCONFIG); |
614 | 614 | ||
@@ -634,7 +634,7 @@ static int bcm5421_read_link(struct mii_phy* phy) | |||
634 | 634 | ||
635 | phy->speed = SPEED_1000; | 635 | phy->speed = SPEED_1000; |
636 | 636 | ||
637 | /* find out wether we are running half- or full duplex */ | 637 | /* find out whether we are running half- or full duplex */ |
638 | phy_write(phy, MII_NCONFIG, 0x2000); | 638 | phy_write(phy, MII_NCONFIG, 0x2000); |
639 | phy_reg = phy_read(phy, MII_NCONFIG); | 639 | phy_reg = phy_read(phy, MII_NCONFIG); |
640 | 640 | ||
@@ -681,7 +681,7 @@ static int bcm5461_poll_link(struct mii_phy* phy) | |||
681 | if ( mode == BCM54XX_COPPER) | 681 | if ( mode == BCM54XX_COPPER) |
682 | return genmii_poll_link(phy); | 682 | return genmii_poll_link(phy); |
683 | 683 | ||
684 | /* find out wether we have a link */ | 684 | /* find out whether we have a link */ |
685 | phy_write(phy, MII_NCONFIG, 0x7000); | 685 | phy_write(phy, MII_NCONFIG, 0x7000); |
686 | phy_reg = phy_read(phy, MII_NCONFIG); | 686 | phy_reg = phy_read(phy, MII_NCONFIG); |
687 | 687 | ||
@@ -710,7 +710,7 @@ static int bcm5461_read_link(struct mii_phy* phy) | |||
710 | 710 | ||
711 | phy->speed = SPEED_1000; | 711 | phy->speed = SPEED_1000; |
712 | 712 | ||
713 | /* find out wether we are running half- or full duplex */ | 713 | /* find out whether we are running half- or full duplex */ |
714 | phy_write(phy, MII_NCONFIG, 0x7000); | 714 | phy_write(phy, MII_NCONFIG, 0x7000); |
715 | phy_reg = phy_read(phy, MII_NCONFIG); | 715 | phy_reg = phy_read(phy, MII_NCONFIG); |
716 | 716 | ||
diff --git a/drivers/net/wimax/i2400m/debugfs.c b/drivers/net/wimax/i2400m/debugfs.c index 4b66ab1d0e5c..6702da838b0e 100644 --- a/drivers/net/wimax/i2400m/debugfs.c +++ b/drivers/net/wimax/i2400m/debugfs.c | |||
@@ -209,6 +209,7 @@ int debugfs_i2400m_reset_set(void *data, u64 val) | |||
209 | result = i2400m_reset(i2400m, rt); | 209 | result = i2400m_reset(i2400m, rt); |
210 | if (result >= 0) | 210 | if (result >= 0) |
211 | result = 0; | 211 | result = 0; |
212 | break; | ||
212 | default: | 213 | default: |
213 | result = -EINVAL; | 214 | result = -EINVAL; |
214 | } | 215 | } |
diff --git a/drivers/net/wireless/atmel.c b/drivers/net/wireless/atmel.c index 4a4e98f71807..4374079dfc2a 100644 --- a/drivers/net/wireless/atmel.c +++ b/drivers/net/wireless/atmel.c | |||
@@ -2963,7 +2963,7 @@ static void send_association_request(struct atmel_private *priv, int is_reassoc) | |||
2963 | ssid_el_p[1] = priv->SSID_size; | 2963 | ssid_el_p[1] = priv->SSID_size; |
2964 | memcpy(ssid_el_p + 2, priv->SSID, priv->SSID_size); | 2964 | memcpy(ssid_el_p + 2, priv->SSID, priv->SSID_size); |
2965 | ssid_el_p[2 + priv->SSID_size] = WLAN_EID_SUPP_RATES; | 2965 | ssid_el_p[2 + priv->SSID_size] = WLAN_EID_SUPP_RATES; |
2966 | ssid_el_p[3 + priv->SSID_size] = 4; /* len of suported rates */ | 2966 | ssid_el_p[3 + priv->SSID_size] = 4; /* len of supported rates */ |
2967 | memcpy(ssid_el_p + 4 + priv->SSID_size, atmel_basic_rates, 4); | 2967 | memcpy(ssid_el_p + 4 + priv->SSID_size, atmel_basic_rates, 4); |
2968 | 2968 | ||
2969 | atmel_transmit_management_frame(priv, &header, (void *)&body, bodysize); | 2969 | atmel_transmit_management_frame(priv, &header, (void *)&body, bodysize); |
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.h b/drivers/net/wireless/ipw2x00/ipw2100.h index 973125242490..5fe17cbab1f3 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.h +++ b/drivers/net/wireless/ipw2x00/ipw2100.h | |||
@@ -1045,7 +1045,7 @@ typedef enum _ORDINAL_TABLE_1 { // NS - means Not Supported by FW | |||
1045 | IPW_ORD_POWER_MGMT_MODE, // Power mode - 0=CAM, 1=PSP | 1045 | IPW_ORD_POWER_MGMT_MODE, // Power mode - 0=CAM, 1=PSP |
1046 | IPW_ORD_POWER_MGMT_INDEX, //NS // | 1046 | IPW_ORD_POWER_MGMT_INDEX, //NS // |
1047 | IPW_ORD_COUNTRY_CODE, // IEEE country code as recv'd from beacon | 1047 | IPW_ORD_COUNTRY_CODE, // IEEE country code as recv'd from beacon |
1048 | IPW_ORD_COUNTRY_CHANNELS, // channels suported by country | 1048 | IPW_ORD_COUNTRY_CHANNELS, // channels supported by country |
1049 | // IPW_ORD_COUNTRY_CHANNELS: | 1049 | // IPW_ORD_COUNTRY_CHANNELS: |
1050 | // For 11b the lower 2-byte are used for channels from 1-14 | 1050 | // For 11b the lower 2-byte are used for channels from 1-14 |
1051 | // and the higher 2-byte are not used. | 1051 | // and the higher 2-byte are not used. |
diff --git a/drivers/net/wireless/zd1211rw/zd_chip.c b/drivers/net/wireless/zd1211rw/zd_chip.c index ff306d763e37..71ab320fae82 100644 --- a/drivers/net/wireless/zd1211rw/zd_chip.c +++ b/drivers/net/wireless/zd1211rw/zd_chip.c | |||
@@ -1155,7 +1155,7 @@ int zd_chip_init_hw(struct zd_chip *chip) | |||
1155 | if (r) | 1155 | if (r) |
1156 | goto out; | 1156 | goto out; |
1157 | /* Currently we support IEEE 802.11g for full and high speed USB. | 1157 | /* Currently we support IEEE 802.11g for full and high speed USB. |
1158 | * It might be discussed, whether we should suppport pure b mode for | 1158 | * It might be discussed, whether we should support pure b mode for |
1159 | * full speed USB. | 1159 | * full speed USB. |
1160 | */ | 1160 | */ |
1161 | r = set_mandatory_rates(chip, 1); | 1161 | r = set_mandatory_rates(chip, 1); |
diff --git a/drivers/regulator/palmas-regulator.c b/drivers/regulator/palmas-regulator.c index 07aee694ba92..08fec06dba50 100644 --- a/drivers/regulator/palmas-regulator.c +++ b/drivers/regulator/palmas-regulator.c | |||
@@ -773,7 +773,7 @@ static __devinit int palmas_probe(struct platform_device *pdev) | |||
773 | /* | 773 | /* |
774 | * read and store the RANGE bit for later use | 774 | * read and store the RANGE bit for later use |
775 | * This must be done before regulator is probed otherwise | 775 | * This must be done before regulator is probed otherwise |
776 | * we error in probe with unsuportable ranges. | 776 | * we error in probe with unsupportable ranges. |
777 | */ | 777 | */ |
778 | if (id != PALMAS_REG_SMPS10) { | 778 | if (id != PALMAS_REG_SMPS10) { |
779 | addr = palmas_regs_info[id].vsel_addr; | 779 | addr = palmas_regs_info[id].vsel_addr; |
diff --git a/drivers/remoteproc/remoteproc_elf_loader.c b/drivers/remoteproc/remoteproc_elf_loader.c index e1f89d649733..0d36f94ab51d 100644 --- a/drivers/remoteproc/remoteproc_elf_loader.c +++ b/drivers/remoteproc/remoteproc_elf_loader.c | |||
@@ -66,13 +66,13 @@ rproc_elf_sanity_check(struct rproc *rproc, const struct firmware *fw) | |||
66 | return -EINVAL; | 66 | return -EINVAL; |
67 | } | 67 | } |
68 | 68 | ||
69 | /* We assume the firmware has the same endianess as the host */ | 69 | /* We assume the firmware has the same endianness as the host */ |
70 | # ifdef __LITTLE_ENDIAN | 70 | # ifdef __LITTLE_ENDIAN |
71 | if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { | 71 | if (ehdr->e_ident[EI_DATA] != ELFDATA2LSB) { |
72 | # else /* BIG ENDIAN */ | 72 | # else /* BIG ENDIAN */ |
73 | if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { | 73 | if (ehdr->e_ident[EI_DATA] != ELFDATA2MSB) { |
74 | # endif | 74 | # endif |
75 | dev_err(dev, "Unsupported firmware endianess\n"); | 75 | dev_err(dev, "Unsupported firmware endianness\n"); |
76 | return -EINVAL; | 76 | return -EINVAL; |
77 | } | 77 | } |
78 | 78 | ||
diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c index 26c81f233606..afb7cfa85ccc 100644 --- a/drivers/rtc/rtc-isl1208.c +++ b/drivers/rtc/rtc-isl1208.c | |||
@@ -118,7 +118,7 @@ isl1208_i2c_set_regs(struct i2c_client *client, u8 reg, u8 const buf[], | |||
118 | return ret; | 118 | return ret; |
119 | } | 119 | } |
120 | 120 | ||
121 | /* simple check to see wether we have a isl1208 */ | 121 | /* simple check to see whether we have a isl1208 */ |
122 | static int | 122 | static int |
123 | isl1208_i2c_validate_client(struct i2c_client *client) | 123 | isl1208_i2c_validate_client(struct i2c_client *client) |
124 | { | 124 | { |
diff --git a/drivers/rtc/rtc-s3c.c b/drivers/rtc/rtc-s3c.c index 77823d21d314..a7a2a998fa91 100644 --- a/drivers/rtc/rtc-s3c.c +++ b/drivers/rtc/rtc-s3c.c | |||
@@ -186,7 +186,7 @@ static int s3c_rtc_gettime(struct device *dev, struct rtc_time *rtc_tm) | |||
186 | rtc_tm->tm_year = readb(base + S3C2410_RTCYEAR); | 186 | rtc_tm->tm_year = readb(base + S3C2410_RTCYEAR); |
187 | rtc_tm->tm_sec = readb(base + S3C2410_RTCSEC); | 187 | rtc_tm->tm_sec = readb(base + S3C2410_RTCSEC); |
188 | 188 | ||
189 | /* the only way to work out wether the system was mid-update | 189 | /* the only way to work out whether the system was mid-update |
190 | * when we read it is to check the second counter, and if it | 190 | * when we read it is to check the second counter, and if it |
191 | * is zero, then we re-try the entire read | 191 | * is zero, then we re-try the entire read |
192 | */ | 192 | */ |
diff --git a/drivers/s390/block/dasd_devmap.c b/drivers/s390/block/dasd_devmap.c index b2b8c18eeced..20cfd028edcf 100644 --- a/drivers/s390/block/dasd_devmap.c +++ b/drivers/s390/block/dasd_devmap.c | |||
@@ -1344,7 +1344,7 @@ dasd_get_feature(struct ccw_device *cdev, int feature) | |||
1344 | 1344 | ||
1345 | /* | 1345 | /* |
1346 | * Set / reset given feature. | 1346 | * Set / reset given feature. |
1347 | * Flag indicates wether to set (!=0) or the reset (=0) the feature. | 1347 | * Flag indicates whether to set (!=0) or the reset (=0) the feature. |
1348 | */ | 1348 | */ |
1349 | int | 1349 | int |
1350 | dasd_set_feature(struct ccw_device *cdev, int feature, int flag) | 1350 | dasd_set_feature(struct ccw_device *cdev, int feature, int flag) |
diff --git a/drivers/scsi/bnx2fc/bnx2fc_hwi.c b/drivers/scsi/bnx2fc/bnx2fc_hwi.c index 6d6eee42ac7d..ef60afa94d0e 100644 --- a/drivers/scsi/bnx2fc/bnx2fc_hwi.c +++ b/drivers/scsi/bnx2fc/bnx2fc_hwi.c | |||
@@ -296,7 +296,7 @@ int bnx2fc_send_session_ofld_req(struct fcoe_port *port, | |||
296 | ofld_req3.flags |= (interface->vlan_enabled << | 296 | ofld_req3.flags |= (interface->vlan_enabled << |
297 | FCOE_KWQE_CONN_OFFLOAD3_B_VLAN_FLAG_SHIFT); | 297 | FCOE_KWQE_CONN_OFFLOAD3_B_VLAN_FLAG_SHIFT); |
298 | 298 | ||
299 | /* C2_VALID and ACK flags are not set as they are not suppported */ | 299 | /* C2_VALID and ACK flags are not set as they are not supported */ |
300 | 300 | ||
301 | 301 | ||
302 | /* Initialize offload request 4 structure */ | 302 | /* Initialize offload request 4 structure */ |
diff --git a/drivers/scsi/libsas/sas_expander.c b/drivers/scsi/libsas/sas_expander.c index efc6e72f09f3..aec2e0da5016 100644 --- a/drivers/scsi/libsas/sas_expander.c +++ b/drivers/scsi/libsas/sas_expander.c | |||
@@ -1800,7 +1800,7 @@ out: | |||
1800 | * @dev:domain device to be detect. | 1800 | * @dev:domain device to be detect. |
1801 | * @src_dev: the device which originated BROADCAST(CHANGE). | 1801 | * @src_dev: the device which originated BROADCAST(CHANGE). |
1802 | * | 1802 | * |
1803 | * Add self-configuration expander suport. Suppose two expander cascading, | 1803 | * Add self-configuration expander support. Suppose two expander cascading, |
1804 | * when the first level expander is self-configuring, hotplug the disks in | 1804 | * when the first level expander is self-configuring, hotplug the disks in |
1805 | * second level expander, BROADCAST(CHANGE) will not only be originated | 1805 | * second level expander, BROADCAST(CHANGE) will not only be originated |
1806 | * in the second level expander, but also be originated in the first level | 1806 | * in the second level expander, but also be originated in the first level |
diff --git a/drivers/scsi/qla2xxx/qla_isr.c b/drivers/scsi/qla2xxx/qla_isr.c index 5733811ce8e7..9d1c7b56090a 100644 --- a/drivers/scsi/qla2xxx/qla_isr.c +++ b/drivers/scsi/qla2xxx/qla_isr.c | |||
@@ -251,7 +251,7 @@ qla2x00_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0) | |||
251 | /* Read all mbox registers? */ | 251 | /* Read all mbox registers? */ |
252 | mboxes = (1 << ha->mbx_count) - 1; | 252 | mboxes = (1 << ha->mbx_count) - 1; |
253 | if (!ha->mcp) | 253 | if (!ha->mcp) |
254 | ql_dbg(ql_dbg_async, vha, 0x5001, "MBX pointer ERRROR.\n"); | 254 | ql_dbg(ql_dbg_async, vha, 0x5001, "MBX pointer ERROR.\n"); |
255 | else | 255 | else |
256 | mboxes = ha->mcp->in_mb; | 256 | mboxes = ha->mcp->in_mb; |
257 | 257 | ||
@@ -2318,7 +2318,7 @@ qla24xx_mbx_completion(scsi_qla_host_t *vha, uint16_t mb0) | |||
2318 | /* Read all mbox registers? */ | 2318 | /* Read all mbox registers? */ |
2319 | mboxes = (1 << ha->mbx_count) - 1; | 2319 | mboxes = (1 << ha->mbx_count) - 1; |
2320 | if (!ha->mcp) | 2320 | if (!ha->mcp) |
2321 | ql_dbg(ql_dbg_async, vha, 0x504e, "MBX pointer ERRROR.\n"); | 2321 | ql_dbg(ql_dbg_async, vha, 0x504e, "MBX pointer ERROR.\n"); |
2322 | else | 2322 | else |
2323 | mboxes = ha->mcp->in_mb; | 2323 | mboxes = ha->mcp->in_mb; |
2324 | 2324 | ||
diff --git a/drivers/scsi/qla2xxx/qla_nx.c b/drivers/scsi/qla2xxx/qla_nx.c index 14cd361742fa..f5e297c6b684 100644 --- a/drivers/scsi/qla2xxx/qla_nx.c +++ b/drivers/scsi/qla2xxx/qla_nx.c | |||
@@ -955,7 +955,7 @@ qla82xx_rom_fast_read(struct qla_hw_data *ha, int addr, int *valp) | |||
955 | } | 955 | } |
956 | if (loops >= 50000) { | 956 | if (loops >= 50000) { |
957 | ql_log(ql_log_fatal, vha, 0x00b9, | 957 | ql_log(ql_log_fatal, vha, 0x00b9, |
958 | "Failed to aquire SEM2 lock.\n"); | 958 | "Failed to acquire SEM2 lock.\n"); |
959 | return -1; | 959 | return -1; |
960 | } | 960 | } |
961 | ret = qla82xx_do_rom_fast_read(ha, addr, valp); | 961 | ret = qla82xx_do_rom_fast_read(ha, addr, valp); |
@@ -1122,7 +1122,7 @@ qla82xx_pinit_from_rom(scsi_qla_host_t *vha) | |||
1122 | long data; | 1122 | long data; |
1123 | }; | 1123 | }; |
1124 | 1124 | ||
1125 | /* Halt all the indiviual PEGs and other blocks of the ISP */ | 1125 | /* Halt all the individual PEGs and other blocks of the ISP */ |
1126 | qla82xx_rom_lock(ha); | 1126 | qla82xx_rom_lock(ha); |
1127 | 1127 | ||
1128 | /* disable all I2Q */ | 1128 | /* disable all I2Q */ |
diff --git a/drivers/scsi/qla2xxx/qla_target.c b/drivers/scsi/qla2xxx/qla_target.c index 62aa5584f644..b49d21779a24 100644 --- a/drivers/scsi/qla2xxx/qla_target.c +++ b/drivers/scsi/qla2xxx/qla_target.c | |||
@@ -73,7 +73,7 @@ enum fcp_resp_rsp_codes { | |||
73 | #define FCP_PTA_SIMPLE 0 /* simple task attribute */ | 73 | #define FCP_PTA_SIMPLE 0 /* simple task attribute */ |
74 | #define FCP_PTA_HEADQ 1 /* head of queue task attribute */ | 74 | #define FCP_PTA_HEADQ 1 /* head of queue task attribute */ |
75 | #define FCP_PTA_ORDERED 2 /* ordered task attribute */ | 75 | #define FCP_PTA_ORDERED 2 /* ordered task attribute */ |
76 | #define FCP_PTA_ACA 4 /* auto. contigent allegiance */ | 76 | #define FCP_PTA_ACA 4 /* auto. contingent allegiance */ |
77 | #define FCP_PTA_MASK 7 /* mask for task attribute field */ | 77 | #define FCP_PTA_MASK 7 /* mask for task attribute field */ |
78 | #define FCP_PRI_SHIFT 3 /* priority field starts in bit 3 */ | 78 | #define FCP_PRI_SHIFT 3 /* priority field starts in bit 3 */ |
79 | #define FCP_PRI_RESVD_MASK 0x80 /* reserved bits in priority field */ | 79 | #define FCP_PRI_RESVD_MASK 0x80 /* reserved bits in priority field */ |
@@ -3980,7 +3980,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha, | |||
3980 | case MBA_RSP_TRANSFER_ERR: /* Response Transfer Error */ | 3980 | case MBA_RSP_TRANSFER_ERR: /* Response Transfer Error */ |
3981 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03a, | 3981 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03a, |
3982 | "qla_target(%d): System error async event %#x " | 3982 | "qla_target(%d): System error async event %#x " |
3983 | "occured", vha->vp_idx, code); | 3983 | "occurred", vha->vp_idx, code); |
3984 | break; | 3984 | break; |
3985 | case MBA_WAKEUP_THRES: /* Request Queue Wake-up. */ | 3985 | case MBA_WAKEUP_THRES: /* Request Queue Wake-up. */ |
3986 | set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); | 3986 | set_bit(ISP_ABORT_NEEDED, &vha->dpc_flags); |
@@ -3989,7 +3989,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha, | |||
3989 | case MBA_LOOP_UP: | 3989 | case MBA_LOOP_UP: |
3990 | { | 3990 | { |
3991 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03b, | 3991 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03b, |
3992 | "qla_target(%d): Async LOOP_UP occured " | 3992 | "qla_target(%d): Async LOOP_UP occurred " |
3993 | "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, | 3993 | "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, |
3994 | le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), | 3994 | le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), |
3995 | le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); | 3995 | le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); |
@@ -4006,7 +4006,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha, | |||
4006 | case MBA_LIP_RESET: | 4006 | case MBA_LIP_RESET: |
4007 | case MBA_RSCN_UPDATE: | 4007 | case MBA_RSCN_UPDATE: |
4008 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03c, | 4008 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03c, |
4009 | "qla_target(%d): Async event %#x occured " | 4009 | "qla_target(%d): Async event %#x occurred " |
4010 | "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, code, | 4010 | "(m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, code, |
4011 | le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), | 4011 | le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), |
4012 | le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); | 4012 | le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); |
@@ -4015,7 +4015,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha, | |||
4015 | case MBA_PORT_UPDATE: | 4015 | case MBA_PORT_UPDATE: |
4016 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03d, | 4016 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf03d, |
4017 | "qla_target(%d): Port update async event %#x " | 4017 | "qla_target(%d): Port update async event %#x " |
4018 | "occured: updating the ports database (m[0]=%x, m[1]=%x, " | 4018 | "occurred: updating the ports database (m[0]=%x, m[1]=%x, " |
4019 | "m[2]=%x, m[3]=%x)", vha->vp_idx, code, | 4019 | "m[2]=%x, m[3]=%x)", vha->vp_idx, code, |
4020 | le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), | 4020 | le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), |
4021 | le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); | 4021 | le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); |
@@ -4031,7 +4031,7 @@ void qlt_async_event(uint16_t code, struct scsi_qla_host *vha, | |||
4031 | 4031 | ||
4032 | default: | 4032 | default: |
4033 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf040, | 4033 | ql_dbg(ql_dbg_tgt_mgt, vha, 0xf040, |
4034 | "qla_target(%d): Async event %#x occured: " | 4034 | "qla_target(%d): Async event %#x occurred: " |
4035 | "ignore (m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, | 4035 | "ignore (m[0]=%x, m[1]=%x, m[2]=%x, m[3]=%x)", vha->vp_idx, |
4036 | code, le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), | 4036 | code, le16_to_cpu(mailbox[0]), le16_to_cpu(mailbox[1]), |
4037 | le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); | 4037 | le16_to_cpu(mailbox[2]), le16_to_cpu(mailbox[3])); |
diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c index 3d74f2f39ae1..4372e32bc95f 100644 --- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c +++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c | |||
@@ -367,7 +367,7 @@ static struct se_node_acl *tcm_qla2xxx_alloc_fabric_acl( | |||
367 | 367 | ||
368 | nacl = kzalloc(sizeof(struct tcm_qla2xxx_nacl), GFP_KERNEL); | 368 | nacl = kzalloc(sizeof(struct tcm_qla2xxx_nacl), GFP_KERNEL); |
369 | if (!nacl) { | 369 | if (!nacl) { |
370 | pr_err("Unable to alocate struct tcm_qla2xxx_nacl\n"); | 370 | pr_err("Unable to allocate struct tcm_qla2xxx_nacl\n"); |
371 | return NULL; | 371 | return NULL; |
372 | } | 372 | } |
373 | 373 | ||
diff --git a/drivers/staging/comedi/drivers/usbdux.c b/drivers/staging/comedi/drivers/usbdux.c index 78f3a2e013c4..17b45ebb0553 100644 --- a/drivers/staging/comedi/drivers/usbdux.c +++ b/drivers/staging/comedi/drivers/usbdux.c | |||
@@ -73,7 +73,7 @@ sampling rate. If you sample two channels you get 4kHz and so on. | |||
73 | * And loads of cleaning up, in particular streamlining the | 73 | * And loads of cleaning up, in particular streamlining the |
74 | * bulk transfers. | 74 | * bulk transfers. |
75 | * 1.1: moved EP4 transfers to EP1 to make space for a PWM output on EP4 | 75 | * 1.1: moved EP4 transfers to EP1 to make space for a PWM output on EP4 |
76 | * 1.2: added PWM suport via EP4 | 76 | * 1.2: added PWM support via EP4 |
77 | * 2.0: PWM seems to be stable and is not interfering with the other functions | 77 | * 2.0: PWM seems to be stable and is not interfering with the other functions |
78 | * 2.1: changed PWM API | 78 | * 2.1: changed PWM API |
79 | * 2.2: added firmware kernel request to fix an udev problem | 79 | * 2.2: added firmware kernel request to fix an udev problem |
diff --git a/drivers/staging/tidspbridge/rmgr/node.c b/drivers/staging/tidspbridge/rmgr/node.c index 294e9b40f516..737f4a9d86a3 100644 --- a/drivers/staging/tidspbridge/rmgr/node.c +++ b/drivers/staging/tidspbridge/rmgr/node.c | |||
@@ -736,7 +736,7 @@ DBAPI node_alloc_msg_buf(struct node_object *hnode, u32 usize, | |||
736 | case 4: | 736 | case 4: |
737 | break; | 737 | break; |
738 | default: | 738 | default: |
739 | /* alignment value not suportted */ | 739 | /* alignment value not supportted */ |
740 | status = -EPERM; | 740 | status = -EPERM; |
741 | break; | 741 | break; |
742 | } | 742 | } |
diff --git a/drivers/target/iscsi/iscsi_target_configfs.c b/drivers/target/iscsi/iscsi_target_configfs.c index ff6fd4fb624d..0f03b7919d7c 100644 --- a/drivers/target/iscsi/iscsi_target_configfs.c +++ b/drivers/target/iscsi/iscsi_target_configfs.c | |||
@@ -235,7 +235,7 @@ static struct se_tpg_np *lio_target_call_addnptotpg( | |||
235 | * iSER/SCTP (TODO, software emulation with osc-iwarp) | 235 | * iSER/SCTP (TODO, software emulation with osc-iwarp) |
236 | * iSER/IB (TODO, hardware available) | 236 | * iSER/IB (TODO, hardware available) |
237 | * | 237 | * |
238 | * can be enabled with atributes under | 238 | * can be enabled with attributes under |
239 | * sys/kernel/config/iscsi/$IQN/$TPG/np/$IP:$PORT/ | 239 | * sys/kernel/config/iscsi/$IQN/$TPG/np/$IP:$PORT/ |
240 | * | 240 | * |
241 | */ | 241 | */ |
diff --git a/drivers/target/iscsi/iscsi_target_erl0.c b/drivers/target/iscsi/iscsi_target_erl0.c index 8aacf611b86d..8e6298cc8839 100644 --- a/drivers/target/iscsi/iscsi_target_erl0.c +++ b/drivers/target/iscsi/iscsi_target_erl0.c | |||
@@ -410,11 +410,11 @@ static int iscsit_dataout_pre_datapduinorder_yes( | |||
410 | /* | 410 | /* |
411 | * For DataSequenceInOrder=Yes: If the offset is greater than the global | 411 | * For DataSequenceInOrder=Yes: If the offset is greater than the global |
412 | * DataPDUInOrder=Yes offset counter in struct iscsi_cmd a protcol error has | 412 | * DataPDUInOrder=Yes offset counter in struct iscsi_cmd a protcol error has |
413 | * occured and fail the connection. | 413 | * occurred and fail the connection. |
414 | * | 414 | * |
415 | * For DataSequenceInOrder=No: If the offset is greater than the per | 415 | * For DataSequenceInOrder=No: If the offset is greater than the per |
416 | * sequence DataPDUInOrder=Yes offset counter in struct iscsi_seq a protocol | 416 | * sequence DataPDUInOrder=Yes offset counter in struct iscsi_seq a protocol |
417 | * error has occured and fail the connection. | 417 | * error has occurred and fail the connection. |
418 | */ | 418 | */ |
419 | if (conn->sess->sess_ops->DataSequenceInOrder) { | 419 | if (conn->sess->sess_ops->DataSequenceInOrder) { |
420 | if (be32_to_cpu(hdr->offset) != cmd->write_data_done) { | 420 | if (be32_to_cpu(hdr->offset) != cmd->write_data_done) { |
@@ -801,7 +801,7 @@ void iscsit_start_time2retain_handler(struct iscsi_session *sess) | |||
801 | { | 801 | { |
802 | int tpg_active; | 802 | int tpg_active; |
803 | /* | 803 | /* |
804 | * Only start Time2Retain timer when the assoicated TPG is still in | 804 | * Only start Time2Retain timer when the associated TPG is still in |
805 | * an ACTIVE (eg: not disabled or shutdown) state. | 805 | * an ACTIVE (eg: not disabled or shutdown) state. |
806 | */ | 806 | */ |
807 | spin_lock(&ISCSI_TPG_S(sess)->tpg_state_lock); | 807 | spin_lock(&ISCSI_TPG_S(sess)->tpg_state_lock); |
diff --git a/drivers/target/iscsi/iscsi_target_parameters.c b/drivers/target/iscsi/iscsi_target_parameters.c index 90b740048f26..1bf7432bfcbc 100644 --- a/drivers/target/iscsi/iscsi_target_parameters.c +++ b/drivers/target/iscsi/iscsi_target_parameters.c | |||
@@ -1432,6 +1432,7 @@ static struct iscsi_param *iscsi_check_key( | |||
1432 | break; | 1432 | break; |
1433 | case PHASE_OPERATIONAL: | 1433 | case PHASE_OPERATIONAL: |
1434 | pr_debug("Operational phase.\n"); | 1434 | pr_debug("Operational phase.\n"); |
1435 | break; | ||
1435 | default: | 1436 | default: |
1436 | pr_debug("Unknown phase.\n"); | 1437 | pr_debug("Unknown phase.\n"); |
1437 | } | 1438 | } |
diff --git a/drivers/target/iscsi/iscsi_target_util.c b/drivers/target/iscsi/iscsi_target_util.c index 1a91195ab619..69e0cfd98870 100644 --- a/drivers/target/iscsi/iscsi_target_util.c +++ b/drivers/target/iscsi/iscsi_target_util.c | |||
@@ -684,7 +684,7 @@ void iscsit_release_cmd(struct iscsi_cmd *cmd) | |||
684 | void iscsit_free_cmd(struct iscsi_cmd *cmd) | 684 | void iscsit_free_cmd(struct iscsi_cmd *cmd) |
685 | { | 685 | { |
686 | /* | 686 | /* |
687 | * Determine if a struct se_cmd is assoicated with | 687 | * Determine if a struct se_cmd is associated with |
688 | * this struct iscsi_cmd. | 688 | * this struct iscsi_cmd. |
689 | */ | 689 | */ |
690 | switch (cmd->iscsi_opcode) { | 690 | switch (cmd->iscsi_opcode) { |
diff --git a/drivers/thermal/Kconfig b/drivers/thermal/Kconfig index 8636fae1f7ec..c2c77d1ac499 100644 --- a/drivers/thermal/Kconfig +++ b/drivers/thermal/Kconfig | |||
@@ -98,7 +98,7 @@ config EXYNOS_THERMAL | |||
98 | depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) | 98 | depends on (ARCH_EXYNOS4 || ARCH_EXYNOS5) |
99 | depends on CPU_THERMAL | 99 | depends on CPU_THERMAL |
100 | help | 100 | help |
101 | If you say yes here you get support for TMU (Thermal Managment | 101 | If you say yes here you get support for TMU (Thermal Management |
102 | Unit) on SAMSUNG EXYNOS series of SoC. | 102 | Unit) on SAMSUNG EXYNOS series of SoC. |
103 | 103 | ||
104 | config DB8500_THERMAL | 104 | config DB8500_THERMAL |
diff --git a/drivers/tty/hvc/hvc_opal.c b/drivers/tty/hvc/hvc_opal.c index be1a9a1e749e..cd69b48f6dfd 100644 --- a/drivers/tty/hvc/hvc_opal.c +++ b/drivers/tty/hvc/hvc_opal.c | |||
@@ -178,7 +178,7 @@ static int hvc_opal_probe(struct platform_device *dev) | |||
178 | proto = HV_PROTOCOL_HVSI; | 178 | proto = HV_PROTOCOL_HVSI; |
179 | ops = &hvc_opal_hvsi_ops; | 179 | ops = &hvc_opal_hvsi_ops; |
180 | } else { | 180 | } else { |
181 | pr_err("hvc_opal: Unkown protocol for %s\n", | 181 | pr_err("hvc_opal: Unknown protocol for %s\n", |
182 | dev->dev.of_node->full_name); | 182 | dev->dev.of_node->full_name); |
183 | return -ENXIO; | 183 | return -ENXIO; |
184 | } | 184 | } |
diff --git a/drivers/tty/hvc/hvc_vio.c b/drivers/tty/hvc/hvc_vio.c index ed6f5f1f5a55..0c629807610e 100644 --- a/drivers/tty/hvc/hvc_vio.c +++ b/drivers/tty/hvc/hvc_vio.c | |||
@@ -313,7 +313,7 @@ static int hvc_vio_probe(struct vio_dev *vdev, | |||
313 | proto = HV_PROTOCOL_HVSI; | 313 | proto = HV_PROTOCOL_HVSI; |
314 | ops = &hvterm_hvsi_ops; | 314 | ops = &hvterm_hvsi_ops; |
315 | } else { | 315 | } else { |
316 | pr_err("hvc_vio: Unkown protocol for %s\n", vdev->dev.of_node->full_name); | 316 | pr_err("hvc_vio: Unknown protocol for %s\n", vdev->dev.of_node->full_name); |
317 | return -ENXIO; | 317 | return -ENXIO; |
318 | } | 318 | } |
319 | 319 | ||
diff --git a/drivers/tty/ipwireless/setup_protocol.h b/drivers/tty/ipwireless/setup_protocol.h index 9d6bcc77c73c..002c34e72521 100644 --- a/drivers/tty/ipwireless/setup_protocol.h +++ b/drivers/tty/ipwireless/setup_protocol.h | |||
@@ -59,7 +59,7 @@ struct tl_setup_config_done_msg { | |||
59 | unsigned char sig_no; /* TL_SETUP_SIGNO_CONFIG_DONE_MSG */ | 59 | unsigned char sig_no; /* TL_SETUP_SIGNO_CONFIG_DONE_MSG */ |
60 | } __attribute__ ((__packed__)); | 60 | } __attribute__ ((__packed__)); |
61 | 61 | ||
62 | /* Asyncronous messages */ | 62 | /* Asynchronous messages */ |
63 | struct tl_setup_open_msg { | 63 | struct tl_setup_open_msg { |
64 | unsigned char sig_no; /* TL_SETUP_SIGNO_OPEN_MSG */ | 64 | unsigned char sig_no; /* TL_SETUP_SIGNO_OPEN_MSG */ |
65 | unsigned char port_no; | 65 | unsigned char port_no; |
diff --git a/drivers/tty/serial/8250/Kconfig b/drivers/tty/serial/8250/Kconfig index f3d283f2e3aa..c31133a6ea8e 100644 --- a/drivers/tty/serial/8250/Kconfig +++ b/drivers/tty/serial/8250/Kconfig | |||
@@ -271,7 +271,7 @@ config SERIAL_8250_DW | |||
271 | present in the Synopsys DesignWare APB UART. | 271 | present in the Synopsys DesignWare APB UART. |
272 | 272 | ||
273 | config SERIAL_8250_EM | 273 | config SERIAL_8250_EM |
274 | tristate "Support for Emma Mobile intergrated serial port" | 274 | tristate "Support for Emma Mobile integrated serial port" |
275 | depends on SERIAL_8250 && ARM && HAVE_CLK | 275 | depends on SERIAL_8250 && ARM && HAVE_CLK |
276 | help | 276 | help |
277 | Selecting this option will add support for the integrated serial | 277 | Selecting this option will add support for the integrated serial |
diff --git a/drivers/tty/serial/bfin_uart.c b/drivers/tty/serial/bfin_uart.c index e6a008f4939f..2e2b2c1cb722 100644 --- a/drivers/tty/serial/bfin_uart.c +++ b/drivers/tty/serial/bfin_uart.c | |||
@@ -815,7 +815,7 @@ bfin_serial_set_termios(struct uart_port *port, struct ktermios *termios, | |||
815 | lcr = WLS(5); | 815 | lcr = WLS(5); |
816 | break; | 816 | break; |
817 | default: | 817 | default: |
818 | printk(KERN_ERR "%s: word lengh not supported\n", | 818 | printk(KERN_ERR "%s: word length not supported\n", |
819 | __func__); | 819 | __func__); |
820 | } | 820 | } |
821 | 821 | ||
diff --git a/drivers/tty/serial/icom.c b/drivers/tty/serial/icom.c index 6197a69adb4d..72b6334bcf1a 100644 --- a/drivers/tty/serial/icom.c +++ b/drivers/tty/serial/icom.c | |||
@@ -505,7 +505,7 @@ static void load_code(struct icom_port *icom_port) | |||
505 | /* Stop processor */ | 505 | /* Stop processor */ |
506 | stop_processor(icom_port); | 506 | stop_processor(icom_port); |
507 | 507 | ||
508 | dev_err(&icom_port->adapter->pci_dev->dev,"Port not opertional\n"); | 508 | dev_err(&icom_port->adapter->pci_dev->dev,"Port not operational\n"); |
509 | } | 509 | } |
510 | 510 | ||
511 | if (new_page != NULL) | 511 | if (new_page != NULL) |
diff --git a/drivers/usb/core/driver.c b/drivers/usb/core/driver.c index 88dde95b6795..d938b2b99e31 100644 --- a/drivers/usb/core/driver.c +++ b/drivers/usb/core/driver.c | |||
@@ -222,7 +222,7 @@ static int usb_probe_device(struct device *dev) | |||
222 | /* TODO: Add real matching code */ | 222 | /* TODO: Add real matching code */ |
223 | 223 | ||
224 | /* The device should always appear to be in use | 224 | /* The device should always appear to be in use |
225 | * unless the driver suports autosuspend. | 225 | * unless the driver supports autosuspend. |
226 | */ | 226 | */ |
227 | if (!udriver->supports_autosuspend) | 227 | if (!udriver->supports_autosuspend) |
228 | error = usb_autoresume_device(udev); | 228 | error = usb_autoresume_device(udev); |
diff --git a/drivers/usb/gadget/at91_udc.c b/drivers/usb/gadget/at91_udc.c index 59dcea2f6957..f4a21f6f081f 100644 --- a/drivers/usb/gadget/at91_udc.c +++ b/drivers/usb/gadget/at91_udc.c | |||
@@ -51,7 +51,7 @@ | |||
51 | * full speed USB controllers, including the at91rm9200 (arm920T, with MMU), | 51 | * full speed USB controllers, including the at91rm9200 (arm920T, with MMU), |
52 | * at91sam926x (arm926ejs, with MMU), and several no-mmu versions. | 52 | * at91sam926x (arm926ejs, with MMU), and several no-mmu versions. |
53 | * | 53 | * |
54 | * This driver expects the board has been wired with two GPIOs suppporting | 54 | * This driver expects the board has been wired with two GPIOs supporting |
55 | * a VBUS sensing IRQ, and a D+ pullup. (They may be omitted, but the | 55 | * a VBUS sensing IRQ, and a D+ pullup. (They may be omitted, but the |
56 | * testing hasn't covered such cases.) | 56 | * testing hasn't covered such cases.) |
57 | * | 57 | * |
diff --git a/drivers/usb/storage/realtek_cr.c b/drivers/usb/storage/realtek_cr.c index ea5f2586fbdd..6c3586a4c956 100644 --- a/drivers/usb/storage/realtek_cr.c +++ b/drivers/usb/storage/realtek_cr.c | |||
@@ -883,7 +883,7 @@ static void rts51x_invoke_transport(struct scsi_cmnd *srb, struct us_data *us) | |||
883 | } else { | 883 | } else { |
884 | US_DEBUGP("%s: NOT working scsi, not SS\n", __func__); | 884 | US_DEBUGP("%s: NOT working scsi, not SS\n", __func__); |
885 | chip->proto_handler_backup(srb, us); | 885 | chip->proto_handler_backup(srb, us); |
886 | /* Check wether card is plugged in */ | 886 | /* Check whether card is plugged in */ |
887 | if (srb->cmnd[0] == TEST_UNIT_READY) { | 887 | if (srb->cmnd[0] == TEST_UNIT_READY) { |
888 | if (srb->result == SAM_STAT_GOOD) { | 888 | if (srb->result == SAM_STAT_GOOD) { |
889 | SET_LUN_READY(chip, srb->device->lun); | 889 | SET_LUN_READY(chip, srb->device->lun); |
diff --git a/drivers/vhost/tcm_vhost.c b/drivers/vhost/tcm_vhost.c index 79e7e4d45eb2..d670130ee687 100644 --- a/drivers/vhost/tcm_vhost.c +++ b/drivers/vhost/tcm_vhost.c | |||
@@ -230,7 +230,7 @@ static struct se_node_acl *tcm_vhost_alloc_fabric_acl( | |||
230 | 230 | ||
231 | nacl = kzalloc(sizeof(struct tcm_vhost_nacl), GFP_KERNEL); | 231 | nacl = kzalloc(sizeof(struct tcm_vhost_nacl), GFP_KERNEL); |
232 | if (!nacl) { | 232 | if (!nacl) { |
233 | pr_err("Unable to alocate struct tcm_vhost_nacl\n"); | 233 | pr_err("Unable to allocate struct tcm_vhost_nacl\n"); |
234 | return NULL; | 234 | return NULL; |
235 | } | 235 | } |
236 | 236 | ||
diff --git a/drivers/watchdog/booke_wdt.c b/drivers/watchdog/booke_wdt.c index 5b06d31ab6a9..c0bc92d8e438 100644 --- a/drivers/watchdog/booke_wdt.c +++ b/drivers/watchdog/booke_wdt.c | |||
@@ -212,7 +212,7 @@ static long booke_wdt_ioctl(struct file *file, | |||
212 | return 0; | 212 | return 0; |
213 | } | 213 | } |
214 | 214 | ||
215 | /* wdt_is_active stores wether or not the /dev/watchdog device is opened */ | 215 | /* wdt_is_active stores whether or not the /dev/watchdog device is opened */ |
216 | static unsigned long wdt_is_active; | 216 | static unsigned long wdt_is_active; |
217 | 217 | ||
218 | static int booke_wdt_open(struct inode *inode, struct file *file) | 218 | static int booke_wdt_open(struct inode *inode, struct file *file) |
diff --git a/drivers/xen/xen-pciback/pci_stub.c b/drivers/xen/xen-pciback/pci_stub.c index 961d664e2d2f..68dcc59cd287 100644 --- a/drivers/xen/xen-pciback/pci_stub.c +++ b/drivers/xen/xen-pciback/pci_stub.c | |||
@@ -360,7 +360,7 @@ static int __devinit pcistub_init_device(struct pci_dev *dev) | |||
360 | if (!dev_data->pci_saved_state) | 360 | if (!dev_data->pci_saved_state) |
361 | dev_err(&dev->dev, "Could not store PCI conf saved state!\n"); | 361 | dev_err(&dev->dev, "Could not store PCI conf saved state!\n"); |
362 | else { | 362 | else { |
363 | dev_dbg(&dev->dev, "reseting (FLR, D3, etc) the device\n"); | 363 | dev_dbg(&dev->dev, "resetting (FLR, D3, etc) the device\n"); |
364 | __pci_reset_function_locked(dev); | 364 | __pci_reset_function_locked(dev); |
365 | pci_restore_state(dev); | 365 | pci_restore_state(dev); |
366 | } | 366 | } |