diff options
Diffstat (limited to 'drivers')
32 files changed, 43 insertions, 43 deletions
diff --git a/drivers/atm/firestream.c b/drivers/atm/firestream.c index 7f7ec288824d..f2eeaf9dc56a 100644 --- a/drivers/atm/firestream.c +++ b/drivers/atm/firestream.c | |||
@@ -951,7 +951,7 @@ static int fs_open(struct atm_vcc *atm_vcc) | |||
951 | it most likely that the chip will notice it. It also prevents us | 951 | it most likely that the chip will notice it. It also prevents us |
952 | from having to wait for completion. On the other hand, we may | 952 | from having to wait for completion. On the other hand, we may |
953 | need to wait for completion anyway, to see if it completed | 953 | need to wait for completion anyway, to see if it completed |
954 | succesfully. */ | 954 | successfully. */ |
955 | 955 | ||
956 | switch (atm_vcc->qos.aal) { | 956 | switch (atm_vcc->qos.aal) { |
957 | case ATM_AAL2: | 957 | case ATM_AAL2: |
diff --git a/drivers/char/agp/amd-k7-agp.c b/drivers/char/agp/amd-k7-agp.c index 1f776651ac64..51d0d562d01e 100644 --- a/drivers/char/agp/amd-k7-agp.c +++ b/drivers/char/agp/amd-k7-agp.c | |||
@@ -118,7 +118,7 @@ static int amd_create_gatt_pages(int nr_tables) | |||
118 | return retval; | 118 | return retval; |
119 | } | 119 | } |
120 | 120 | ||
121 | /* Since we don't need contigious memory we just try | 121 | /* Since we don't need contiguous memory we just try |
122 | * to get the gatt table once | 122 | * to get the gatt table once |
123 | */ | 123 | */ |
124 | 124 | ||
diff --git a/drivers/char/agp/ati-agp.c b/drivers/char/agp/ati-agp.c index 06fd10ba0c5e..160564345993 100644 --- a/drivers/char/agp/ati-agp.c +++ b/drivers/char/agp/ati-agp.c | |||
@@ -261,7 +261,7 @@ static int agp_ati_suspend(struct pci_dev *dev, pm_message_t state) | |||
261 | #endif | 261 | #endif |
262 | 262 | ||
263 | /* | 263 | /* |
264 | *Since we don't need contigious memory we just try | 264 | *Since we don't need contiguous memory we just try |
265 | * to get the gatt table once | 265 | * to get the gatt table once |
266 | */ | 266 | */ |
267 | 267 | ||
diff --git a/drivers/char/agp/efficeon-agp.c b/drivers/char/agp/efficeon-agp.c index 86a966b65236..b788b0a3bbf3 100644 --- a/drivers/char/agp/efficeon-agp.c +++ b/drivers/char/agp/efficeon-agp.c | |||
@@ -177,7 +177,7 @@ static int efficeon_free_gatt_table(struct agp_bridge_data *bridge) | |||
177 | 177 | ||
178 | 178 | ||
179 | /* | 179 | /* |
180 | * Since we don't need contigious memory we just try | 180 | * Since we don't need contiguous memory we just try |
181 | * to get the gatt table once | 181 | * to get the gatt table once |
182 | */ | 182 | */ |
183 | 183 | ||
diff --git a/drivers/char/rio/riointr.c b/drivers/char/rio/riointr.c index eec1fea0cb92..0bd09040a5c0 100644 --- a/drivers/char/rio/riointr.c +++ b/drivers/char/rio/riointr.c | |||
@@ -546,7 +546,7 @@ static void RIOReceive(struct rio_info *p, struct Port *PortP) | |||
546 | ** run out of space it will be set to the offset of the | 546 | ** run out of space it will be set to the offset of the |
547 | ** next byte to copy from the packet data area. The packet | 547 | ** next byte to copy from the packet data area. The packet |
548 | ** length field is decremented by the number of bytes that | 548 | ** length field is decremented by the number of bytes that |
549 | ** we succesfully removed from the packet. When this reaches | 549 | ** we successfully removed from the packet. When this reaches |
550 | ** zero, we reset the offset pointer to be zero, and free | 550 | ** zero, we reset the offset pointer to be zero, and free |
551 | ** the packet from the front of the queue. | 551 | ** the packet from the front of the queue. |
552 | */ | 552 | */ |
diff --git a/drivers/hwmon/asb100.c b/drivers/hwmon/asb100.c index 65b2709f750c..facc1ccb8338 100644 --- a/drivers/hwmon/asb100.c +++ b/drivers/hwmon/asb100.c | |||
@@ -341,7 +341,7 @@ static ssize_t set_fan_min(struct device *dev, const char *buf, | |||
341 | 341 | ||
342 | /* Note: we save and restore the fan minimum here, because its value is | 342 | /* Note: we save and restore the fan minimum here, because its value is |
343 | determined in part by the fan divisor. This follows the principle of | 343 | determined in part by the fan divisor. This follows the principle of |
344 | least suprise; the user doesn't expect the fan minimum to change just | 344 | least surprise; the user doesn't expect the fan minimum to change just |
345 | because the divisor changed. */ | 345 | because the divisor changed. */ |
346 | static ssize_t set_fan_div(struct device *dev, const char *buf, | 346 | static ssize_t set_fan_div(struct device *dev, const char *buf, |
347 | size_t count, int nr) | 347 | size_t count, int nr) |
diff --git a/drivers/hwmon/lm78.c b/drivers/hwmon/lm78.c index 94be3d797e61..a6ce7abf8602 100644 --- a/drivers/hwmon/lm78.c +++ b/drivers/hwmon/lm78.c | |||
@@ -358,7 +358,7 @@ static ssize_t show_fan_div(struct device *dev, char *buf, int nr) | |||
358 | 358 | ||
359 | /* Note: we save and restore the fan minimum here, because its value is | 359 | /* Note: we save and restore the fan minimum here, because its value is |
360 | determined in part by the fan divisor. This follows the principle of | 360 | determined in part by the fan divisor. This follows the principle of |
361 | least suprise; the user doesn't expect the fan minimum to change just | 361 | least surprise; the user doesn't expect the fan minimum to change just |
362 | because the divisor changed. */ | 362 | because the divisor changed. */ |
363 | static ssize_t set_fan_div(struct device *dev, const char *buf, | 363 | static ssize_t set_fan_div(struct device *dev, const char *buf, |
364 | size_t count, int nr) | 364 | size_t count, int nr) |
diff --git a/drivers/hwmon/lm80.c b/drivers/hwmon/lm80.c index f72120d08c4c..b4ccdfc01203 100644 --- a/drivers/hwmon/lm80.c +++ b/drivers/hwmon/lm80.c | |||
@@ -253,7 +253,7 @@ set_fan(min2, fan_min[1], LM80_REG_FAN_MIN(2), fan_div[1]); | |||
253 | 253 | ||
254 | /* Note: we save and restore the fan minimum here, because its value is | 254 | /* Note: we save and restore the fan minimum here, because its value is |
255 | determined in part by the fan divisor. This follows the principle of | 255 | determined in part by the fan divisor. This follows the principle of |
256 | least suprise; the user doesn't expect the fan minimum to change just | 256 | least surprise; the user doesn't expect the fan minimum to change just |
257 | because the divisor changed. */ | 257 | because the divisor changed. */ |
258 | static ssize_t set_fan_div(struct device *dev, const char *buf, | 258 | static ssize_t set_fan_div(struct device *dev, const char *buf, |
259 | size_t count, int nr) | 259 | size_t count, int nr) |
diff --git a/drivers/hwmon/lm87.c b/drivers/hwmon/lm87.c index e229daf666de..e6c1b638c971 100644 --- a/drivers/hwmon/lm87.c +++ b/drivers/hwmon/lm87.c | |||
@@ -421,7 +421,7 @@ static void set_fan_min(struct device *dev, const char *buf, int nr) | |||
421 | 421 | ||
422 | /* Note: we save and restore the fan minimum here, because its value is | 422 | /* Note: we save and restore the fan minimum here, because its value is |
423 | determined in part by the fan clock divider. This follows the principle | 423 | determined in part by the fan clock divider. This follows the principle |
424 | of least suprise; the user doesn't expect the fan minimum to change just | 424 | of least surprise; the user doesn't expect the fan minimum to change just |
425 | because the divider changed. */ | 425 | because the divider changed. */ |
426 | static ssize_t set_fan_div(struct device *dev, const char *buf, | 426 | static ssize_t set_fan_div(struct device *dev, const char *buf, |
427 | size_t count, int nr) | 427 | size_t count, int nr) |
diff --git a/drivers/hwmon/sis5595.c b/drivers/hwmon/sis5595.c index 6f3fda73f70c..063f71c5f07e 100644 --- a/drivers/hwmon/sis5595.c +++ b/drivers/hwmon/sis5595.c | |||
@@ -380,7 +380,7 @@ static ssize_t show_fan_div(struct device *dev, char *buf, int nr) | |||
380 | 380 | ||
381 | /* Note: we save and restore the fan minimum here, because its value is | 381 | /* Note: we save and restore the fan minimum here, because its value is |
382 | determined in part by the fan divisor. This follows the principle of | 382 | determined in part by the fan divisor. This follows the principle of |
383 | least suprise; the user doesn't expect the fan minimum to change just | 383 | least surprise; the user doesn't expect the fan minimum to change just |
384 | because the divisor changed. */ | 384 | because the divisor changed. */ |
385 | static ssize_t set_fan_div(struct device *dev, const char *buf, | 385 | static ssize_t set_fan_div(struct device *dev, const char *buf, |
386 | size_t count, int nr) | 386 | size_t count, int nr) |
diff --git a/drivers/hwmon/smsc47m1.c b/drivers/hwmon/smsc47m1.c index 7732aec54594..825e8f72698f 100644 --- a/drivers/hwmon/smsc47m1.c +++ b/drivers/hwmon/smsc47m1.c | |||
@@ -207,7 +207,7 @@ static ssize_t set_fan_min(struct device *dev, const char *buf, | |||
207 | 207 | ||
208 | /* Note: we save and restore the fan minimum here, because its value is | 208 | /* Note: we save and restore the fan minimum here, because its value is |
209 | determined in part by the fan clock divider. This follows the principle | 209 | determined in part by the fan clock divider. This follows the principle |
210 | of least suprise; the user doesn't expect the fan minimum to change just | 210 | of least surprise; the user doesn't expect the fan minimum to change just |
211 | because the divider changed. */ | 211 | because the divider changed. */ |
212 | static ssize_t set_fan_div(struct device *dev, const char *buf, | 212 | static ssize_t set_fan_div(struct device *dev, const char *buf, |
213 | size_t count, int nr) | 213 | size_t count, int nr) |
diff --git a/drivers/hwmon/w83627hf.c b/drivers/hwmon/w83627hf.c index 71fb7f1af8f5..79368d53c363 100644 --- a/drivers/hwmon/w83627hf.c +++ b/drivers/hwmon/w83627hf.c | |||
@@ -781,7 +781,7 @@ show_fan_div_reg(struct device *dev, char *buf, int nr) | |||
781 | 781 | ||
782 | /* Note: we save and restore the fan minimum here, because its value is | 782 | /* Note: we save and restore the fan minimum here, because its value is |
783 | determined in part by the fan divisor. This follows the principle of | 783 | determined in part by the fan divisor. This follows the principle of |
784 | least suprise; the user doesn't expect the fan minimum to change just | 784 | least surprise; the user doesn't expect the fan minimum to change just |
785 | because the divisor changed. */ | 785 | because the divisor changed. */ |
786 | static ssize_t | 786 | static ssize_t |
787 | store_fan_div_reg(struct device *dev, const char *buf, size_t count, int nr) | 787 | store_fan_div_reg(struct device *dev, const char *buf, size_t count, int nr) |
diff --git a/drivers/hwmon/w83781d.c b/drivers/hwmon/w83781d.c index e4c700356c44..7be469ed0f8f 100644 --- a/drivers/hwmon/w83781d.c +++ b/drivers/hwmon/w83781d.c | |||
@@ -630,7 +630,7 @@ show_fan_div_reg(struct device *dev, char *buf, int nr) | |||
630 | 630 | ||
631 | /* Note: we save and restore the fan minimum here, because its value is | 631 | /* Note: we save and restore the fan minimum here, because its value is |
632 | determined in part by the fan divisor. This follows the principle of | 632 | determined in part by the fan divisor. This follows the principle of |
633 | least suprise; the user doesn't expect the fan minimum to change just | 633 | least surprise; the user doesn't expect the fan minimum to change just |
634 | because the divisor changed. */ | 634 | because the divisor changed. */ |
635 | static ssize_t | 635 | static ssize_t |
636 | store_fan_div_reg(struct device *dev, const char *buf, size_t count, int nr) | 636 | store_fan_div_reg(struct device *dev, const char *buf, size_t count, int nr) |
diff --git a/drivers/hwmon/w83792d.c b/drivers/hwmon/w83792d.c index 4ef884c216e2..e407c74bda35 100644 --- a/drivers/hwmon/w83792d.c +++ b/drivers/hwmon/w83792d.c | |||
@@ -463,7 +463,7 @@ show_fan_div(struct device *dev, struct device_attribute *attr, | |||
463 | 463 | ||
464 | /* Note: we save and restore the fan minimum here, because its value is | 464 | /* Note: we save and restore the fan minimum here, because its value is |
465 | determined in part by the fan divisor. This follows the principle of | 465 | determined in part by the fan divisor. This follows the principle of |
466 | least suprise; the user doesn't expect the fan minimum to change just | 466 | least surprise; the user doesn't expect the fan minimum to change just |
467 | because the divisor changed. */ | 467 | because the divisor changed. */ |
468 | static ssize_t | 468 | static ssize_t |
469 | store_fan_div(struct device *dev, struct device_attribute *attr, | 469 | store_fan_div(struct device *dev, struct device_attribute *attr, |
diff --git a/drivers/ide/ide-disk.c b/drivers/ide/ide-disk.c index a5017de72da5..f033d732f387 100644 --- a/drivers/ide/ide-disk.c +++ b/drivers/ide/ide-disk.c | |||
@@ -37,7 +37,7 @@ | |||
37 | * Version 1.15 convert all calls to ide_raw_taskfile | 37 | * Version 1.15 convert all calls to ide_raw_taskfile |
38 | * since args will return register content. | 38 | * since args will return register content. |
39 | * Version 1.16 added suspend-resume-checkpower | 39 | * Version 1.16 added suspend-resume-checkpower |
40 | * Version 1.17 do flush on standy, do flush on ATA < ATA6 | 40 | * Version 1.17 do flush on standby, do flush on ATA < ATA6 |
41 | * fix wcache setup. | 41 | * fix wcache setup. |
42 | */ | 42 | */ |
43 | 43 | ||
diff --git a/drivers/ide/ide-io.c b/drivers/ide/ide-io.c index 622a55c72f03..05ba8e01e635 100644 --- a/drivers/ide/ide-io.c +++ b/drivers/ide/ide-io.c | |||
@@ -1665,7 +1665,7 @@ irqreturn_t ide_intr (int irq, void *dev_id, struct pt_regs *regs) | |||
1665 | * Initialize a request before we fill it in and send it down to | 1665 | * Initialize a request before we fill it in and send it down to |
1666 | * ide_do_drive_cmd. Commands must be set up by this function. Right | 1666 | * ide_do_drive_cmd. Commands must be set up by this function. Right |
1667 | * now it doesn't do a lot, but if that changes abusers will have a | 1667 | * now it doesn't do a lot, but if that changes abusers will have a |
1668 | * nasty suprise. | 1668 | * nasty surprise. |
1669 | */ | 1669 | */ |
1670 | 1670 | ||
1671 | void ide_init_drive_cmd (struct request *rq) | 1671 | void ide_init_drive_cmd (struct request *rq) |
diff --git a/drivers/ieee1394/hosts.c b/drivers/ieee1394/hosts.c index 2d47b11777a5..ad49c040b674 100644 --- a/drivers/ieee1394/hosts.c +++ b/drivers/ieee1394/hosts.c | |||
@@ -103,7 +103,7 @@ static int alloc_hostnum_cb(struct hpsb_host *host, void *__data) | |||
103 | * driver specific parts, enable the controller and make it available | 103 | * driver specific parts, enable the controller and make it available |
104 | * to the general subsystem using hpsb_add_host(). | 104 | * to the general subsystem using hpsb_add_host(). |
105 | * | 105 | * |
106 | * Return Value: a pointer to the &hpsb_host if succesful, %NULL if | 106 | * Return Value: a pointer to the &hpsb_host if successful, %NULL if |
107 | * no memory was available. | 107 | * no memory was available. |
108 | */ | 108 | */ |
109 | static DEFINE_MUTEX(host_num_alloc); | 109 | static DEFINE_MUTEX(host_num_alloc); |
diff --git a/drivers/ieee1394/ieee1394_core.h b/drivers/ieee1394/ieee1394_core.h index e7b55e895f50..0ecbf335c64f 100644 --- a/drivers/ieee1394/ieee1394_core.h +++ b/drivers/ieee1394/ieee1394_core.h | |||
@@ -139,7 +139,7 @@ int hpsb_bus_reset(struct hpsb_host *host); | |||
139 | 139 | ||
140 | /* | 140 | /* |
141 | * Hand over received selfid packet to the core. Complement check (second | 141 | * Hand over received selfid packet to the core. Complement check (second |
142 | * quadlet is complement of first) is expected to be done and succesful. | 142 | * quadlet is complement of first) is expected to be done and successful. |
143 | */ | 143 | */ |
144 | void hpsb_selfid_received(struct hpsb_host *host, quadlet_t sid); | 144 | void hpsb_selfid_received(struct hpsb_host *host, quadlet_t sid); |
145 | 145 | ||
diff --git a/drivers/isdn/divert/isdn_divert.c b/drivers/isdn/divert/isdn_divert.c index f1a1f9a9b88e..1f5ebe9ee72c 100644 --- a/drivers/isdn/divert/isdn_divert.c +++ b/drivers/isdn/divert/isdn_divert.c | |||
@@ -592,7 +592,7 @@ static int put_address(char *st, u_char *p, int len) | |||
592 | } /* put_address */ | 592 | } /* put_address */ |
593 | 593 | ||
594 | /*************************************/ | 594 | /*************************************/ |
595 | /* report a succesfull interrogation */ | 595 | /* report a successful interrogation */ |
596 | /*************************************/ | 596 | /*************************************/ |
597 | static int interrogate_success(isdn_ctrl *ic, struct call_struc *cs) | 597 | static int interrogate_success(isdn_ctrl *ic, struct call_struc *cs) |
598 | { char *src = ic->parm.dss1_io.data; | 598 | { char *src = ic->parm.dss1_io.data; |
diff --git a/drivers/media/video/bt8xx/bttv-cards.c b/drivers/media/video/bt8xx/bttv-cards.c index 3116345c93b1..e68a6d2fff24 100644 --- a/drivers/media/video/bt8xx/bttv-cards.c +++ b/drivers/media/video/bt8xx/bttv-cards.c | |||
@@ -4848,7 +4848,7 @@ static void picolo_tetra_muxsel (struct bttv* btv, unsigned int input) | |||
4848 | * | 4848 | * |
4849 | * The IVC120G security card has 4 i2c controlled TDA8540 matrix | 4849 | * The IVC120G security card has 4 i2c controlled TDA8540 matrix |
4850 | * swichers to provide 16 channels to MUX0. The TDA8540's have | 4850 | * swichers to provide 16 channels to MUX0. The TDA8540's have |
4851 | * 4 indepedant outputs and as such the IVC120G also has the | 4851 | * 4 independent outputs and as such the IVC120G also has the |
4852 | * optional "Monitor Out" bus. This allows the card to be looking | 4852 | * optional "Monitor Out" bus. This allows the card to be looking |
4853 | * at one input while the monitor is looking at another. | 4853 | * at one input while the monitor is looking at another. |
4854 | * | 4854 | * |
diff --git a/drivers/net/3c501.c b/drivers/net/3c501.c index bb44509fd404..07136ec423bd 100644 --- a/drivers/net/3c501.c +++ b/drivers/net/3c501.c | |||
@@ -508,11 +508,11 @@ static int el_start_xmit(struct sk_buff *skb, struct net_device *dev) | |||
508 | * speak of. We simply pull the packet out of its PIO buffer (which is slow) | 508 | * speak of. We simply pull the packet out of its PIO buffer (which is slow) |
509 | * and queue it for the kernel. Then we reset the card for the next packet. | 509 | * and queue it for the kernel. Then we reset the card for the next packet. |
510 | * | 510 | * |
511 | * We sometimes get suprise interrupts late both because the SMP IRQ delivery | 511 | * We sometimes get surprise interrupts late both because the SMP IRQ delivery |
512 | * is message passing and because the card sometimes seems to deliver late. I | 512 | * is message passing and because the card sometimes seems to deliver late. I |
513 | * think if it is part way through a receive and the mode is changed it carries | 513 | * think if it is part way through a receive and the mode is changed it carries |
514 | * on receiving and sends us an interrupt. We have to band aid all these cases | 514 | * on receiving and sends us an interrupt. We have to band aid all these cases |
515 | * to get a sensible 150kbytes/second performance. Even then you want a small | 515 | * to get a sensible 150kBytes/second performance. Even then you want a small |
516 | * TCP window. | 516 | * TCP window. |
517 | */ | 517 | */ |
518 | 518 | ||
diff --git a/drivers/net/irda/irport.c b/drivers/net/irda/irport.c index 98fa5319e5cc..44efd49bf4a9 100644 --- a/drivers/net/irda/irport.c +++ b/drivers/net/irda/irport.c | |||
@@ -386,7 +386,7 @@ static int __irport_change_speed(struct irda_task *task) | |||
386 | /* Locking notes : this function may be called from irq context with | 386 | /* Locking notes : this function may be called from irq context with |
387 | * spinlock, via irport_write_wakeup(), or from non-interrupt without | 387 | * spinlock, via irport_write_wakeup(), or from non-interrupt without |
388 | * spinlock (from the task timer). Yuck ! | 388 | * spinlock (from the task timer). Yuck ! |
389 | * This is ugly, and unsafe is the spinlock is not already aquired. | 389 | * This is ugly, and unsafe is the spinlock is not already acquired. |
390 | * This will be fixed when irda-task get rewritten. | 390 | * This will be fixed when irda-task get rewritten. |
391 | * Jean II */ | 391 | * Jean II */ |
392 | if (!spin_is_locked(&self->lock)) { | 392 | if (!spin_is_locked(&self->lock)) { |
diff --git a/drivers/net/pcmcia/smc91c92_cs.c b/drivers/net/pcmcia/smc91c92_cs.c index e74bf5014ef6..a73d54553030 100644 --- a/drivers/net/pcmcia/smc91c92_cs.c +++ b/drivers/net/pcmcia/smc91c92_cs.c | |||
@@ -1883,7 +1883,7 @@ static void smc_reset(struct net_device *dev) | |||
1883 | /* Set the Window 1 control, configuration and station addr registers. | 1883 | /* Set the Window 1 control, configuration and station addr registers. |
1884 | No point in writing the I/O base register ;-> */ | 1884 | No point in writing the I/O base register ;-> */ |
1885 | SMC_SELECT_BANK(1); | 1885 | SMC_SELECT_BANK(1); |
1886 | /* Automatically release succesfully transmitted packets, | 1886 | /* Automatically release successfully transmitted packets, |
1887 | Accept link errors, counter and Tx error interrupts. */ | 1887 | Accept link errors, counter and Tx error interrupts. */ |
1888 | outw(CTL_AUTO_RELEASE | CTL_TE_ENABLE | CTL_CR_ENABLE, | 1888 | outw(CTL_AUTO_RELEASE | CTL_TE_ENABLE | CTL_CR_ENABLE, |
1889 | ioaddr + CONTROL); | 1889 | ioaddr + CONTROL); |
diff --git a/drivers/net/wireless/ipw2100.c b/drivers/net/wireless/ipw2100.c index 72335c8eb97f..94aeb23a7729 100644 --- a/drivers/net/wireless/ipw2100.c +++ b/drivers/net/wireless/ipw2100.c | |||
@@ -1485,7 +1485,7 @@ static int ipw2100_hw_stop_adapter(struct ipw2100_priv *priv) | |||
1485 | * | 1485 | * |
1486 | * Sending the PREPARE_FOR_POWER_DOWN will restrict the | 1486 | * Sending the PREPARE_FOR_POWER_DOWN will restrict the |
1487 | * hardware from going into standby mode and will transition | 1487 | * hardware from going into standby mode and will transition |
1488 | * out of D0-standy if it is already in that state. | 1488 | * out of D0-standby if it is already in that state. |
1489 | * | 1489 | * |
1490 | * STATUS_PREPARE_POWER_DOWN_COMPLETE will be sent by the | 1490 | * STATUS_PREPARE_POWER_DOWN_COMPLETE will be sent by the |
1491 | * driver upon completion. Once received, the driver can | 1491 | * driver upon completion. Once received, the driver can |
diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c index d408a3c30426..23d3b17c8cad 100644 --- a/drivers/pci/pci.c +++ b/drivers/pci/pci.c | |||
@@ -369,7 +369,7 @@ pci_set_power_state(struct pci_dev *dev, pci_power_t state) | |||
369 | 369 | ||
370 | /* | 370 | /* |
371 | * Give firmware a chance to be called, such as ACPI _PRx, _PSx | 371 | * Give firmware a chance to be called, such as ACPI _PRx, _PSx |
372 | * Firmware method after natice method ? | 372 | * Firmware method after native method ? |
373 | */ | 373 | */ |
374 | if (platform_pci_set_power_state) | 374 | if (platform_pci_set_power_state) |
375 | platform_pci_set_power_state(dev, state); | 375 | platform_pci_set_power_state(dev, state); |
diff --git a/drivers/s390/scsi/zfcp_erp.c b/drivers/s390/scsi/zfcp_erp.c index 4682c8b8bd24..909731b99d26 100644 --- a/drivers/s390/scsi/zfcp_erp.c +++ b/drivers/s390/scsi/zfcp_erp.c | |||
@@ -167,7 +167,7 @@ zfcp_fsf_scsi_er_timeout_handler(unsigned long data) | |||
167 | * initiates adapter recovery which is done | 167 | * initiates adapter recovery which is done |
168 | * asynchronously | 168 | * asynchronously |
169 | * | 169 | * |
170 | * returns: 0 - initiated action succesfully | 170 | * returns: 0 - initiated action successfully |
171 | * <0 - failed to initiate action | 171 | * <0 - failed to initiate action |
172 | */ | 172 | */ |
173 | int | 173 | int |
@@ -203,7 +203,7 @@ zfcp_erp_adapter_reopen_internal(struct zfcp_adapter *adapter, int clear_mask) | |||
203 | * purpose: Wrappper for zfcp_erp_adapter_reopen_internal | 203 | * purpose: Wrappper for zfcp_erp_adapter_reopen_internal |
204 | * used to ensure the correct locking | 204 | * used to ensure the correct locking |
205 | * | 205 | * |
206 | * returns: 0 - initiated action succesfully | 206 | * returns: 0 - initiated action successfully |
207 | * <0 - failed to initiate action | 207 | * <0 - failed to initiate action |
208 | */ | 208 | */ |
209 | int | 209 | int |
@@ -469,7 +469,7 @@ zfcp_test_link(struct zfcp_port *port) | |||
469 | * initiates Forced Reopen recovery which is done | 469 | * initiates Forced Reopen recovery which is done |
470 | * asynchronously | 470 | * asynchronously |
471 | * | 471 | * |
472 | * returns: 0 - initiated action succesfully | 472 | * returns: 0 - initiated action successfully |
473 | * <0 - failed to initiate action | 473 | * <0 - failed to initiate action |
474 | */ | 474 | */ |
475 | static int | 475 | static int |
@@ -509,7 +509,7 @@ zfcp_erp_port_forced_reopen_internal(struct zfcp_port *port, int clear_mask) | |||
509 | * purpose: Wrappper for zfcp_erp_port_forced_reopen_internal | 509 | * purpose: Wrappper for zfcp_erp_port_forced_reopen_internal |
510 | * used to ensure the correct locking | 510 | * used to ensure the correct locking |
511 | * | 511 | * |
512 | * returns: 0 - initiated action succesfully | 512 | * returns: 0 - initiated action successfully |
513 | * <0 - failed to initiate action | 513 | * <0 - failed to initiate action |
514 | */ | 514 | */ |
515 | int | 515 | int |
@@ -536,7 +536,7 @@ zfcp_erp_port_forced_reopen(struct zfcp_port *port, int clear_mask) | |||
536 | * initiates Reopen recovery which is done | 536 | * initiates Reopen recovery which is done |
537 | * asynchronously | 537 | * asynchronously |
538 | * | 538 | * |
539 | * returns: 0 - initiated action succesfully | 539 | * returns: 0 - initiated action successfully |
540 | * <0 - failed to initiate action | 540 | * <0 - failed to initiate action |
541 | */ | 541 | */ |
542 | static int | 542 | static int |
@@ -605,7 +605,7 @@ zfcp_erp_port_reopen(struct zfcp_port *port, int clear_mask) | |||
605 | * initiates Reopen recovery which is done | 605 | * initiates Reopen recovery which is done |
606 | * asynchronously | 606 | * asynchronously |
607 | * | 607 | * |
608 | * returns: 0 - initiated action succesfully | 608 | * returns: 0 - initiated action successfully |
609 | * <0 - failed to initiate action | 609 | * <0 - failed to initiate action |
610 | */ | 610 | */ |
611 | static int | 611 | static int |
@@ -1805,7 +1805,7 @@ zfcp_erp_modify_unit_status(struct zfcp_unit *unit, u32 mask, int set_or_clear) | |||
1805 | * purpose: Wrappper for zfcp_erp_port_reopen_all_internal | 1805 | * purpose: Wrappper for zfcp_erp_port_reopen_all_internal |
1806 | * used to ensure the correct locking | 1806 | * used to ensure the correct locking |
1807 | * | 1807 | * |
1808 | * returns: 0 - initiated action succesfully | 1808 | * returns: 0 - initiated action successfully |
1809 | * <0 - failed to initiate action | 1809 | * <0 - failed to initiate action |
1810 | */ | 1810 | */ |
1811 | int | 1811 | int |
diff --git a/drivers/scsi/NCR5380.c b/drivers/scsi/NCR5380.c index fa57e0b4a5fd..75f2f7ae2a8e 100644 --- a/drivers/scsi/NCR5380.c +++ b/drivers/scsi/NCR5380.c | |||
@@ -500,7 +500,7 @@ static void NCR5380_print_phase(struct Scsi_Host *instance) | |||
500 | /* | 500 | /* |
501 | * Function : int should_disconnect (unsigned char cmd) | 501 | * Function : int should_disconnect (unsigned char cmd) |
502 | * | 502 | * |
503 | * Purpose : decide weather a command would normally disconnect or | 503 | * Purpose : decide whether a command would normally disconnect or |
504 | * not, since if it won't disconnect we should go to sleep. | 504 | * not, since if it won't disconnect we should go to sleep. |
505 | * | 505 | * |
506 | * Input : cmd - opcode of SCSI command | 506 | * Input : cmd - opcode of SCSI command |
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index 5ee47555a8af..dd9fb3d91000 100644 --- a/drivers/scsi/advansys.c +++ b/drivers/scsi/advansys.c | |||
@@ -12374,7 +12374,7 @@ AscInitFromEEP(ASC_DVC_VAR *asc_dvc) | |||
12374 | ASC_PRINT1( | 12374 | ASC_PRINT1( |
12375 | "AscInitFromEEP: Failed to re-write EEPROM with %d errors.\n", i); | 12375 | "AscInitFromEEP: Failed to re-write EEPROM with %d errors.\n", i); |
12376 | } else { | 12376 | } else { |
12377 | ASC_PRINT("AscInitFromEEP: Succesfully re-wrote EEPROM."); | 12377 | ASC_PRINT("AscInitFromEEP: Successfully re-wrote EEPROM.\n"); |
12378 | } | 12378 | } |
12379 | } | 12379 | } |
12380 | return (warn_code); | 12380 | return (warn_code); |
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c index 183245254931..58b0748045ee 100644 --- a/drivers/scsi/dc395x.c +++ b/drivers/scsi/dc395x.c | |||
@@ -3771,7 +3771,7 @@ static void request_sense(struct AdapterCtlBlk *acb, struct DeviceCtlBlk *dcb, | |||
3771 | * @target: The target for the new device. | 3771 | * @target: The target for the new device. |
3772 | * @lun: The lun for the new device. | 3772 | * @lun: The lun for the new device. |
3773 | * | 3773 | * |
3774 | * Return the new device if succesfull or NULL on failure. | 3774 | * Return the new device if successful or NULL on failure. |
3775 | **/ | 3775 | **/ |
3776 | static struct DeviceCtlBlk *device_alloc(struct AdapterCtlBlk *acb, | 3776 | static struct DeviceCtlBlk *device_alloc(struct AdapterCtlBlk *acb, |
3777 | u8 target, u8 lun) | 3777 | u8 target, u8 lun) |
diff --git a/drivers/scsi/ibmmca.c b/drivers/scsi/ibmmca.c index 115f55471ed3..497f6642b2dc 100644 --- a/drivers/scsi/ibmmca.c +++ b/drivers/scsi/ibmmca.c | |||
@@ -760,7 +760,7 @@ static int device_inquiry(int host_index, int ldn) | |||
760 | while (!got_interrupt(host_index)) | 760 | while (!got_interrupt(host_index)) |
761 | barrier(); | 761 | barrier(); |
762 | 762 | ||
763 | /*if command succesful, break */ | 763 | /*if command successful, break */ |
764 | if ((stat_result(host_index) == IM_SCB_CMD_COMPLETED) || (stat_result(host_index) == IM_SCB_CMD_COMPLETED_WITH_RETRIES)) | 764 | if ((stat_result(host_index) == IM_SCB_CMD_COMPLETED) || (stat_result(host_index) == IM_SCB_CMD_COMPLETED_WITH_RETRIES)) |
765 | return 1; | 765 | return 1; |
766 | } | 766 | } |
@@ -885,7 +885,7 @@ static int immediate_assign(int host_index, unsigned int pun, unsigned int lun, | |||
885 | while (!got_interrupt(host_index)) | 885 | while (!got_interrupt(host_index)) |
886 | barrier(); | 886 | barrier(); |
887 | 887 | ||
888 | /*if command succesful, break */ | 888 | /*if command successful, break */ |
889 | if (stat_result(host_index) == IM_IMMEDIATE_CMD_COMPLETED) | 889 | if (stat_result(host_index) == IM_IMMEDIATE_CMD_COMPLETED) |
890 | return 1; | 890 | return 1; |
891 | } | 891 | } |
@@ -921,7 +921,7 @@ static int immediate_feature(int host_index, unsigned int speed, unsigned int ti | |||
921 | return 2; | 921 | return 2; |
922 | } else | 922 | } else |
923 | global_command_error_excuse = 0; | 923 | global_command_error_excuse = 0; |
924 | /*if command succesful, break */ | 924 | /*if command successful, break */ |
925 | if (stat_result(host_index) == IM_IMMEDIATE_CMD_COMPLETED) | 925 | if (stat_result(host_index) == IM_IMMEDIATE_CMD_COMPLETED) |
926 | return 1; | 926 | return 1; |
927 | } | 927 | } |
@@ -959,7 +959,7 @@ static int immediate_reset(int host_index, unsigned int ldn) | |||
959 | /* did not work, finish */ | 959 | /* did not work, finish */ |
960 | return 1; | 960 | return 1; |
961 | } | 961 | } |
962 | /*if command succesful, break */ | 962 | /*if command successful, break */ |
963 | if (stat_result(host_index) == IM_IMMEDIATE_CMD_COMPLETED) | 963 | if (stat_result(host_index) == IM_IMMEDIATE_CMD_COMPLETED) |
964 | return 1; | 964 | return 1; |
965 | } | 965 | } |
diff --git a/drivers/scsi/ips.c b/drivers/scsi/ips.c index 5353b28b2939..78f2ff736c3e 100644 --- a/drivers/scsi/ips.c +++ b/drivers/scsi/ips.c | |||
@@ -6438,7 +6438,7 @@ ips_erase_bios(ips_ha_t * ha) | |||
6438 | /* VPP failure */ | 6438 | /* VPP failure */ |
6439 | return (1); | 6439 | return (1); |
6440 | 6440 | ||
6441 | /* check for succesful flash */ | 6441 | /* check for successful flash */ |
6442 | if (status & 0x30) | 6442 | if (status & 0x30) |
6443 | /* sequence error */ | 6443 | /* sequence error */ |
6444 | return (1); | 6444 | return (1); |
@@ -6550,7 +6550,7 @@ ips_erase_bios_memio(ips_ha_t * ha) | |||
6550 | /* VPP failure */ | 6550 | /* VPP failure */ |
6551 | return (1); | 6551 | return (1); |
6552 | 6552 | ||
6553 | /* check for succesful flash */ | 6553 | /* check for successful flash */ |
6554 | if (status & 0x30) | 6554 | if (status & 0x30) |
6555 | /* sequence error */ | 6555 | /* sequence error */ |
6556 | return (1); | 6556 | return (1); |
diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c index 1272dd249af3..b5218fc0ac86 100644 --- a/drivers/scsi/st.c +++ b/drivers/scsi/st.c | |||
@@ -2818,7 +2818,7 @@ static int st_int_ioctl(struct scsi_tape *STp, unsigned int cmd_in, unsigned lon | |||
2818 | (cmdstatp->sense_hdr.sense_key == NO_SENSE || | 2818 | (cmdstatp->sense_hdr.sense_key == NO_SENSE || |
2819 | cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) && | 2819 | cmdstatp->sense_hdr.sense_key == RECOVERED_ERROR) && |
2820 | undone == 0) { | 2820 | undone == 0) { |
2821 | ioctl_result = 0; /* EOF written succesfully at EOM */ | 2821 | ioctl_result = 0; /* EOF written successfully at EOM */ |
2822 | if (fileno >= 0) | 2822 | if (fileno >= 0) |
2823 | fileno++; | 2823 | fileno++; |
2824 | STps->drv_file = fileno; | 2824 | STps->drv_file = fileno; |