diff options
author | Andreas Mohr <andi@lisas.de> | 2006-06-26 12:35:02 -0400 |
---|---|---|
committer | Adrian Bunk <bunk@stusta.de> | 2006-06-26 12:35:02 -0400 |
commit | d6e05edc59ecd79e8badf440c0d295a979bdfa3e (patch) | |
tree | 50362161f69317242ab603c51a18a818a4c93285 | |
parent | f18190bd3407554ba6df30a1927e07e6cba93e56 (diff) |
spelling fixes
acquired (aquired)
contiguous (contigious)
successful (succesful, succesfull)
surprise (suprise)
whether (weather)
some other misspellings
Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
57 files changed, 88 insertions, 88 deletions
diff --git a/arch/i386/kernel/cpu/cyrix.c b/arch/i386/kernel/cpu/cyrix.c index fc32c8028e24..f03b7f94c304 100644 --- a/arch/i386/kernel/cpu/cyrix.c +++ b/arch/i386/kernel/cpu/cyrix.c | |||
@@ -354,7 +354,7 @@ static void __init init_nsc(struct cpuinfo_x86 *c) | |||
354 | * This function only handles the GX processor, and kicks every | 354 | * This function only handles the GX processor, and kicks every |
355 | * thing else to the Cyrix init function above - that should | 355 | * thing else to the Cyrix init function above - that should |
356 | * cover any processors that might have been branded differently | 356 | * cover any processors that might have been branded differently |
357 | * after NSC aquired Cyrix. | 357 | * after NSC acquired Cyrix. |
358 | * | 358 | * |
359 | * If this breaks your GX1 horribly, please e-mail | 359 | * If this breaks your GX1 horribly, please e-mail |
360 | * info-linux@ldcmail.amd.com to tell us. | 360 | * info-linux@ldcmail.amd.com to tell us. |
diff --git a/arch/i386/kernel/i8259.c b/arch/i386/kernel/i8259.c index b7636b96e104..c1a42feba286 100644 --- a/arch/i386/kernel/i8259.c +++ b/arch/i386/kernel/i8259.c | |||
@@ -175,7 +175,7 @@ static void mask_and_ack_8259A(unsigned int irq) | |||
175 | * Lightweight spurious IRQ detection. We do not want | 175 | * Lightweight spurious IRQ detection. We do not want |
176 | * to overdo spurious IRQ handling - it's usually a sign | 176 | * to overdo spurious IRQ handling - it's usually a sign |
177 | * of hardware problems, so we only do the checks we can | 177 | * of hardware problems, so we only do the checks we can |
178 | * do without slowing down good hardware unnecesserily. | 178 | * do without slowing down good hardware unnecessarily. |
179 | * | 179 | * |
180 | * Note that IRQ7 and IRQ15 (the two spurious IRQs | 180 | * Note that IRQ7 and IRQ15 (the two spurious IRQs |
181 | * usually resulting from the 8259A-1|2 PICs) occur | 181 | * usually resulting from the 8259A-1|2 PICs) occur |
diff --git a/arch/mips/momentum/ocelot_g/gt-irq.c b/arch/mips/momentum/ocelot_g/gt-irq.c index e5eceed1beff..8bd9b844fa9e 100644 --- a/arch/mips/momentum/ocelot_g/gt-irq.c +++ b/arch/mips/momentum/ocelot_g/gt-irq.c | |||
@@ -59,7 +59,7 @@ void hook_irq_handler(int int_cause, int bit_num, void *isr_ptr) | |||
59 | * bit_num - Indicates which bit number in the cause register | 59 | * bit_num - Indicates which bit number in the cause register |
60 | * | 60 | * |
61 | * Outputs : | 61 | * Outputs : |
62 | * 1 if succesful, 0 if failure | 62 | * 1 if successful, 0 if failure |
63 | */ | 63 | */ |
64 | int enable_galileo_irq(int int_cause, int bit_num) | 64 | int enable_galileo_irq(int int_cause, int bit_num) |
65 | { | 65 | { |
@@ -83,7 +83,7 @@ int enable_galileo_irq(int int_cause, int bit_num) | |||
83 | * bit_num - Indicates which bit number in the cause register | 83 | * bit_num - Indicates which bit number in the cause register |
84 | * | 84 | * |
85 | * Outputs : | 85 | * Outputs : |
86 | * 1 if succesful, 0 if failure | 86 | * 1 if successful, 0 if failure |
87 | */ | 87 | */ |
88 | int disable_galileo_irq(int int_cause, int bit_num) | 88 | int disable_galileo_irq(int int_cause, int bit_num) |
89 | { | 89 | { |
diff --git a/arch/powerpc/platforms/cell/spufs/switch.c b/arch/powerpc/platforms/cell/spufs/switch.c index b30e55dab832..3068b429b031 100644 --- a/arch/powerpc/platforms/cell/spufs/switch.c +++ b/arch/powerpc/platforms/cell/spufs/switch.c | |||
@@ -2100,7 +2100,7 @@ EXPORT_SYMBOL_GPL(spu_save); | |||
2100 | * @spu: pointer to SPU iomem structure. | 2100 | * @spu: pointer to SPU iomem structure. |
2101 | * | 2101 | * |
2102 | * Perform harvest + restore, as we may not be coming | 2102 | * Perform harvest + restore, as we may not be coming |
2103 | * from a previous succesful save operation, and the | 2103 | * from a previous successful save operation, and the |
2104 | * hardware state is unknown. | 2104 | * hardware state is unknown. |
2105 | */ | 2105 | */ |
2106 | int spu_restore(struct spu_state *new, struct spu *spu) | 2106 | int spu_restore(struct spu_state *new, struct spu *spu) |
diff --git a/arch/powerpc/platforms/pseries/eeh_cache.c b/arch/powerpc/platforms/pseries/eeh_cache.c index 98c23aec85be..c37a8497c60f 100644 --- a/arch/powerpc/platforms/pseries/eeh_cache.c +++ b/arch/powerpc/platforms/pseries/eeh_cache.c | |||
@@ -287,7 +287,7 @@ void pci_addr_cache_remove_device(struct pci_dev *dev) | |||
287 | * find the pci device that corresponds to a given address. | 287 | * find the pci device that corresponds to a given address. |
288 | * This routine scans all pci busses to build the cache. | 288 | * This routine scans all pci busses to build the cache. |
289 | * Must be run late in boot process, after the pci controllers | 289 | * Must be run late in boot process, after the pci controllers |
290 | * have been scaned for devices (after all device resources are known). | 290 | * have been scanned for devices (after all device resources are known). |
291 | */ | 291 | */ |
292 | void __init pci_addr_cache_build(void) | 292 | void __init pci_addr_cache_build(void) |
293 | { | 293 | { |
diff --git a/arch/s390/kernel/vtime.c b/arch/s390/kernel/vtime.c index dfe6f0856617..1f0439dc245a 100644 --- a/arch/s390/kernel/vtime.c +++ b/arch/s390/kernel/vtime.c | |||
@@ -356,7 +356,7 @@ static void internal_add_vtimer(struct vtimer_list *timer) | |||
356 | 356 | ||
357 | set_vtimer(event->expires); | 357 | set_vtimer(event->expires); |
358 | spin_unlock_irqrestore(&vt_list->lock, flags); | 358 | spin_unlock_irqrestore(&vt_list->lock, flags); |
359 | /* release CPU aquired in prepare_vtimer or mod_virt_timer() */ | 359 | /* release CPU acquired in prepare_vtimer or mod_virt_timer() */ |
360 | put_cpu(); | 360 | put_cpu(); |
361 | } | 361 | } |
362 | 362 | ||
diff --git a/arch/um/drivers/ubd_kern.c b/arch/um/drivers/ubd_kern.c index 0897852b09a3..290cec6d69e2 100644 --- a/arch/um/drivers/ubd_kern.c +++ b/arch/um/drivers/ubd_kern.c | |||
@@ -1222,7 +1222,7 @@ int open_ubd_file(char *file, struct openflags *openflags, int shared, | |||
1222 | } | 1222 | } |
1223 | } | 1223 | } |
1224 | 1224 | ||
1225 | /* Succesful return case! */ | 1225 | /* Successful return case! */ |
1226 | if(backing_file_out == NULL) | 1226 | if(backing_file_out == NULL) |
1227 | return(fd); | 1227 | return(fd); |
1228 | 1228 | ||
diff --git a/arch/x86_64/kernel/i8259.c b/arch/x86_64/kernel/i8259.c index 5ecd34ab8c2b..573990a6d668 100644 --- a/arch/x86_64/kernel/i8259.c +++ b/arch/x86_64/kernel/i8259.c | |||
@@ -278,7 +278,7 @@ static void mask_and_ack_8259A(unsigned int irq) | |||
278 | * Lightweight spurious IRQ detection. We do not want | 278 | * Lightweight spurious IRQ detection. We do not want |
279 | * to overdo spurious IRQ handling - it's usually a sign | 279 | * to overdo spurious IRQ handling - it's usually a sign |
280 | * of hardware problems, so we only do the checks we can | 280 | * of hardware problems, so we only do the checks we can |
281 | * do without slowing down good hardware unnecesserily. | 281 | * do without slowing down good hardware unnecessarily. |
282 | * | 282 | * |
283 | * Note that IRQ7 and IRQ15 (the two spurious IRQs | 283 | * Note that IRQ7 and IRQ15 (the two spurious IRQs |
284 | * usually resulting from the 8259A-1|2 PICs) occur | 284 | * usually resulting from the 8259A-1|2 PICs) occur |
diff --git a/block/as-iosched.c b/block/as-iosched.c index 1ec5df466708..3af31ed49a9c 100644 --- a/block/as-iosched.c +++ b/block/as-iosched.c | |||
@@ -892,7 +892,7 @@ static int as_can_break_anticipation(struct as_data *ad, struct as_rq *arq) | |||
892 | } | 892 | } |
893 | 893 | ||
894 | /* | 894 | /* |
895 | * as_can_anticipate indicates weather we should either run arq | 895 | * as_can_anticipate indicates whether we should either run arq |
896 | * or keep anticipating a better request. | 896 | * or keep anticipating a better request. |
897 | */ | 897 | */ |
898 | static int as_can_anticipate(struct as_data *ad, struct as_rq *arq) | 898 | static int as_can_anticipate(struct as_data *ad, struct as_rq *arq) |
diff --git a/block/ll_rw_blk.c b/block/ll_rw_blk.c index 0603ab2f3692..c04422a502da 100644 --- a/block/ll_rw_blk.c +++ b/block/ll_rw_blk.c | |||
@@ -2745,7 +2745,7 @@ static int attempt_merge(request_queue_t *q, struct request *req, | |||
2745 | return 0; | 2745 | return 0; |
2746 | 2746 | ||
2747 | /* | 2747 | /* |
2748 | * not contigious | 2748 | * not contiguous |
2749 | */ | 2749 | */ |
2750 | if (req->sector + req->nr_sectors != next->sector) | 2750 | if (req->sector + req->nr_sectors != next->sector) |
2751 | return 0; | 2751 | return 0; |
@@ -3415,7 +3415,7 @@ static struct notifier_block blk_cpu_notifier = { | |||
3415 | * | 3415 | * |
3416 | * Description: | 3416 | * Description: |
3417 | * Ends all I/O on a request. It does not handle partial completions, | 3417 | * Ends all I/O on a request. It does not handle partial completions, |
3418 | * unless the driver actually implements this in its completionc callback | 3418 | * unless the driver actually implements this in its completion callback |
3419 | * through requeueing. Theh actual completion happens out-of-order, | 3419 | * through requeueing. Theh actual completion happens out-of-order, |
3420 | * through a softirq handler. The user must have registered a completion | 3420 | * through a softirq handler. The user must have registered a completion |
3421 | * callback through blk_queue_softirq_done(). | 3421 | * callback through blk_queue_softirq_done(). |
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; |
diff --git a/fs/9p/mux.c b/fs/9p/mux.c index f4407eb276c7..12e1baa4508d 100644 --- a/fs/9p/mux.c +++ b/fs/9p/mux.c | |||
@@ -712,7 +712,7 @@ static void v9fs_read_work(void *a) | |||
712 | * v9fs_send_request - send 9P request | 712 | * v9fs_send_request - send 9P request |
713 | * The function can sleep until the request is scheduled for sending. | 713 | * The function can sleep until the request is scheduled for sending. |
714 | * The function can be interrupted. Return from the function is not | 714 | * The function can be interrupted. Return from the function is not |
715 | * a guarantee that the request is sent succesfully. Can return errors | 715 | * a guarantee that the request is sent successfully. Can return errors |
716 | * that can be retrieved by PTR_ERR macros. | 716 | * that can be retrieved by PTR_ERR macros. |
717 | * | 717 | * |
718 | * @m: mux data | 718 | * @m: mux data |
@@ -641,7 +641,7 @@ static inline int __queue_kicked_iocb(struct kiocb *iocb) | |||
641 | * invoked both for initial i/o submission and | 641 | * invoked both for initial i/o submission and |
642 | * subsequent retries via the aio_kick_handler. | 642 | * subsequent retries via the aio_kick_handler. |
643 | * Expects to be invoked with iocb->ki_ctx->lock | 643 | * Expects to be invoked with iocb->ki_ctx->lock |
644 | * already held. The lock is released and reaquired | 644 | * already held. The lock is released and reacquired |
645 | * as needed during processing. | 645 | * as needed during processing. |
646 | * | 646 | * |
647 | * Calls the iocb retry method (already setup for the | 647 | * Calls the iocb retry method (already setup for the |
diff --git a/fs/jffs2/summary.c b/fs/jffs2/summary.c index 0b02fc79e4d1..be1acc3dad97 100644 --- a/fs/jffs2/summary.c +++ b/fs/jffs2/summary.c | |||
@@ -43,7 +43,7 @@ int jffs2_sum_init(struct jffs2_sb_info *c) | |||
43 | return -ENOMEM; | 43 | return -ENOMEM; |
44 | } | 44 | } |
45 | 45 | ||
46 | dbg_summary("returned succesfully\n"); | 46 | dbg_summary("returned successfully\n"); |
47 | 47 | ||
48 | return 0; | 48 | return 0; |
49 | } | 49 | } |
diff --git a/fs/jfs/jfs_extent.c b/fs/jfs/jfs_extent.c index 5549378358bf..4d52593a5fc6 100644 --- a/fs/jfs/jfs_extent.c +++ b/fs/jfs/jfs_extent.c | |||
@@ -126,7 +126,7 @@ extAlloc(struct inode *ip, s64 xlen, s64 pno, xad_t * xp, boolean_t abnr) | |||
126 | 126 | ||
127 | /* allocate the disk blocks for the extent. initially, extBalloc() | 127 | /* allocate the disk blocks for the extent. initially, extBalloc() |
128 | * will try to allocate disk blocks for the requested size (xlen). | 128 | * will try to allocate disk blocks for the requested size (xlen). |
129 | * if this fails (xlen contigious free blocks not avaliable), it'll | 129 | * if this fails (xlen contiguous free blocks not avaliable), it'll |
130 | * try to allocate a smaller number of blocks (producing a smaller | 130 | * try to allocate a smaller number of blocks (producing a smaller |
131 | * extent), with this smaller number of blocks consisting of the | 131 | * extent), with this smaller number of blocks consisting of the |
132 | * requested number of blocks rounded down to the next smaller | 132 | * requested number of blocks rounded down to the next smaller |
@@ -493,7 +493,7 @@ int extFill(struct inode *ip, xad_t * xp) | |||
493 | * | 493 | * |
494 | * initially, we will try to allocate disk blocks for the | 494 | * initially, we will try to allocate disk blocks for the |
495 | * requested size (nblocks). if this fails (nblocks | 495 | * requested size (nblocks). if this fails (nblocks |
496 | * contigious free blocks not avaliable), we'll try to allocate | 496 | * contiguous free blocks not avaliable), we'll try to allocate |
497 | * a smaller number of blocks (producing a smaller extent), with | 497 | * a smaller number of blocks (producing a smaller extent), with |
498 | * this smaller number of blocks consisting of the requested | 498 | * this smaller number of blocks consisting of the requested |
499 | * number of blocks rounded down to the next smaller power of 2 | 499 | * number of blocks rounded down to the next smaller power of 2 |
@@ -529,7 +529,7 @@ extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) | |||
529 | 529 | ||
530 | /* get the number of blocks to initially attempt to allocate. | 530 | /* get the number of blocks to initially attempt to allocate. |
531 | * we'll first try the number of blocks requested unless this | 531 | * we'll first try the number of blocks requested unless this |
532 | * number is greater than the maximum number of contigious free | 532 | * number is greater than the maximum number of contiguous free |
533 | * blocks in the map. in that case, we'll start off with the | 533 | * blocks in the map. in that case, we'll start off with the |
534 | * maximum free. | 534 | * maximum free. |
535 | */ | 535 | */ |
@@ -586,7 +586,7 @@ extBalloc(struct inode *ip, s64 hint, s64 * nblocks, s64 * blkno) | |||
586 | * in place. if this fails, we'll try to move the extent | 586 | * in place. if this fails, we'll try to move the extent |
587 | * to a new set of blocks. if moving the extent, we initially | 587 | * to a new set of blocks. if moving the extent, we initially |
588 | * will try to allocate disk blocks for the requested size | 588 | * will try to allocate disk blocks for the requested size |
589 | * (nnew). if this fails (nnew contigious free blocks not | 589 | * (nnew). if this fails (new contiguous free blocks not |
590 | * avaliable), we'll try to allocate a smaller number of | 590 | * avaliable), we'll try to allocate a smaller number of |
591 | * blocks (producing a smaller extent), with this smaller | 591 | * blocks (producing a smaller extent), with this smaller |
592 | * number of blocks consisting of the requested number of | 592 | * number of blocks consisting of the requested number of |
diff --git a/include/asm-i386/system.h b/include/asm-i386/system.h index 0249f912a29c..cab0180567f9 100644 --- a/include/asm-i386/system.h +++ b/include/asm-i386/system.h | |||
@@ -427,7 +427,7 @@ static inline unsigned long long __cmpxchg64(volatile void *ptr, unsigned long l | |||
427 | * does not enforce ordering, since there is no data dependency between | 427 | * does not enforce ordering, since there is no data dependency between |
428 | * the read of "a" and the read of "b". Therefore, on some CPUs, such | 428 | * the read of "a" and the read of "b". Therefore, on some CPUs, such |
429 | * as Alpha, "y" could be set to 3 and "x" to 0. Use rmb() | 429 | * as Alpha, "y" could be set to 3 and "x" to 0. Use rmb() |
430 | * in cases like thiswhere there are no data dependencies. | 430 | * in cases like this where there are no data dependencies. |
431 | **/ | 431 | **/ |
432 | 432 | ||
433 | #define read_barrier_depends() do { } while(0) | 433 | #define read_barrier_depends() do { } while(0) |
diff --git a/include/asm-m32r/system.h b/include/asm-m32r/system.h index 33567e8bfe6b..66c4742f09e7 100644 --- a/include/asm-m32r/system.h +++ b/include/asm-m32r/system.h | |||
@@ -318,7 +318,7 @@ __cmpxchg(volatile void *ptr, unsigned long old, unsigned long new, int size) | |||
318 | * does not enforce ordering, since there is no data dependency between | 318 | * does not enforce ordering, since there is no data dependency between |
319 | * the read of "a" and the read of "b". Therefore, on some CPUs, such | 319 | * the read of "a" and the read of "b". Therefore, on some CPUs, such |
320 | * as Alpha, "y" could be set to 3 and "x" to 0. Use rmb() | 320 | * as Alpha, "y" could be set to 3 and "x" to 0. Use rmb() |
321 | * in cases like thiswhere there are no data dependencies. | 321 | * in cases like this where there are no data dependencies. |
322 | **/ | 322 | **/ |
323 | 323 | ||
324 | #define read_barrier_depends() do { } while (0) | 324 | #define read_barrier_depends() do { } while (0) |
diff --git a/include/linux/sunrpc/gss_api.h b/include/linux/sunrpc/gss_api.h index 9b8bcf125c18..6e112cc5cdda 100644 --- a/include/linux/sunrpc/gss_api.h +++ b/include/linux/sunrpc/gss_api.h | |||
@@ -126,7 +126,7 @@ struct gss_api_mech *gss_mech_get_by_pseudoflavor(u32); | |||
126 | /* Just increments the mechanism's reference count and returns its input: */ | 126 | /* Just increments the mechanism's reference count and returns its input: */ |
127 | struct gss_api_mech * gss_mech_get(struct gss_api_mech *); | 127 | struct gss_api_mech * gss_mech_get(struct gss_api_mech *); |
128 | 128 | ||
129 | /* For every succesful gss_mech_get or gss_mech_get_by_* call there must be a | 129 | /* For every successful gss_mech_get or gss_mech_get_by_* call there must be a |
130 | * corresponding call to gss_mech_put. */ | 130 | * corresponding call to gss_mech_put. */ |
131 | void gss_mech_put(struct gss_api_mech *); | 131 | void gss_mech_put(struct gss_api_mech *); |
132 | 132 | ||
diff --git a/lib/kernel_lock.c b/lib/kernel_lock.c index cb5490ec00f2..e713e86811ae 100644 --- a/lib/kernel_lock.c +++ b/lib/kernel_lock.c | |||
@@ -14,7 +14,7 @@ | |||
14 | * The 'big kernel semaphore' | 14 | * The 'big kernel semaphore' |
15 | * | 15 | * |
16 | * This mutex is taken and released recursively by lock_kernel() | 16 | * This mutex is taken and released recursively by lock_kernel() |
17 | * and unlock_kernel(). It is transparently dropped and reaquired | 17 | * and unlock_kernel(). It is transparently dropped and reacquired |
18 | * over schedule(). It is used to protect legacy code that hasn't | 18 | * over schedule(). It is used to protect legacy code that hasn't |
19 | * been migrated to a proper locking design yet. | 19 | * been migrated to a proper locking design yet. |
20 | * | 20 | * |
@@ -92,7 +92,7 @@ void __lockfunc unlock_kernel(void) | |||
92 | * The 'big kernel lock' | 92 | * The 'big kernel lock' |
93 | * | 93 | * |
94 | * This spinlock is taken and released recursively by lock_kernel() | 94 | * This spinlock is taken and released recursively by lock_kernel() |
95 | * and unlock_kernel(). It is transparently dropped and reaquired | 95 | * and unlock_kernel(). It is transparently dropped and reacquired |
96 | * over schedule(). It is used to protect legacy code that hasn't | 96 | * over schedule(). It is used to protect legacy code that hasn't |
97 | * been migrated to a proper locking design yet. | 97 | * been migrated to a proper locking design yet. |
98 | * | 98 | * |
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6c1174fcf52c..9f86191bb632 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -266,7 +266,7 @@ static inline void rmv_page_order(struct page *page) | |||
266 | * satisfies the following equation: | 266 | * satisfies the following equation: |
267 | * P = B & ~(1 << O) | 267 | * P = B & ~(1 << O) |
268 | * | 268 | * |
269 | * Assumption: *_mem_map is contigious at least up to MAX_ORDER | 269 | * Assumption: *_mem_map is contiguous at least up to MAX_ORDER |
270 | */ | 270 | */ |
271 | static inline struct page * | 271 | static inline struct page * |
272 | __page_find_buddy(struct page *page, unsigned long page_idx, unsigned int order) | 272 | __page_find_buddy(struct page *page, unsigned long page_idx, unsigned int order) |
diff --git a/mm/readahead.c b/mm/readahead.c index e39e416860d7..aa7ec424656a 100644 --- a/mm/readahead.c +++ b/mm/readahead.c | |||
@@ -390,8 +390,8 @@ int do_page_cache_readahead(struct address_space *mapping, struct file *filp, | |||
390 | * Read 'nr_to_read' pages starting at page 'offset'. If the flag 'block' | 390 | * Read 'nr_to_read' pages starting at page 'offset'. If the flag 'block' |
391 | * is set wait till the read completes. Otherwise attempt to read without | 391 | * is set wait till the read completes. Otherwise attempt to read without |
392 | * blocking. | 392 | * blocking. |
393 | * Returns 1 meaning 'success' if read is succesfull without switching off | 393 | * Returns 1 meaning 'success' if read is successful without switching off |
394 | * readhaead mode. Otherwise return failure. | 394 | * readahead mode. Otherwise return failure. |
395 | */ | 395 | */ |
396 | static int | 396 | static int |
397 | blockable_page_cache_readahead(struct address_space *mapping, struct file *filp, | 397 | blockable_page_cache_readahead(struct address_space *mapping, struct file *filp, |
diff --git a/net/sunrpc/auth_gss/gss_krb5_mech.c b/net/sunrpc/auth_gss/gss_krb5_mech.c index 129e2bd36aff..b8714a87b34c 100644 --- a/net/sunrpc/auth_gss/gss_krb5_mech.c +++ b/net/sunrpc/auth_gss/gss_krb5_mech.c | |||
@@ -169,7 +169,7 @@ gss_import_sec_context_kerberos(const void *p, | |||
169 | } | 169 | } |
170 | 170 | ||
171 | ctx_id->internal_ctx_id = ctx; | 171 | ctx_id->internal_ctx_id = ctx; |
172 | dprintk("RPC: Succesfully imported new context.\n"); | 172 | dprintk("RPC: Successfully imported new context.\n"); |
173 | return 0; | 173 | return 0; |
174 | 174 | ||
175 | out_err_free_key2: | 175 | out_err_free_key2: |
diff --git a/net/sunrpc/auth_gss/gss_spkm3_mech.c b/net/sunrpc/auth_gss/gss_spkm3_mech.c index 5bf11ccba7cd..3d0432aa45c1 100644 --- a/net/sunrpc/auth_gss/gss_spkm3_mech.c +++ b/net/sunrpc/auth_gss/gss_spkm3_mech.c | |||
@@ -201,7 +201,7 @@ gss_import_sec_context_spkm3(const void *p, size_t len, | |||
201 | 201 | ||
202 | ctx_id->internal_ctx_id = ctx; | 202 | ctx_id->internal_ctx_id = ctx; |
203 | 203 | ||
204 | dprintk("Succesfully imported new spkm context.\n"); | 204 | dprintk("Successfully imported new spkm context.\n"); |
205 | return 0; | 205 | return 0; |
206 | 206 | ||
207 | out_err_free_key2: | 207 | out_err_free_key2: |
diff --git a/sound/core/seq/seq_memory.h b/sound/core/seq/seq_memory.h index 39c60d9e1efc..63e91431a29f 100644 --- a/sound/core/seq/seq_memory.h +++ b/sound/core/seq/seq_memory.h | |||
@@ -31,7 +31,7 @@ struct snd_seq_event_cell { | |||
31 | struct snd_seq_event_cell *next; /* next cell */ | 31 | struct snd_seq_event_cell *next; /* next cell */ |
32 | }; | 32 | }; |
33 | 33 | ||
34 | /* design note: the pool is a contigious block of memory, if we dynamicly | 34 | /* design note: the pool is a contiguous block of memory, if we dynamicly |
35 | want to add additional cells to the pool be better store this in another | 35 | want to add additional cells to the pool be better store this in another |
36 | pool as we need to know the base address of the pool when releasing | 36 | pool as we need to know the base address of the pool when releasing |
37 | memory. */ | 37 | memory. */ |
diff --git a/sound/oss/sb_ess.c b/sound/oss/sb_ess.c index fae05fe3de43..180e95c87e3e 100644 --- a/sound/oss/sb_ess.c +++ b/sound/oss/sb_ess.c | |||
@@ -97,19 +97,19 @@ | |||
97 | * | 97 | * |
98 | * The documentation is an adventure: it's close but not fully accurate. I | 98 | * The documentation is an adventure: it's close but not fully accurate. I |
99 | * found out that after a reset some registers are *NOT* reset, though the | 99 | * found out that after a reset some registers are *NOT* reset, though the |
100 | * docs say the would be. Interresting ones are 0x7f, 0x7d and 0x7a. They are | 100 | * docs say the would be. Interesting ones are 0x7f, 0x7d and 0x7a. They are |
101 | * related to the Audio 2 channel. I also was suprised about the consequenses | 101 | * related to the Audio 2 channel. I also was surprised about the consequences |
102 | * of writing 0x00 to 0x7f (which should be done by reset): The ES1887 moves | 102 | * of writing 0x00 to 0x7f (which should be done by reset): The ES1887 moves |
103 | * into ES1888 mode. This means that it claims IRQ 11, which happens to be my | 103 | * into ES1888 mode. This means that it claims IRQ 11, which happens to be my |
104 | * ISDN adapter. Needless to say it no longer worked. I now understand why | 104 | * ISDN adapter. Needless to say it no longer worked. I now understand why |
105 | * after rebooting 0x7f already was 0x05, the value of my choice: the BIOS | 105 | * after rebooting 0x7f already was 0x05, the value of my choice: the BIOS |
106 | * did it. | 106 | * did it. |
107 | * | 107 | * |
108 | * Oh, and this is another trap: in ES1887 docs mixer register 0x70 is decribed | 108 | * Oh, and this is another trap: in ES1887 docs mixer register 0x70 is |
109 | * as if it's exactly the same as register 0xa1. This is *NOT* true. The | 109 | * described as if it's exactly the same as register 0xa1. This is *NOT* true. |
110 | * description of 0x70 in ES1869 docs is accurate however. | 110 | * The description of 0x70 in ES1869 docs is accurate however. |
111 | * Well, the assumption about ES1869 was wrong: register 0x70 is very much | 111 | * Well, the assumption about ES1869 was wrong: register 0x70 is very much |
112 | * like register 0xa1, except that bit 7 is allways 1, whatever you want | 112 | * like register 0xa1, except that bit 7 is always 1, whatever you want |
113 | * it to be. | 113 | * it to be. |
114 | * | 114 | * |
115 | * When using audio 2 mixer register 0x72 seems te be meaningless. Only 0xa2 | 115 | * When using audio 2 mixer register 0x72 seems te be meaningless. Only 0xa2 |
@@ -117,10 +117,10 @@ | |||
117 | * | 117 | * |
118 | * Software reset not being able to reset all registers is great! Especially | 118 | * Software reset not being able to reset all registers is great! Especially |
119 | * the fact that register 0x78 isn't reset is great when you wanna change back | 119 | * the fact that register 0x78 isn't reset is great when you wanna change back |
120 | * to single dma operation (simplex): audio 2 is still operation, and uses the | 120 | * to single dma operation (simplex): audio 2 is still operational, and uses |
121 | * same dma as audio 1: your ess changes into a funny echo machine. | 121 | * the same dma as audio 1: your ess changes into a funny echo machine. |
122 | * | 122 | * |
123 | * Received the new that ES1688 is detected as a ES1788. Did some thinking: | 123 | * Received the news that ES1688 is detected as a ES1788. Did some thinking: |
124 | * the ES1887 detection scheme suggests in step 2 to try if bit 3 of register | 124 | * the ES1887 detection scheme suggests in step 2 to try if bit 3 of register |
125 | * 0x64 can be changed. This is inaccurate, first I inverted the * check: "If | 125 | * 0x64 can be changed. This is inaccurate, first I inverted the * check: "If |
126 | * can be modified, it's a 1688", which lead to a correct detection | 126 | * can be modified, it's a 1688", which lead to a correct detection |
@@ -135,7 +135,7 @@ | |||
135 | * About recognition of ESS chips | 135 | * About recognition of ESS chips |
136 | * | 136 | * |
137 | * The distinction of ES688, ES1688, ES1788, ES1887 and ES1888 is described in | 137 | * The distinction of ES688, ES1688, ES1788, ES1887 and ES1888 is described in |
138 | * a (preliminary ??) datasheet on ES1887. It's aim is to identify ES1887, but | 138 | * a (preliminary ??) datasheet on ES1887. Its aim is to identify ES1887, but |
139 | * during detection the text claims that "this chip may be ..." when a step | 139 | * during detection the text claims that "this chip may be ..." when a step |
140 | * fails. This scheme is used to distinct between the above chips. | 140 | * fails. This scheme is used to distinct between the above chips. |
141 | * It appears however that some PnP chips like ES1868 are recognized as ES1788 | 141 | * It appears however that some PnP chips like ES1868 are recognized as ES1788 |
@@ -156,9 +156,9 @@ | |||
156 | * | 156 | * |
157 | * The existing ES1688 support didn't take care of the ES1688+ recording | 157 | * The existing ES1688 support didn't take care of the ES1688+ recording |
158 | * levels very well. Whenever a device was selected (recmask) for recording | 158 | * levels very well. Whenever a device was selected (recmask) for recording |
159 | * it's recording level was loud, and it couldn't be changed. The fact that | 159 | * its recording level was loud, and it couldn't be changed. The fact that |
160 | * internal register 0xb4 could take care of RECLEV, didn't work meaning until | 160 | * internal register 0xb4 could take care of RECLEV, didn't work meaning until |
161 | * it's value was restored every time the chip was reset; this reset the | 161 | * its value was restored every time the chip was reset; this reset the |
162 | * value of 0xb4 too. I guess that's what 4front also had (have?) trouble with. | 162 | * value of 0xb4 too. I guess that's what 4front also had (have?) trouble with. |
163 | * | 163 | * |
164 | * About ES1887 support: | 164 | * About ES1887 support: |
@@ -169,9 +169,9 @@ | |||
169 | * the latter case the recording volumes are 0. | 169 | * the latter case the recording volumes are 0. |
170 | * Now recording levels of inputs can be controlled, by changing the playback | 170 | * Now recording levels of inputs can be controlled, by changing the playback |
171 | * levels. Futhermore several devices can be recorded together (which is not | 171 | * levels. Futhermore several devices can be recorded together (which is not |
172 | * possible with the ES1688. | 172 | * possible with the ES1688). |
173 | * Besides the separate recording level control for each input, the common | 173 | * Besides the separate recording level control for each input, the common |
174 | * recordig level can also be controlled by RECLEV as described above. | 174 | * recording level can also be controlled by RECLEV as described above. |
175 | * | 175 | * |
176 | * Not only ES1887 have this recording mixer. I know the following from the | 176 | * Not only ES1887 have this recording mixer. I know the following from the |
177 | * documentation: | 177 | * documentation: |
diff --git a/sound/pci/cs5535audio/cs5535audio_pcm.c b/sound/pci/cs5535audio/cs5535audio_pcm.c index f0a48693d687..5450a9e8f133 100644 --- a/sound/pci/cs5535audio/cs5535audio_pcm.c +++ b/sound/pci/cs5535audio/cs5535audio_pcm.c | |||
@@ -143,7 +143,7 @@ static int cs5535audio_build_dma_packets(struct cs5535audio *cs5535au, | |||
143 | if (dma->periods == periods && dma->period_bytes == period_bytes) | 143 | if (dma->periods == periods && dma->period_bytes == period_bytes) |
144 | return 0; | 144 | return 0; |
145 | 145 | ||
146 | /* the u32 cast is okay because in snd*create we succesfully told | 146 | /* the u32 cast is okay because in snd*create we successfully told |
147 | pci alloc that we're only 32 bit capable so the uppper will be 0 */ | 147 | pci alloc that we're only 32 bit capable so the uppper will be 0 */ |
148 | addr = (u32) substream->runtime->dma_addr; | 148 | addr = (u32) substream->runtime->dma_addr; |
149 | desc_addr = (u32) dma->desc_buf.addr; | 149 | desc_addr = (u32) dma->desc_buf.addr; |