diff options
Diffstat (limited to 'drivers')
192 files changed, 297 insertions, 290 deletions
diff --git a/drivers/ata/ata_piix.c b/drivers/ata/ata_piix.c index 9ac4e378992e..3aadded05a05 100644 --- a/drivers/ata/ata_piix.c +++ b/drivers/ata/ata_piix.c | |||
@@ -599,7 +599,7 @@ static const struct ich_laptop ich_laptop[] = { | |||
599 | { 0x27DF, 0x1028, 0x02b0 }, /* ICH7 on unknown Dell */ | 599 | { 0x27DF, 0x1028, 0x02b0 }, /* ICH7 on unknown Dell */ |
600 | { 0x27DF, 0x1043, 0x1267 }, /* ICH7 on Asus W5F */ | 600 | { 0x27DF, 0x1043, 0x1267 }, /* ICH7 on Asus W5F */ |
601 | { 0x27DF, 0x103C, 0x30A1 }, /* ICH7 on HP Compaq nc2400 */ | 601 | { 0x27DF, 0x103C, 0x30A1 }, /* ICH7 on HP Compaq nc2400 */ |
602 | { 0x27DF, 0x103C, 0x361a }, /* ICH7 on unkown HP */ | 602 | { 0x27DF, 0x103C, 0x361a }, /* ICH7 on unknown HP */ |
603 | { 0x27DF, 0x1071, 0xD221 }, /* ICH7 on Hercules EC-900 */ | 603 | { 0x27DF, 0x1071, 0xD221 }, /* ICH7 on Hercules EC-900 */ |
604 | { 0x27DF, 0x152D, 0x0778 }, /* ICH7 on unknown Intel */ | 604 | { 0x27DF, 0x152D, 0x0778 }, /* ICH7 on unknown Intel */ |
605 | { 0x24CA, 0x1025, 0x0061 }, /* ICH4 on ACER Aspire 2023WLMi */ | 605 | { 0x24CA, 0x1025, 0x0061 }, /* ICH4 on ACER Aspire 2023WLMi */ |
diff --git a/drivers/ata/sata_fsl.c b/drivers/ata/sata_fsl.c index d344db42a002..0d9d2f20788a 100644 --- a/drivers/ata/sata_fsl.c +++ b/drivers/ata/sata_fsl.c | |||
@@ -43,9 +43,9 @@ enum { | |||
43 | /* | 43 | /* |
44 | * SATA-FSL host controller supports a max. of (15+1) direct PRDEs, and | 44 | * SATA-FSL host controller supports a max. of (15+1) direct PRDEs, and |
45 | * chained indirect PRDEs upto a max count of 63. | 45 | * chained indirect PRDEs upto a max count of 63. |
46 | * We are allocating an array of 63 PRDEs contigiously, but PRDE#15 will | 46 | * We are allocating an array of 63 PRDEs contiguously, but PRDE#15 will |
47 | * be setup as an indirect descriptor, pointing to it's next | 47 | * be setup as an indirect descriptor, pointing to it's next |
48 | * (contigious) PRDE. Though chained indirect PRDE arrays are | 48 | * (contiguous) PRDE. Though chained indirect PRDE arrays are |
49 | * supported,it will be more efficient to use a direct PRDT and | 49 | * supported,it will be more efficient to use a direct PRDT and |
50 | * a single chain/link to indirect PRDE array/PRDT. | 50 | * a single chain/link to indirect PRDE array/PRDT. |
51 | */ | 51 | */ |
@@ -314,7 +314,7 @@ static unsigned int sata_fsl_fill_sg(struct ata_queued_cmd *qc, void *cmd_desc, | |||
314 | u32 ttl_dwords = 0; | 314 | u32 ttl_dwords = 0; |
315 | 315 | ||
316 | /* | 316 | /* |
317 | * NOTE : direct & indirect prdt's are contigiously allocated | 317 | * NOTE : direct & indirect prdt's are contiguously allocated |
318 | */ | 318 | */ |
319 | struct prde *prd = (struct prde *)&((struct command_desc *) | 319 | struct prde *prd = (struct prde *)&((struct command_desc *) |
320 | cmd_desc)->prdt; | 320 | cmd_desc)->prdt; |
diff --git a/drivers/atm/iphase.c b/drivers/atm/iphase.c index b2c1b37ab2e4..f734b345ac71 100644 --- a/drivers/atm/iphase.c +++ b/drivers/atm/iphase.c | |||
@@ -1132,7 +1132,7 @@ static int rx_pkt(struct atm_dev *dev) | |||
1132 | IF_ERR(printk(" cause: packet time out\n");) | 1132 | IF_ERR(printk(" cause: packet time out\n");) |
1133 | } | 1133 | } |
1134 | else { | 1134 | else { |
1135 | IF_ERR(printk(" cause: buffer over flow\n");) | 1135 | IF_ERR(printk(" cause: buffer overflow\n");) |
1136 | } | 1136 | } |
1137 | goto out_free_desc; | 1137 | goto out_free_desc; |
1138 | } | 1138 | } |
diff --git a/drivers/base/dd.c b/drivers/base/dd.c index 979d159b5cd1..ee95c76bfd3d 100644 --- a/drivers/base/dd.c +++ b/drivers/base/dd.c | |||
@@ -188,7 +188,7 @@ EXPORT_SYMBOL_GPL(wait_for_device_probe); | |||
188 | * @dev: device to try to bind to the driver | 188 | * @dev: device to try to bind to the driver |
189 | * | 189 | * |
190 | * This function returns -ENODEV if the device is not registered, | 190 | * This function returns -ENODEV if the device is not registered, |
191 | * 1 if the device is bound sucessfully and 0 otherwise. | 191 | * 1 if the device is bound successfully and 0 otherwise. |
192 | * | 192 | * |
193 | * This function must be called with @dev->sem held. When called for a | 193 | * This function must be called with @dev->sem held. When called for a |
194 | * USB interface, @dev->parent->sem must be held as well. | 194 | * USB interface, @dev->parent->sem must be held as well. |
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 5b33b85790f2..63bfc5436799 100644 --- a/drivers/bluetooth/btmrvl_sdio.c +++ b/drivers/bluetooth/btmrvl_sdio.c | |||
@@ -535,7 +535,7 @@ static int btmrvl_sdio_card_to_host(struct btmrvl_private *priv) | |||
535 | break; | 535 | break; |
536 | 536 | ||
537 | default: | 537 | default: |
538 | BT_ERR("Unknow packet type:%d", type); | 538 | BT_ERR("Unknown packet type:%d", type); |
539 | print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, payload, | 539 | print_hex_dump_bytes("", DUMP_PREFIX_OFFSET, payload, |
540 | blksz * buf_block_len); | 540 | blksz * buf_block_len); |
541 | 541 | ||
diff --git a/drivers/bluetooth/hci_ldisc.c b/drivers/bluetooth/hci_ldisc.c index 4895f0e05322..aa0919386b8c 100644 --- a/drivers/bluetooth/hci_ldisc.c +++ b/drivers/bluetooth/hci_ldisc.c | |||
@@ -214,7 +214,7 @@ static int hci_uart_send_frame(struct sk_buff *skb) | |||
214 | struct hci_uart *hu; | 214 | struct hci_uart *hu; |
215 | 215 | ||
216 | if (!hdev) { | 216 | if (!hdev) { |
217 | BT_ERR("Frame for uknown device (hdev=NULL)"); | 217 | BT_ERR("Frame for unknown device (hdev=NULL)"); |
218 | return -ENODEV; | 218 | return -ENODEV; |
219 | } | 219 | } |
220 | 220 | ||
diff --git a/drivers/char/mem.c b/drivers/char/mem.c index a074fceb67d3..42e65cf8ab52 100644 --- a/drivers/char/mem.c +++ b/drivers/char/mem.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * | 5 | * |
6 | * Added devfs support. | 6 | * Added devfs support. |
7 | * Jan-11-1998, C. Scott Ananian <cananian@alumni.princeton.edu> | 7 | * Jan-11-1998, C. Scott Ananian <cananian@alumni.princeton.edu> |
8 | * Shared /dev/zero mmaping support, Feb 2000, Kanoj Sarcar <kanoj@sgi.com> | 8 | * Shared /dev/zero mmapping support, Feb 2000, Kanoj Sarcar <kanoj@sgi.com> |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <linux/mm.h> | 11 | #include <linux/mm.h> |
diff --git a/drivers/char/mspec.c b/drivers/char/mspec.c index 1997270bb6f4..ecb89d798e35 100644 --- a/drivers/char/mspec.c +++ b/drivers/char/mspec.c | |||
@@ -248,7 +248,7 @@ static const struct vm_operations_struct mspec_vm_ops = { | |||
248 | /* | 248 | /* |
249 | * mspec_mmap | 249 | * mspec_mmap |
250 | * | 250 | * |
251 | * Called when mmaping the device. Initializes the vma with a fault handler | 251 | * Called when mmapping the device. Initializes the vma with a fault handler |
252 | * and private data structure necessary to allocate, track, and free the | 252 | * and private data structure necessary to allocate, track, and free the |
253 | * underlying pages. | 253 | * underlying pages. |
254 | */ | 254 | */ |
diff --git a/drivers/char/n_r3964.c b/drivers/char/n_r3964.c index 6934025a1ac1..c1d8b54c816d 100644 --- a/drivers/char/n_r3964.c +++ b/drivers/char/n_r3964.c | |||
@@ -602,7 +602,7 @@ static void receive_char(struct r3964_info *pInfo, const unsigned char c) | |||
602 | } | 602 | } |
603 | break; | 603 | break; |
604 | case R3964_WAIT_FOR_RX_REPEAT: | 604 | case R3964_WAIT_FOR_RX_REPEAT: |
605 | /* FALLTROUGH */ | 605 | /* FALLTHROUGH */ |
606 | case R3964_IDLE: | 606 | case R3964_IDLE: |
607 | if (c == STX) { | 607 | if (c == STX) { |
608 | /* Prevent rx_queue from overflow: */ | 608 | /* Prevent rx_queue from overflow: */ |
diff --git a/drivers/char/rio/route.h b/drivers/char/rio/route.h index 20ed73f3fd7b..46e963771c30 100644 --- a/drivers/char/rio/route.h +++ b/drivers/char/rio/route.h | |||
@@ -67,7 +67,7 @@ | |||
67 | typedef struct COST_ROUTE COST_ROUTE; | 67 | typedef struct COST_ROUTE COST_ROUTE; |
68 | struct COST_ROUTE { | 68 | struct COST_ROUTE { |
69 | unsigned char cost; /* Cost down this link */ | 69 | unsigned char cost; /* Cost down this link */ |
70 | unsigned char route[NODE_BYTES]; /* Nodes thorough this route */ | 70 | unsigned char route[NODE_BYTES]; /* Nodes through this route */ |
71 | }; | 71 | }; |
72 | 72 | ||
73 | typedef struct ROUTE_STR ROUTE_STR; | 73 | typedef struct ROUTE_STR ROUTE_STR; |
diff --git a/drivers/crypto/hifn_795x.c b/drivers/crypto/hifn_795x.c index 5f753fc08730..09ad9154d86c 100644 --- a/drivers/crypto/hifn_795x.c +++ b/drivers/crypto/hifn_795x.c | |||
@@ -863,7 +863,7 @@ static int hifn_init_pubrng(struct hifn_device *dev) | |||
863 | dev->dmareg |= HIFN_DMAIER_PUBDONE; | 863 | dev->dmareg |= HIFN_DMAIER_PUBDONE; |
864 | hifn_write_1(dev, HIFN_1_DMA_IER, dev->dmareg); | 864 | hifn_write_1(dev, HIFN_1_DMA_IER, dev->dmareg); |
865 | 865 | ||
866 | dprintk("Chip %s: Public key engine has been sucessfully " | 866 | dprintk("Chip %s: Public key engine has been successfully " |
867 | "initialised.\n", dev->name); | 867 | "initialised.\n", dev->name); |
868 | } | 868 | } |
869 | 869 | ||
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index 7585c4164bd5..c52ac9efd0bf 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c | |||
@@ -99,7 +99,7 @@ static struct at_desc *atc_alloc_descriptor(struct dma_chan *chan, | |||
99 | } | 99 | } |
100 | 100 | ||
101 | /** | 101 | /** |
102 | * atc_desc_get - get a unsused descriptor from free_list | 102 | * atc_desc_get - get an unused descriptor from free_list |
103 | * @atchan: channel we want a new descriptor for | 103 | * @atchan: channel we want a new descriptor for |
104 | */ | 104 | */ |
105 | static struct at_desc *atc_desc_get(struct at_dma_chan *atchan) | 105 | static struct at_desc *atc_desc_get(struct at_dma_chan *atchan) |
diff --git a/drivers/firewire/core-topology.c b/drivers/firewire/core-topology.c index fddf2b358936..d373d17257e9 100644 --- a/drivers/firewire/core-topology.c +++ b/drivers/firewire/core-topology.c | |||
@@ -183,7 +183,7 @@ static inline struct fw_node *fw_node(struct list_head *l) | |||
183 | * This function builds the tree representation of the topology given | 183 | * This function builds the tree representation of the topology given |
184 | * by the self IDs from the latest bus reset. During the construction | 184 | * by the self IDs from the latest bus reset. During the construction |
185 | * of the tree, the function checks that the self IDs are valid and | 185 | * of the tree, the function checks that the self IDs are valid and |
186 | * internally consistent. On succcess this function returns the | 186 | * internally consistent. On success this function returns the |
187 | * fw_node corresponding to the local card otherwise NULL. | 187 | * fw_node corresponding to the local card otherwise NULL. |
188 | */ | 188 | */ |
189 | static struct fw_node *build_tree(struct fw_card *card, | 189 | static struct fw_node *build_tree(struct fw_card *card, |
diff --git a/drivers/gpu/drm/drm_crtc.c b/drivers/gpu/drm/drm_crtc.c index 5cae0b3eee9b..3f7c500b2115 100644 --- a/drivers/gpu/drm/drm_crtc.c +++ b/drivers/gpu/drm/drm_crtc.c | |||
@@ -272,7 +272,7 @@ EXPORT_SYMBOL(drm_mode_object_find); | |||
272 | * functions & device file and adds it to the master fd list. | 272 | * functions & device file and adds it to the master fd list. |
273 | * | 273 | * |
274 | * RETURNS: | 274 | * RETURNS: |
275 | * Zero on success, error code on falure. | 275 | * Zero on success, error code on failure. |
276 | */ | 276 | */ |
277 | int drm_framebuffer_init(struct drm_device *dev, struct drm_framebuffer *fb, | 277 | int drm_framebuffer_init(struct drm_device *dev, struct drm_framebuffer *fb, |
278 | const struct drm_framebuffer_funcs *funcs) | 278 | const struct drm_framebuffer_funcs *funcs) |
@@ -2328,7 +2328,7 @@ int drm_mode_connector_property_set_ioctl(struct drm_device *dev, | |||
2328 | } else if (connector->funcs->set_property) | 2328 | } else if (connector->funcs->set_property) |
2329 | ret = connector->funcs->set_property(connector, property, out_resp->value); | 2329 | ret = connector->funcs->set_property(connector, property, out_resp->value); |
2330 | 2330 | ||
2331 | /* store the property value if succesful */ | 2331 | /* store the property value if successful */ |
2332 | if (!ret) | 2332 | if (!ret) |
2333 | drm_connector_property_set_value(connector, property, out_resp->value); | 2333 | drm_connector_property_set_value(connector, property, out_resp->value); |
2334 | out: | 2334 | out: |
diff --git a/drivers/gpu/drm/i915/i915_gem.c b/drivers/gpu/drm/i915/i915_gem.c index abfc27b0c2ea..a2a3fa599923 100644 --- a/drivers/gpu/drm/i915/i915_gem.c +++ b/drivers/gpu/drm/i915/i915_gem.c | |||
@@ -1309,7 +1309,7 @@ out_free_list: | |||
1309 | * i915_gem_release_mmap - remove physical page mappings | 1309 | * i915_gem_release_mmap - remove physical page mappings |
1310 | * @obj: obj in question | 1310 | * @obj: obj in question |
1311 | * | 1311 | * |
1312 | * Preserve the reservation of the mmaping with the DRM core code, but | 1312 | * Preserve the reservation of the mmapping with the DRM core code, but |
1313 | * relinquish ownership of the pages back to the system. | 1313 | * relinquish ownership of the pages back to the system. |
1314 | * | 1314 | * |
1315 | * It is vital that we remove the page mapping if we have mapped a tiled | 1315 | * It is vital that we remove the page mapping if we have mapped a tiled |
diff --git a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c index 2b0fe54cd92c..40fcf6fdef38 100644 --- a/drivers/gpu/drm/i915/intel_fb.c +++ b/drivers/gpu/drm/i915/intel_fb.c | |||
@@ -70,7 +70,7 @@ static struct drm_fb_helper_funcs intel_fb_helper_funcs = { | |||
70 | 70 | ||
71 | 71 | ||
72 | /** | 72 | /** |
73 | * Curretly it is assumed that the old framebuffer is reused. | 73 | * Currently it is assumed that the old framebuffer is reused. |
74 | * | 74 | * |
75 | * LOCKING | 75 | * LOCKING |
76 | * caller should hold the mode config lock. | 76 | * caller should hold the mode config lock. |
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c index 083bec2e50f9..e7fa3279e2f8 100644 --- a/drivers/gpu/drm/i915/intel_sdvo.c +++ b/drivers/gpu/drm/i915/intel_sdvo.c | |||
@@ -2726,7 +2726,7 @@ bool intel_sdvo_init(struct drm_device *dev, int output_device) | |||
2726 | /* Wrap with our custom algo which switches to DDC mode */ | 2726 | /* Wrap with our custom algo which switches to DDC mode */ |
2727 | intel_output->ddc_bus->algo = &intel_sdvo_i2c_bit_algo; | 2727 | intel_output->ddc_bus->algo = &intel_sdvo_i2c_bit_algo; |
2728 | 2728 | ||
2729 | /* In defaut case sdvo lvds is false */ | 2729 | /* In default case sdvo lvds is false */ |
2730 | intel_sdvo_get_capabilities(intel_output, &sdvo_priv->caps); | 2730 | intel_sdvo_get_capabilities(intel_output, &sdvo_priv->caps); |
2731 | 2731 | ||
2732 | if (intel_sdvo_output_setup(intel_output, | 2732 | if (intel_sdvo_output_setup(intel_output, |
diff --git a/drivers/gpu/drm/radeon/r600.c b/drivers/gpu/drm/radeon/r600.c index 609719490ec2..00c739c44848 100644 --- a/drivers/gpu/drm/radeon/r600.c +++ b/drivers/gpu/drm/radeon/r600.c | |||
@@ -389,11 +389,11 @@ int r600_mc_init(struct radeon_device *rdev) | |||
389 | * AGP so that GPU can catch out of VRAM/AGP access | 389 | * AGP so that GPU can catch out of VRAM/AGP access |
390 | */ | 390 | */ |
391 | if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) { | 391 | if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) { |
392 | /* Enought place before */ | 392 | /* Enough place before */ |
393 | rdev->mc.vram_location = rdev->mc.gtt_location - | 393 | rdev->mc.vram_location = rdev->mc.gtt_location - |
394 | rdev->mc.mc_vram_size; | 394 | rdev->mc.mc_vram_size; |
395 | } else if (tmp > rdev->mc.mc_vram_size) { | 395 | } else if (tmp > rdev->mc.mc_vram_size) { |
396 | /* Enought place after */ | 396 | /* Enough place after */ |
397 | rdev->mc.vram_location = rdev->mc.gtt_location + | 397 | rdev->mc.vram_location = rdev->mc.gtt_location + |
398 | rdev->mc.gtt_size; | 398 | rdev->mc.gtt_size; |
399 | } else { | 399 | } else { |
diff --git a/drivers/gpu/drm/radeon/radeon_fb.c b/drivers/gpu/drm/radeon/radeon_fb.c index b38c4c8e2c61..d10eb43645c8 100644 --- a/drivers/gpu/drm/radeon/radeon_fb.c +++ b/drivers/gpu/drm/radeon/radeon_fb.c | |||
@@ -59,7 +59,7 @@ static struct fb_ops radeonfb_ops = { | |||
59 | }; | 59 | }; |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * Curretly it is assumed that the old framebuffer is reused. | 62 | * Currently it is assumed that the old framebuffer is reused. |
63 | * | 63 | * |
64 | * LOCKING | 64 | * LOCKING |
65 | * caller should hold the mode config lock. | 65 | * caller should hold the mode config lock. |
diff --git a/drivers/gpu/drm/radeon/radeon_state.c b/drivers/gpu/drm/radeon/radeon_state.c index 38537d971a3e..067167cb39ca 100644 --- a/drivers/gpu/drm/radeon/radeon_state.c +++ b/drivers/gpu/drm/radeon/radeon_state.c | |||
@@ -1950,7 +1950,7 @@ static void radeon_apply_surface_regs(int surf_index, | |||
1950 | * Note that refcount can be at most 2, since during a free refcount=3 | 1950 | * Note that refcount can be at most 2, since during a free refcount=3 |
1951 | * might mean we have to allocate a new surface which might not always | 1951 | * might mean we have to allocate a new surface which might not always |
1952 | * be available. | 1952 | * be available. |
1953 | * For example : we allocate three contigous surfaces ABC. If B is | 1953 | * For example : we allocate three contiguous surfaces ABC. If B is |
1954 | * freed, we suddenly need two surfaces to store A and C, which might | 1954 | * freed, we suddenly need two surfaces to store A and C, which might |
1955 | * not always be available. | 1955 | * not always be available. |
1956 | */ | 1956 | */ |
diff --git a/drivers/gpu/drm/radeon/radeon_ttm.c b/drivers/gpu/drm/radeon/radeon_ttm.c index 765bd184b6fc..5a664000bf70 100644 --- a/drivers/gpu/drm/radeon/radeon_ttm.c +++ b/drivers/gpu/drm/radeon/radeon_ttm.c | |||
@@ -372,7 +372,7 @@ static int radeon_bo_move(struct ttm_buffer_object *bo, | |||
372 | new_mem->mem_type == TTM_PL_SYSTEM) || | 372 | new_mem->mem_type == TTM_PL_SYSTEM) || |
373 | (old_mem->mem_type == TTM_PL_SYSTEM && | 373 | (old_mem->mem_type == TTM_PL_SYSTEM && |
374 | new_mem->mem_type == TTM_PL_TT)) { | 374 | new_mem->mem_type == TTM_PL_TT)) { |
375 | /* bind is enought */ | 375 | /* bind is enough */ |
376 | radeon_move_null(bo, new_mem); | 376 | radeon_move_null(bo, new_mem); |
377 | return 0; | 377 | return 0; |
378 | } | 378 | } |
diff --git a/drivers/gpu/drm/radeon/rv770.c b/drivers/gpu/drm/radeon/rv770.c index 595ac638039d..9e9826ace305 100644 --- a/drivers/gpu/drm/radeon/rv770.c +++ b/drivers/gpu/drm/radeon/rv770.c | |||
@@ -807,11 +807,11 @@ int rv770_mc_init(struct radeon_device *rdev) | |||
807 | * AGP so that GPU can catch out of VRAM/AGP access | 807 | * AGP so that GPU can catch out of VRAM/AGP access |
808 | */ | 808 | */ |
809 | if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) { | 809 | if (rdev->mc.gtt_location > rdev->mc.mc_vram_size) { |
810 | /* Enought place before */ | 810 | /* Enough place before */ |
811 | rdev->mc.vram_location = rdev->mc.gtt_location - | 811 | rdev->mc.vram_location = rdev->mc.gtt_location - |
812 | rdev->mc.mc_vram_size; | 812 | rdev->mc.mc_vram_size; |
813 | } else if (tmp > rdev->mc.mc_vram_size) { | 813 | } else if (tmp > rdev->mc.mc_vram_size) { |
814 | /* Enought place after */ | 814 | /* Enough place after */ |
815 | rdev->mc.vram_location = rdev->mc.gtt_location + | 815 | rdev->mc.vram_location = rdev->mc.gtt_location + |
816 | rdev->mc.gtt_size; | 816 | rdev->mc.gtt_size; |
817 | } else { | 817 | } else { |
diff --git a/drivers/gpu/drm/ttm/ttm_bo_util.c b/drivers/gpu/drm/ttm/ttm_bo_util.c index c70927ecda21..61c5572d2b91 100644 --- a/drivers/gpu/drm/ttm/ttm_bo_util.c +++ b/drivers/gpu/drm/ttm/ttm_bo_util.c | |||
@@ -427,7 +427,7 @@ static int ttm_bo_kmap_ttm(struct ttm_buffer_object *bo, | |||
427 | 427 | ||
428 | /* | 428 | /* |
429 | * We need to use vmap to get the desired page protection | 429 | * We need to use vmap to get the desired page protection |
430 | * or to make the buffer object look contigous. | 430 | * or to make the buffer object look contiguous. |
431 | */ | 431 | */ |
432 | prot = (mem->placement & TTM_PL_FLAG_CACHED) ? | 432 | prot = (mem->placement & TTM_PL_FLAG_CACHED) ? |
433 | PAGE_KERNEL : | 433 | PAGE_KERNEL : |
diff --git a/drivers/hwmon/adm1029.c b/drivers/hwmon/adm1029.c index 36718150b475..e845b75ccee4 100644 --- a/drivers/hwmon/adm1029.c +++ b/drivers/hwmon/adm1029.c | |||
@@ -432,7 +432,7 @@ static int adm1029_remove(struct i2c_client *client) | |||
432 | } | 432 | } |
433 | 433 | ||
434 | /* | 434 | /* |
435 | function that update the status of the chips (temperature for exemple) | 435 | function that update the status of the chips (temperature for example) |
436 | */ | 436 | */ |
437 | static struct adm1029_data *adm1029_update_device(struct device *dev) | 437 | static struct adm1029_data *adm1029_update_device(struct device *dev) |
438 | { | 438 | { |
diff --git a/drivers/hwmon/lm93.c b/drivers/hwmon/lm93.c index fc36cadf36fb..c48a284b8314 100644 --- a/drivers/hwmon/lm93.c +++ b/drivers/hwmon/lm93.c | |||
@@ -928,7 +928,7 @@ static void lm93_update_client_common(struct lm93_data *data, | |||
928 | data->prochot_interval = lm93_read_byte(client, | 928 | data->prochot_interval = lm93_read_byte(client, |
929 | LM93_REG_PROCHOT_INTERVAL); | 929 | LM93_REG_PROCHOT_INTERVAL); |
930 | 930 | ||
931 | /* Fan Boost Termperature registers */ | 931 | /* Fan Boost Temperature registers */ |
932 | for (i = 0; i < 4; i++) | 932 | for (i = 0; i < 4; i++) |
933 | data->boost[i] = lm93_read_byte(client, LM93_REG_BOOST(i)); | 933 | data->boost[i] = lm93_read_byte(client, LM93_REG_BOOST(i)); |
934 | 934 | ||
diff --git a/drivers/ieee1394/dv1394.c b/drivers/ieee1394/dv1394.c index 2cd00b5b45b4..9fd4a0d3206e 100644 --- a/drivers/ieee1394/dv1394.c +++ b/drivers/ieee1394/dv1394.c | |||
@@ -125,7 +125,7 @@ | |||
125 | 0 - no debugging messages | 125 | 0 - no debugging messages |
126 | 1 - some debugging messages, but none during DMA frame transmission | 126 | 1 - some debugging messages, but none during DMA frame transmission |
127 | 2 - lots of messages, including during DMA frame transmission | 127 | 2 - lots of messages, including during DMA frame transmission |
128 | (will cause undeflows if your machine is too slow!) | 128 | (will cause underflows if your machine is too slow!) |
129 | */ | 129 | */ |
130 | 130 | ||
131 | #define DV1394_DEBUG_LEVEL 0 | 131 | #define DV1394_DEBUG_LEVEL 0 |
diff --git a/drivers/infiniband/hw/ipath/ipath_iba6110.c b/drivers/infiniband/hw/ipath/ipath_iba6110.c index 4bd39c8af80f..37d12e5efa49 100644 --- a/drivers/infiniband/hw/ipath/ipath_iba6110.c +++ b/drivers/infiniband/hw/ipath/ipath_iba6110.c | |||
@@ -381,7 +381,7 @@ static const ipath_err_t infinipath_hwe_htclnkbbyte1crcerr = | |||
381 | #define IPATH_GPIO_SCL \ | 381 | #define IPATH_GPIO_SCL \ |
382 | (1ULL << (_IPATH_GPIO_SCL_NUM+INFINIPATH_EXTC_GPIOOE_SHIFT)) | 382 | (1ULL << (_IPATH_GPIO_SCL_NUM+INFINIPATH_EXTC_GPIOOE_SHIFT)) |
383 | 383 | ||
384 | /* keep the code below somewhat more readonable; not used elsewhere */ | 384 | /* keep the code below somewhat more readable; not used elsewhere */ |
385 | #define _IPATH_HTLINK0_CRCBITS (infinipath_hwe_htclnkabyte0crcerr | \ | 385 | #define _IPATH_HTLINK0_CRCBITS (infinipath_hwe_htclnkabyte0crcerr | \ |
386 | infinipath_hwe_htclnkabyte1crcerr) | 386 | infinipath_hwe_htclnkabyte1crcerr) |
387 | #define _IPATH_HTLINK1_CRCBITS (infinipath_hwe_htclnkbbyte0crcerr | \ | 387 | #define _IPATH_HTLINK1_CRCBITS (infinipath_hwe_htclnkbbyte0crcerr | \ |
diff --git a/drivers/infiniband/hw/ipath/ipath_sd7220.c b/drivers/infiniband/hw/ipath/ipath_sd7220.c index aa47eb549520..2a68d9f624dd 100644 --- a/drivers/infiniband/hw/ipath/ipath_sd7220.c +++ b/drivers/infiniband/hw/ipath/ipath_sd7220.c | |||
@@ -614,7 +614,7 @@ static int epb_trans(struct ipath_devdata *dd, u16 reg, u64 i_val, u64 *o_vp) | |||
614 | * @wd: Write Data - value to set in register | 614 | * @wd: Write Data - value to set in register |
615 | * @mask: ones where data should be spliced into reg. | 615 | * @mask: ones where data should be spliced into reg. |
616 | * | 616 | * |
617 | * Basic register read/modify/write, with un-needed acesses elided. That is, | 617 | * Basic register read/modify/write, with un-needed accesses elided. That is, |
618 | * a mask of zero will prevent write, while a mask of 0xFF will prevent read. | 618 | * a mask of zero will prevent write, while a mask of 0xFF will prevent read. |
619 | * returns current (presumed, if a write was done) contents of selected | 619 | * returns current (presumed, if a write was done) contents of selected |
620 | * register, or <0 if errors. | 620 | * register, or <0 if errors. |
@@ -989,7 +989,7 @@ static struct rxeq_init { | |||
989 | /* Set DFELTHFDR/HDR thresholds */ | 989 | /* Set DFELTHFDR/HDR thresholds */ |
990 | RXEQ_VAL(7, 8, 0, 0, 0, 0), /* FDR */ | 990 | RXEQ_VAL(7, 8, 0, 0, 0, 0), /* FDR */ |
991 | RXEQ_VAL(7, 0x21, 0, 0, 0, 0), /* HDR */ | 991 | RXEQ_VAL(7, 0x21, 0, 0, 0, 0), /* HDR */ |
992 | /* Set TLTHFDR/HDR theshold */ | 992 | /* Set TLTHFDR/HDR threshold */ |
993 | RXEQ_VAL(7, 9, 2, 2, 2, 2), /* FDR */ | 993 | RXEQ_VAL(7, 9, 2, 2, 2, 2), /* FDR */ |
994 | RXEQ_VAL(7, 0x23, 2, 2, 2, 2), /* HDR */ | 994 | RXEQ_VAL(7, 0x23, 2, 2, 2, 2), /* HDR */ |
995 | /* Set Preamp setting 2 (ZFR/ZCNT) */ | 995 | /* Set Preamp setting 2 (ZFR/ZCNT) */ |
diff --git a/drivers/infiniband/hw/mlx4/qp.c b/drivers/infiniband/hw/mlx4/qp.c index 219b10397b4d..256a00c6aeea 100644 --- a/drivers/infiniband/hw/mlx4/qp.c +++ b/drivers/infiniband/hw/mlx4/qp.c | |||
@@ -352,7 +352,7 @@ static int set_kernel_sq_size(struct mlx4_ib_dev *dev, struct ib_qp_cap *cap, | |||
352 | * anymore, so we do this only if selective signaling is off. | 352 | * anymore, so we do this only if selective signaling is off. |
353 | * | 353 | * |
354 | * Further, on 32-bit platforms, we can't use vmap() to make | 354 | * Further, on 32-bit platforms, we can't use vmap() to make |
355 | * the QP buffer virtually contigious. Thus we have to use | 355 | * the QP buffer virtually contiguous. Thus we have to use |
356 | * constant-sized WRs to make sure a WR is always fully within | 356 | * constant-sized WRs to make sure a WR is always fully within |
357 | * a single page-sized chunk. | 357 | * a single page-sized chunk. |
358 | * | 358 | * |
diff --git a/drivers/input/serio/hp_sdc.c b/drivers/input/serio/hp_sdc.c index 1c9410d1822c..bcc2d30ec245 100644 --- a/drivers/input/serio/hp_sdc.c +++ b/drivers/input/serio/hp_sdc.c | |||
@@ -955,7 +955,7 @@ static int __init hp_sdc_init_hppa(struct parisc_device *d) | |||
955 | INIT_DELAYED_WORK(&moduleloader_work, request_module_delayed); | 955 | INIT_DELAYED_WORK(&moduleloader_work, request_module_delayed); |
956 | 956 | ||
957 | ret = hp_sdc_init(); | 957 | ret = hp_sdc_init(); |
958 | /* after sucessfull initialization give SDC some time to settle | 958 | /* after successfull initialization give SDC some time to settle |
959 | * and then load the hp_sdc_mlc upper layer driver */ | 959 | * and then load the hp_sdc_mlc upper layer driver */ |
960 | if (!ret) | 960 | if (!ret) |
961 | schedule_delayed_work(&moduleloader_work, | 961 | schedule_delayed_work(&moduleloader_work, |
diff --git a/drivers/input/serio/hp_sdc_mlc.c b/drivers/input/serio/hp_sdc_mlc.c index 820e51673b26..7d2b820ef58d 100644 --- a/drivers/input/serio/hp_sdc_mlc.c +++ b/drivers/input/serio/hp_sdc_mlc.c | |||
@@ -125,7 +125,7 @@ static void hp_sdc_mlc_isr (int irq, void *dev_id, | |||
125 | break; | 125 | break; |
126 | 126 | ||
127 | default: | 127 | default: |
128 | printk(KERN_WARNING PREFIX "Unkown HIL Error status (%x)!\n", data); | 128 | printk(KERN_WARNING PREFIX "Unknown HIL Error status (%x)!\n", data); |
129 | break; | 129 | break; |
130 | } | 130 | } |
131 | 131 | ||
diff --git a/drivers/input/touchscreen/atmel-wm97xx.c b/drivers/input/touchscreen/atmel-wm97xx.c index 35377f583e28..a12242f77e23 100644 --- a/drivers/input/touchscreen/atmel-wm97xx.c +++ b/drivers/input/touchscreen/atmel-wm97xx.c | |||
@@ -59,7 +59,7 @@ | |||
59 | #define ATMEL_WM97XX_AC97C_IRQ (29) | 59 | #define ATMEL_WM97XX_AC97C_IRQ (29) |
60 | #define ATMEL_WM97XX_GPIO_DEFAULT (32+16) /* Pin 16 on port B. */ | 60 | #define ATMEL_WM97XX_GPIO_DEFAULT (32+16) /* Pin 16 on port B. */ |
61 | #else | 61 | #else |
62 | #error Unkown CPU, this driver only supports AT32AP700X CPUs. | 62 | #error Unknown CPU, this driver only supports AT32AP700X CPUs. |
63 | #endif | 63 | #endif |
64 | 64 | ||
65 | struct continuous { | 65 | struct continuous { |
diff --git a/drivers/input/touchscreen/mainstone-wm97xx.c b/drivers/input/touchscreen/mainstone-wm97xx.c index 8fc3b08deb3b..6cdcf2a6e036 100644 --- a/drivers/input/touchscreen/mainstone-wm97xx.c +++ b/drivers/input/touchscreen/mainstone-wm97xx.c | |||
@@ -14,7 +14,7 @@ | |||
14 | * | 14 | * |
15 | * Notes: | 15 | * Notes: |
16 | * This is a wm97xx extended touch driver to capture touch | 16 | * This is a wm97xx extended touch driver to capture touch |
17 | * data in a continuous manner on the Intel XScale archictecture | 17 | * data in a continuous manner on the Intel XScale architecture |
18 | * | 18 | * |
19 | * Features: | 19 | * Features: |
20 | * - codecs supported:- WM9705, WM9712, WM9713 | 20 | * - codecs supported:- WM9705, WM9712, WM9713 |
@@ -131,7 +131,7 @@ static int wm97xx_acc_pen_down(struct wm97xx *wm) | |||
131 | /* When the AC97 queue has been drained we need to allow time | 131 | /* When the AC97 queue has been drained we need to allow time |
132 | * to buffer up samples otherwise we end up spinning polling | 132 | * to buffer up samples otherwise we end up spinning polling |
133 | * for samples. The controller can't have a suitably low | 133 | * for samples. The controller can't have a suitably low |
134 | * threashold set to use the notifications it gives. | 134 | * threshold set to use the notifications it gives. |
135 | */ | 135 | */ |
136 | schedule_timeout_uninterruptible(1); | 136 | schedule_timeout_uninterruptible(1); |
137 | 137 | ||
diff --git a/drivers/input/touchscreen/zylonite-wm97xx.c b/drivers/input/touchscreen/zylonite-wm97xx.c index 41e4359c277c..eca54dbdf493 100644 --- a/drivers/input/touchscreen/zylonite-wm97xx.c +++ b/drivers/input/touchscreen/zylonite-wm97xx.c | |||
@@ -96,7 +96,7 @@ static int wm97xx_acc_pen_down(struct wm97xx *wm) | |||
96 | /* When the AC97 queue has been drained we need to allow time | 96 | /* When the AC97 queue has been drained we need to allow time |
97 | * to buffer up samples otherwise we end up spinning polling | 97 | * to buffer up samples otherwise we end up spinning polling |
98 | * for samples. The controller can't have a suitably low | 98 | * for samples. The controller can't have a suitably low |
99 | * threashold set to use the notifications it gives. | 99 | * threshold set to use the notifications it gives. |
100 | */ | 100 | */ |
101 | msleep(1); | 101 | msleep(1); |
102 | 102 | ||
diff --git a/drivers/isdn/capi/capidrv.c b/drivers/isdn/capi/capidrv.c index 3e6d17f42a98..66b7d7a86474 100644 --- a/drivers/isdn/capi/capidrv.c +++ b/drivers/isdn/capi/capidrv.c | |||
@@ -830,7 +830,7 @@ static void handle_controller(_cmsg * cmsg) | |||
830 | case 0: break; | 830 | case 0: break; |
831 | case 1: s = "unknown class"; break; | 831 | case 1: s = "unknown class"; break; |
832 | case 2: s = "unknown function"; break; | 832 | case 2: s = "unknown function"; break; |
833 | default: s = "unkown error"; break; | 833 | default: s = "unknown error"; break; |
834 | } | 834 | } |
835 | if (s) | 835 | if (s) |
836 | printk(KERN_INFO "capidrv-%d: %s from controller 0x%x function %d: %s\n", | 836 | printk(KERN_INFO "capidrv-%d: %s from controller 0x%x function %d: %s\n", |
diff --git a/drivers/isdn/hardware/eicon/di.c b/drivers/isdn/hardware/eicon/di.c index b029d130eb21..cb14ae3e7154 100644 --- a/drivers/isdn/hardware/eicon/di.c +++ b/drivers/isdn/hardware/eicon/di.c | |||
@@ -806,7 +806,7 @@ static void xdi_xlog_request (byte Adapter, byte Id, | |||
806 | DELIVERY - indication entered isdn_rc function | 806 | DELIVERY - indication entered isdn_rc function |
807 | RNR=... - application had returned RNR=... after the | 807 | RNR=... - application had returned RNR=... after the |
808 | look ahead callback | 808 | look ahead callback |
809 | RNum=0 - aplication had not returned any buffer to copy | 809 | RNum=0 - application had not returned any buffer to copy |
810 | this indication and will copy it self | 810 | this indication and will copy it self |
811 | COMPLETE - XDI had copied the data to the buffers provided | 811 | COMPLETE - XDI had copied the data to the buffers provided |
812 | bu the application and is about to issue the | 812 | bu the application and is about to issue the |
diff --git a/drivers/isdn/hardware/eicon/maintidi.c b/drivers/isdn/hardware/eicon/maintidi.c index 23960cb6eaab..e7cfb3b5647f 100644 --- a/drivers/isdn/hardware/eicon/maintidi.c +++ b/drivers/isdn/hardware/eicon/maintidi.c | |||
@@ -385,7 +385,7 @@ static int SuperTraceMessageInput (void* hLib) { | |||
385 | } | 385 | } |
386 | break; | 386 | break; |
387 | default: | 387 | default: |
388 | diva_mnt_internal_dprintf (0, DLI_ERR, "Unknon IDI Ind (DMA mode): %02x", Ind); | 388 | diva_mnt_internal_dprintf (0, DLI_ERR, "Unknown IDI Ind (DMA mode): %02x", Ind); |
389 | } | 389 | } |
390 | p += (this_ind_length+1); | 390 | p += (this_ind_length+1); |
391 | total_length -= (4 + this_ind_length); | 391 | total_length -= (4 + this_ind_length); |
@@ -420,7 +420,7 @@ static int SuperTraceMessageInput (void* hLib) { | |||
420 | } | 420 | } |
421 | break; | 421 | break; |
422 | default: | 422 | default: |
423 | diva_mnt_internal_dprintf (0, DLI_ERR, "Unknon IDI Ind: %02x", Ind); | 423 | diva_mnt_internal_dprintf (0, DLI_ERR, "Unknown IDI Ind: %02x", Ind); |
424 | } | 424 | } |
425 | } | 425 | } |
426 | } | 426 | } |
diff --git a/drivers/isdn/hardware/mISDN/hfcsusb.c b/drivers/isdn/hardware/mISDN/hfcsusb.c index fc46a26cb14f..a64bb6c67ba7 100644 --- a/drivers/isdn/hardware/mISDN/hfcsusb.c +++ b/drivers/isdn/hardware/mISDN/hfcsusb.c | |||
@@ -721,7 +721,7 @@ hfcsusb_setup_bch(struct bchannel *bch, int protocol) | |||
721 | switch (protocol) { | 721 | switch (protocol) { |
722 | case (-1): /* used for init */ | 722 | case (-1): /* used for init */ |
723 | bch->state = -1; | 723 | bch->state = -1; |
724 | /* fall trough */ | 724 | /* fall through */ |
725 | case (ISDN_P_NONE): | 725 | case (ISDN_P_NONE): |
726 | if (bch->state == ISDN_P_NONE) | 726 | if (bch->state == ISDN_P_NONE) |
727 | return 0; /* already in idle state */ | 727 | return 0; /* already in idle state */ |
diff --git a/drivers/isdn/hardware/mISDN/hfcsusb.h b/drivers/isdn/hardware/mISDN/hfcsusb.h index 43efe7358fa3..369196adae03 100644 --- a/drivers/isdn/hardware/mISDN/hfcsusb.h +++ b/drivers/isdn/hardware/mISDN/hfcsusb.h | |||
@@ -150,7 +150,7 @@ symbolic(struct hfcusb_symbolic_list list[], const int num) | |||
150 | for (i = 0; list[i].name != NULL; i++) | 150 | for (i = 0; list[i].name != NULL; i++) |
151 | if (list[i].num == num) | 151 | if (list[i].num == num) |
152 | return list[i].name; | 152 | return list[i].name; |
153 | return "<unkown USB Error>"; | 153 | return "<unknown USB Error>"; |
154 | } | 154 | } |
155 | 155 | ||
156 | /* USB descriptor need to contain one of the following EndPoint combination: */ | 156 | /* USB descriptor need to contain one of the following EndPoint combination: */ |
diff --git a/drivers/isdn/hardware/mISDN/mISDNisar.c b/drivers/isdn/hardware/mISDN/mISDNisar.c index de352a17673a..09095c747110 100644 --- a/drivers/isdn/hardware/mISDN/mISDNisar.c +++ b/drivers/isdn/hardware/mISDN/mISDNisar.c | |||
@@ -860,7 +860,7 @@ isar_pump_statev_modem(struct isar_ch *ch, u8 devt) { | |||
860 | pr_debug("%s: pump stev GSTN CLEAR\n", ch->is->name); | 860 | pr_debug("%s: pump stev GSTN CLEAR\n", ch->is->name); |
861 | break; | 861 | break; |
862 | default: | 862 | default: |
863 | pr_info("u%s: nknown pump stev %x\n", ch->is->name, devt); | 863 | pr_info("u%s: unknown pump stev %x\n", ch->is->name, devt); |
864 | break; | 864 | break; |
865 | } | 865 | } |
866 | } | 866 | } |
diff --git a/drivers/isdn/hisax/hfc_usb.c b/drivers/isdn/hisax/hfc_usb.c index 9de54202c90c..ad5831f37d84 100644 --- a/drivers/isdn/hisax/hfc_usb.c +++ b/drivers/isdn/hisax/hfc_usb.c | |||
@@ -1086,7 +1086,7 @@ hfc_usb_l2l1(struct hisax_if *my_hisax_if, int pr, void *arg) | |||
1086 | break; | 1086 | break; |
1087 | default: | 1087 | default: |
1088 | DBG(HFCUSB_DBG_STATES, | 1088 | DBG(HFCUSB_DBG_STATES, |
1089 | "HFC_USB: hfc_usb_d_l2l1: unkown state : %#x", pr); | 1089 | "HFC_USB: hfc_usb_d_l2l1: unknown state : %#x", pr); |
1090 | break; | 1090 | break; |
1091 | } | 1091 | } |
1092 | } | 1092 | } |
diff --git a/drivers/isdn/i4l/isdn_ppp.c b/drivers/isdn/i4l/isdn_ppp.c index 2d14b64202a3..0f4ea7d16a15 100644 --- a/drivers/isdn/i4l/isdn_ppp.c +++ b/drivers/isdn/i4l/isdn_ppp.c | |||
@@ -836,7 +836,7 @@ isdn_ppp_write(int min, struct file *file, const char __user *buf, int count) | |||
836 | unsigned short hl; | 836 | unsigned short hl; |
837 | struct sk_buff *skb; | 837 | struct sk_buff *skb; |
838 | /* | 838 | /* |
839 | * we need to reserve enought space in front of | 839 | * we need to reserve enough space in front of |
840 | * sk_buff. old call to dev_alloc_skb only reserved | 840 | * sk_buff. old call to dev_alloc_skb only reserved |
841 | * 16 bytes, now we are looking what the driver want | 841 | * 16 bytes, now we are looking what the driver want |
842 | */ | 842 | */ |
@@ -1326,7 +1326,7 @@ isdn_ppp_xmit(struct sk_buff *skb, struct net_device *netdev) | |||
1326 | struct sk_buff *new_skb; | 1326 | struct sk_buff *new_skb; |
1327 | unsigned short hl; | 1327 | unsigned short hl; |
1328 | /* | 1328 | /* |
1329 | * we need to reserve enought space in front of | 1329 | * we need to reserve enough space in front of |
1330 | * sk_buff. old call to dev_alloc_skb only reserved | 1330 | * sk_buff. old call to dev_alloc_skb only reserved |
1331 | * 16 bytes, now we are looking what the driver want. | 1331 | * 16 bytes, now we are looking what the driver want. |
1332 | */ | 1332 | */ |
@@ -1685,7 +1685,7 @@ static void isdn_ppp_mp_receive(isdn_net_dev * net_dev, isdn_net_local * lp, | |||
1685 | * | 1685 | * |
1686 | * try to accomplish several tasks: | 1686 | * try to accomplish several tasks: |
1687 | * - reassemble any complete fragment sequence (non-null 'start' | 1687 | * - reassemble any complete fragment sequence (non-null 'start' |
1688 | * indicates there is a continguous sequence present) | 1688 | * indicates there is a contiguous sequence present) |
1689 | * - discard any incomplete sequences that are below minseq -- due | 1689 | * - discard any incomplete sequences that are below minseq -- due |
1690 | * to the fact that sender always increment sequence number, if there | 1690 | * to the fact that sender always increment sequence number, if there |
1691 | * is an incomplete sequence below minseq, no new fragments would | 1691 | * is an incomplete sequence below minseq, no new fragments would |
diff --git a/drivers/isdn/i4l/isdn_ttyfax.c b/drivers/isdn/i4l/isdn_ttyfax.c index 78f7660c1d0e..4c41f191d4e2 100644 --- a/drivers/isdn/i4l/isdn_ttyfax.c +++ b/drivers/isdn/i4l/isdn_ttyfax.c | |||
@@ -470,7 +470,7 @@ isdn_tty_cmd_FCLASS2(char **p, modem_info * info) | |||
470 | } | 470 | } |
471 | return 0; | 471 | return 0; |
472 | } | 472 | } |
473 | /* BADMUL=value - dummy 0=disable errorchk disabled (treshold multiplier) */ | 473 | /* BADMUL=value - dummy 0=disable errorchk disabled (threshold multiplier) */ |
474 | if (!strncmp(p[0], "BADMUL", 6)) { | 474 | if (!strncmp(p[0], "BADMUL", 6)) { |
475 | p[0] += 6; | 475 | p[0] += 6; |
476 | switch (*p[0]) { | 476 | switch (*p[0]) { |
diff --git a/drivers/isdn/mISDN/dsp_core.c b/drivers/isdn/mISDN/dsp_core.c index 77ee2867c8b4..43ff4d3b046e 100644 --- a/drivers/isdn/mISDN/dsp_core.c +++ b/drivers/isdn/mISDN/dsp_core.c | |||
@@ -110,7 +110,7 @@ | |||
110 | * crossconnections and conferences via software if not possible through | 110 | * crossconnections and conferences via software if not possible through |
111 | * hardware. If hardware capability is available, hardware is used. | 111 | * hardware. If hardware capability is available, hardware is used. |
112 | * | 112 | * |
113 | * Echo: Is generated by CMX and is used to check performane of hard and | 113 | * Echo: Is generated by CMX and is used to check performance of hard and |
114 | * software CMX. | 114 | * software CMX. |
115 | * | 115 | * |
116 | * The CMX has special functions for conferences with one, two and more | 116 | * The CMX has special functions for conferences with one, two and more |
diff --git a/drivers/isdn/mISDN/tei.c b/drivers/isdn/mISDN/tei.c index e04bad6c5baf..6d4da6095885 100644 --- a/drivers/isdn/mISDN/tei.c +++ b/drivers/isdn/mISDN/tei.c | |||
@@ -725,7 +725,7 @@ tei_id_ver_tout_net(struct FsmInst *fi, int event, void *arg) | |||
725 | if (tm->rcnt == 1) { | 725 | if (tm->rcnt == 1) { |
726 | if (*debug & DEBUG_L2_TEI) | 726 | if (*debug & DEBUG_L2_TEI) |
727 | tm->tei_m.printdebug(fi, | 727 | tm->tei_m.printdebug(fi, |
728 | "check req for tei %d sucessful\n", tm->l2->tei); | 728 | "check req for tei %d successful\n", tm->l2->tei); |
729 | mISDN_FsmChangeState(fi, ST_TEI_NOP); | 729 | mISDN_FsmChangeState(fi, ST_TEI_NOP); |
730 | } else if (tm->rcnt > 1) { | 730 | } else if (tm->rcnt > 1) { |
731 | /* duplicate assignment; remove */ | 731 | /* duplicate assignment; remove */ |
diff --git a/drivers/macintosh/therm_windtunnel.c b/drivers/macintosh/therm_windtunnel.c index 8b9364434aa0..3fbe41b0ac07 100644 --- a/drivers/macintosh/therm_windtunnel.c +++ b/drivers/macintosh/therm_windtunnel.c | |||
@@ -15,7 +15,7 @@ | |||
15 | * | 15 | * |
16 | * WARNING: This driver has only been testen on Apple's | 16 | * WARNING: This driver has only been testen on Apple's |
17 | * 1.25 MHz Dual G4 (March 03). It is tuned for a CPU | 17 | * 1.25 MHz Dual G4 (March 03). It is tuned for a CPU |
18 | * temperatur around 57 C. | 18 | * temperature around 57 C. |
19 | * | 19 | * |
20 | * Copyright (C) 2003, 2004 Samuel Rydh (samuel@ibrium.se) | 20 | * Copyright (C) 2003, 2004 Samuel Rydh (samuel@ibrium.se) |
21 | * | 21 | * |
diff --git a/drivers/media/common/saa7146_i2c.c b/drivers/media/common/saa7146_i2c.c index 7e8f56815998..48cb154c7a46 100644 --- a/drivers/media/common/saa7146_i2c.c +++ b/drivers/media/common/saa7146_i2c.c | |||
@@ -98,7 +98,7 @@ static int saa7146_i2c_msg_cleanup(const struct i2c_msg *m, int num, __le32 *op) | |||
98 | 98 | ||
99 | op_count++; | 99 | op_count++; |
100 | 100 | ||
101 | /* loop throgh all bytes of message i */ | 101 | /* loop through all bytes of message i */ |
102 | for(j = 0; j < m[i].len; j++) { | 102 | for(j = 0; j < m[i].len; j++) { |
103 | /* write back all bytes that could have been read */ | 103 | /* write back all bytes that could have been read */ |
104 | m[i].buf[j] = (le32_to_cpu(op[op_count/3]) >> ((3-(op_count%3))*8)); | 104 | m[i].buf[j] = (le32_to_cpu(op[op_count/3]) >> ((3-(op_count%3))*8)); |
diff --git a/drivers/media/dvb/dvb-core/dvb_frontend.h b/drivers/media/dvb/dvb-core/dvb_frontend.h index 810f07d63246..52e4ce4304ee 100644 --- a/drivers/media/dvb/dvb-core/dvb_frontend.h +++ b/drivers/media/dvb/dvb-core/dvb_frontend.h | |||
@@ -160,7 +160,7 @@ struct tuner_state { | |||
160 | * search callback possible return status | 160 | * search callback possible return status |
161 | * | 161 | * |
162 | * DVBFE_ALGO_SEARCH_SUCCESS | 162 | * DVBFE_ALGO_SEARCH_SUCCESS |
163 | * The frontend search algorithm completed and returned succesfully | 163 | * The frontend search algorithm completed and returned successfully |
164 | * | 164 | * |
165 | * DVBFE_ALGO_SEARCH_ASLEEP | 165 | * DVBFE_ALGO_SEARCH_ASLEEP |
166 | * The frontend search algorithm is sleeping | 166 | * The frontend search algorithm is sleeping |
diff --git a/drivers/media/dvb/dvb-usb/anysee.c b/drivers/media/dvb/dvb-usb/anysee.c index 2ae7f648effe..bb69f3719f9a 100644 --- a/drivers/media/dvb/dvb-usb/anysee.c +++ b/drivers/media/dvb/dvb-usb/anysee.c | |||
@@ -344,7 +344,7 @@ static int anysee_frontend_attach(struct dvb_usb_adapter *adap) | |||
344 | if (ret) | 344 | if (ret) |
345 | return ret; | 345 | return ret; |
346 | 346 | ||
347 | err("Unkown Anysee version: %02x %02x %02x. "\ | 347 | err("Unknown Anysee version: %02x %02x %02x. "\ |
348 | "Please report the <linux-dvb@linuxtv.org>.", | 348 | "Please report the <linux-dvb@linuxtv.org>.", |
349 | hw_info[0], hw_info[1], hw_info[2]); | 349 | hw_info[0], hw_info[1], hw_info[2]); |
350 | 350 | ||
diff --git a/drivers/media/dvb/dvb-usb/dibusb-mb.c b/drivers/media/dvb/dvb-usb/dibusb-mb.c index eeef50bff4f9..5c0126dc1ff9 100644 --- a/drivers/media/dvb/dvb-usb/dibusb-mb.c +++ b/drivers/media/dvb/dvb-usb/dibusb-mb.c | |||
@@ -242,7 +242,7 @@ static struct dvb_usb_device_properties dibusb1_1_properties = { | |||
242 | { &dibusb_dib3000mb_table[9], &dibusb_dib3000mb_table[11], NULL }, | 242 | { &dibusb_dib3000mb_table[9], &dibusb_dib3000mb_table[11], NULL }, |
243 | { &dibusb_dib3000mb_table[10], &dibusb_dib3000mb_table[12], NULL }, | 243 | { &dibusb_dib3000mb_table[10], &dibusb_dib3000mb_table[12], NULL }, |
244 | }, | 244 | }, |
245 | { "Unkown USB1.1 DVB-T device ???? please report the name to the author", | 245 | { "Unknown USB1.1 DVB-T device ???? please report the name to the author", |
246 | { &dibusb_dib3000mb_table[13], NULL }, | 246 | { &dibusb_dib3000mb_table[13], NULL }, |
247 | { &dibusb_dib3000mb_table[14], NULL }, | 247 | { &dibusb_dib3000mb_table[14], NULL }, |
248 | }, | 248 | }, |
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-remote.c b/drivers/media/dvb/dvb-usb/dvb-usb-remote.c index edde87c6aa3a..6b5ded9e7d5d 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-remote.c +++ b/drivers/media/dvb/dvb-usb/dvb-usb-remote.c | |||
@@ -259,7 +259,7 @@ int dvb_usb_nec_rc_key_to_event(struct dvb_usb_device *d, | |||
259 | *state = REMOTE_KEY_REPEAT; | 259 | *state = REMOTE_KEY_REPEAT; |
260 | break; | 260 | break; |
261 | default: | 261 | default: |
262 | deb_err("unkown type of remote status: %d\n",keybuf[0]); | 262 | deb_err("unknown type of remote status: %d\n",keybuf[0]); |
263 | break; | 263 | break; |
264 | } | 264 | } |
265 | return 0; | 265 | return 0; |
diff --git a/drivers/media/dvb/dvb-usb/usb-urb.c b/drivers/media/dvb/dvb-usb/usb-urb.c index 9da2cc95ca13..f9702e3756b6 100644 --- a/drivers/media/dvb/dvb-usb/usb-urb.c +++ b/drivers/media/dvb/dvb-usb/usb-urb.c | |||
@@ -56,7 +56,7 @@ static void usb_urb_complete(struct urb *urb) | |||
56 | stream->complete(stream, b, urb->actual_length); | 56 | stream->complete(stream, b, urb->actual_length); |
57 | break; | 57 | break; |
58 | default: | 58 | default: |
59 | err("unkown endpoint type in completition handler."); | 59 | err("unknown endpoint type in completition handler."); |
60 | return; | 60 | return; |
61 | } | 61 | } |
62 | usb_submit_urb(urb,GFP_ATOMIC); | 62 | usb_submit_urb(urb,GFP_ATOMIC); |
@@ -228,7 +228,7 @@ int usb_urb_init(struct usb_data_stream *stream, struct usb_data_stream_properti | |||
228 | case USB_ISOC: | 228 | case USB_ISOC: |
229 | return usb_isoc_urb_init(stream); | 229 | return usb_isoc_urb_init(stream); |
230 | default: | 230 | default: |
231 | err("unkown URB-type for data transfer."); | 231 | err("unknown URB-type for data transfer."); |
232 | return -EINVAL; | 232 | return -EINVAL; |
233 | } | 233 | } |
234 | } | 234 | } |
diff --git a/drivers/media/dvb/frontends/au8522_decoder.c b/drivers/media/dvb/frontends/au8522_decoder.c index 74981ee923c8..7c6431fe33e0 100644 --- a/drivers/media/dvb/frontends/au8522_decoder.c +++ b/drivers/media/dvb/frontends/au8522_decoder.c | |||
@@ -315,7 +315,7 @@ static void setup_decoder_defaults(struct au8522_state *state, u8 input_mode) | |||
315 | if (input_mode == AU8522_INPUT_CONTROL_REG081H_SVIDEO_CH13 || | 315 | if (input_mode == AU8522_INPUT_CONTROL_REG081H_SVIDEO_CH13 || |
316 | input_mode == AU8522_INPUT_CONTROL_REG081H_SVIDEO_CH24) { | 316 | input_mode == AU8522_INPUT_CONTROL_REG081H_SVIDEO_CH24) { |
317 | /* Despite what the table says, for the HVR-950q we still need | 317 | /* Despite what the table says, for the HVR-950q we still need |
318 | to be in CVBS mode for the S-Video input (reason uknown). */ | 318 | to be in CVBS mode for the S-Video input (reason unknown). */ |
319 | /* filter_coef_type = 3; */ | 319 | /* filter_coef_type = 3; */ |
320 | filter_coef_type = 5; | 320 | filter_coef_type = 5; |
321 | } else { | 321 | } else { |
diff --git a/drivers/media/dvb/frontends/cx24110.c b/drivers/media/dvb/frontends/cx24110.c index ffbcfabd83f0..00a4e8f03304 100644 --- a/drivers/media/dvb/frontends/cx24110.c +++ b/drivers/media/dvb/frontends/cx24110.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* | 1 | /* |
2 | cx24110 - Single Chip Satellite Channel Receiver driver module | 2 | cx24110 - Single Chip Satellite Channel Receiver driver module |
3 | 3 | ||
4 | Copyright (C) 2002 Peter Hettkamp <peter.hettkamp@htp-tel.de> based on | 4 | Copyright (C) 2002 Peter Hettkamp <peter.hettkamp@htp-tel.de> based on |
@@ -96,7 +96,7 @@ static struct {u8 reg; u8 data;} cx24110_regdata[]= | |||
96 | {0x42,0x00}, /* @ middle bytes " */ | 96 | {0x42,0x00}, /* @ middle bytes " */ |
97 | {0x43,0x00}, /* @ LSB " */ | 97 | {0x43,0x00}, /* @ LSB " */ |
98 | /* leave the carrier tracking loop parameters on default */ | 98 | /* leave the carrier tracking loop parameters on default */ |
99 | /* leave the bit timing loop parameters at gefault */ | 99 | /* leave the bit timing loop parameters at default */ |
100 | {0x56,0x4d}, /* set the filtune voltage to 2.7V, as recommended by */ | 100 | {0x56,0x4d}, /* set the filtune voltage to 2.7V, as recommended by */ |
101 | /* the cx24108 data sheet for symbol rates above 15MS/s */ | 101 | /* the cx24108 data sheet for symbol rates above 15MS/s */ |
102 | {0x57,0x00}, /* @ Filter sigma delta enabled, positive */ | 102 | {0x57,0x00}, /* @ Filter sigma delta enabled, positive */ |
diff --git a/drivers/media/dvb/frontends/cx24113.c b/drivers/media/dvb/frontends/cx24113.c index 075b2b57cf09..e9ee55592fd3 100644 --- a/drivers/media/dvb/frontends/cx24113.c +++ b/drivers/media/dvb/frontends/cx24113.c | |||
@@ -589,7 +589,7 @@ struct dvb_frontend *cx24113_attach(struct dvb_frontend *fe, | |||
589 | info("detected CX24113 variant\n"); | 589 | info("detected CX24113 variant\n"); |
590 | break; | 590 | break; |
591 | case REV_CX24113: | 591 | case REV_CX24113: |
592 | info("sucessfully detected\n"); | 592 | info("successfully detected\n"); |
593 | break; | 593 | break; |
594 | default: | 594 | default: |
595 | err("unsupported device id: %x\n", state->rev); | 595 | err("unsupported device id: %x\n", state->rev); |
diff --git a/drivers/media/dvb/frontends/dib3000mb.c b/drivers/media/dvb/frontends/dib3000mb.c index 136b9d2164d7..ad4c8cfd8090 100644 --- a/drivers/media/dvb/frontends/dib3000mb.c +++ b/drivers/media/dvb/frontends/dib3000mb.c | |||
@@ -154,7 +154,7 @@ static int dib3000mb_set_frontend(struct dvb_frontend* fe, | |||
154 | case BANDWIDTH_AUTO: | 154 | case BANDWIDTH_AUTO: |
155 | return -EOPNOTSUPP; | 155 | return -EOPNOTSUPP; |
156 | default: | 156 | default: |
157 | err("unkown bandwidth value."); | 157 | err("unknown bandwidth value."); |
158 | return -EINVAL; | 158 | return -EINVAL; |
159 | } | 159 | } |
160 | } | 160 | } |
diff --git a/drivers/media/dvb/frontends/lgdt330x.c b/drivers/media/dvb/frontends/lgdt330x.c index 056387b41a8f..43971e63baa7 100644 --- a/drivers/media/dvb/frontends/lgdt330x.c +++ b/drivers/media/dvb/frontends/lgdt330x.c | |||
@@ -479,7 +479,7 @@ static int lgdt3302_read_status(struct dvb_frontend* fe, fe_status_t* status) | |||
479 | switch (state->current_modulation) { | 479 | switch (state->current_modulation) { |
480 | case QAM_256: | 480 | case QAM_256: |
481 | case QAM_64: | 481 | case QAM_64: |
482 | /* Need to undestand why there are 3 lock levels here */ | 482 | /* Need to understand why there are 3 lock levels here */ |
483 | if ((buf[0] & 0x07) == 0x07) | 483 | if ((buf[0] & 0x07) == 0x07) |
484 | *status |= FE_HAS_CARRIER; | 484 | *status |= FE_HAS_CARRIER; |
485 | break; | 485 | break; |
@@ -520,7 +520,7 @@ static int lgdt3303_read_status(struct dvb_frontend* fe, fe_status_t* status) | |||
520 | switch (state->current_modulation) { | 520 | switch (state->current_modulation) { |
521 | case QAM_256: | 521 | case QAM_256: |
522 | case QAM_64: | 522 | case QAM_64: |
523 | /* Need to undestand why there are 3 lock levels here */ | 523 | /* Need to understand why there are 3 lock levels here */ |
524 | if ((buf[0] & 0x07) == 0x07) | 524 | if ((buf[0] & 0x07) == 0x07) |
525 | *status |= FE_HAS_CARRIER; | 525 | *status |= FE_HAS_CARRIER; |
526 | else | 526 | else |
diff --git a/drivers/media/dvb/frontends/stb0899_drv.c b/drivers/media/dvb/frontends/stb0899_drv.c index a04c782fff8d..1570669837ea 100644 --- a/drivers/media/dvb/frontends/stb0899_drv.c +++ b/drivers/media/dvb/frontends/stb0899_drv.c | |||
@@ -1571,7 +1571,7 @@ static enum dvbfe_search stb0899_search(struct dvb_frontend *fe, struct dvb_fron | |||
1571 | * stb0899_track | 1571 | * stb0899_track |
1572 | * periodically check the signal level against a specified | 1572 | * periodically check the signal level against a specified |
1573 | * threshold level and perform derotator centering. | 1573 | * threshold level and perform derotator centering. |
1574 | * called once we have a lock from a succesful search | 1574 | * called once we have a lock from a successful search |
1575 | * event. | 1575 | * event. |
1576 | * | 1576 | * |
1577 | * Will be called periodically called to maintain the | 1577 | * Will be called periodically called to maintain the |
diff --git a/drivers/media/dvb/ttpci/av7110.c b/drivers/media/dvb/ttpci/av7110.c index 8d65c652ba50..baf3159a3aa6 100644 --- a/drivers/media/dvb/ttpci/av7110.c +++ b/drivers/media/dvb/ttpci/av7110.c | |||
@@ -2425,7 +2425,7 @@ static int __devinit av7110_attach(struct saa7146_dev* dev, | |||
2425 | * use 0x15 to track VPE interrupts - increase by 1 every vpeirq() is called | 2425 | * use 0x15 to track VPE interrupts - increase by 1 every vpeirq() is called |
2426 | */ | 2426 | */ |
2427 | saa7146_write(dev, EC1SSR, (0x03<<2) | 3 ); | 2427 | saa7146_write(dev, EC1SSR, (0x03<<2) | 3 ); |
2428 | /* set event counter 1 treshold to maximum allowed value (rEC p55) */ | 2428 | /* set event counter 1 threshold to maximum allowed value (rEC p55) */ |
2429 | saa7146_write(dev, ECT1R, 0x3fff ); | 2429 | saa7146_write(dev, ECT1R, 0x3fff ); |
2430 | #endif | 2430 | #endif |
2431 | /* Set RPS1 Address register to point to RPS code (r108 p42) */ | 2431 | /* Set RPS1 Address register to point to RPS code (r108 p42) */ |
@@ -2559,7 +2559,7 @@ static int __devinit av7110_attach(struct saa7146_dev* dev, | |||
2559 | * use 0x15 to track VPE interrupts - increase by 1 every vpeirq() is called | 2559 | * use 0x15 to track VPE interrupts - increase by 1 every vpeirq() is called |
2560 | */ | 2560 | */ |
2561 | saa7146_write(dev, EC1SSR, (0x03<<2) | 3 ); | 2561 | saa7146_write(dev, EC1SSR, (0x03<<2) | 3 ); |
2562 | /* set event counter 1 treshold to maximum allowed value (rEC p55) */ | 2562 | /* set event counter 1 threshold to maximum allowed value (rEC p55) */ |
2563 | saa7146_write(dev, ECT1R, 0x3fff ); | 2563 | saa7146_write(dev, ECT1R, 0x3fff ); |
2564 | #endif | 2564 | #endif |
2565 | /* Setup BUDGETPATCH MAIN RPS1 "program" (p35) */ | 2565 | /* Setup BUDGETPATCH MAIN RPS1 "program" (p35) */ |
diff --git a/drivers/media/dvb/ttpci/budget-patch.c b/drivers/media/dvb/ttpci/budget-patch.c index 60136688a9a4..9c92f9ddd223 100644 --- a/drivers/media/dvb/ttpci/budget-patch.c +++ b/drivers/media/dvb/ttpci/budget-patch.c | |||
@@ -456,7 +456,7 @@ static int budget_patch_attach (struct saa7146_dev* dev, struct saa7146_pci_exte | |||
456 | // use 0x03 to track RPS1 interrupts - increase by 1 every gpio3 is toggled | 456 | // use 0x03 to track RPS1 interrupts - increase by 1 every gpio3 is toggled |
457 | // use 0x15 to track VPE interrupts - increase by 1 every vpeirq() is called | 457 | // use 0x15 to track VPE interrupts - increase by 1 every vpeirq() is called |
458 | saa7146_write(dev, EC1SSR, (0x03<<2) | 3 ); | 458 | saa7146_write(dev, EC1SSR, (0x03<<2) | 3 ); |
459 | // set event counter 1 treshold to maximum allowed value (rEC p55) | 459 | // set event counter 1 threshold to maximum allowed value (rEC p55) |
460 | saa7146_write(dev, ECT1R, 0x3fff ); | 460 | saa7146_write(dev, ECT1R, 0x3fff ); |
461 | #endif | 461 | #endif |
462 | // Fix VSYNC level | 462 | // Fix VSYNC level |
diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c index a1239083472d..5f79acb56e48 100644 --- a/drivers/media/radio/radio-mr800.c +++ b/drivers/media/radio/radio-mr800.c | |||
@@ -28,7 +28,7 @@ | |||
28 | * http://av-usbradio.sourceforge.net/index.php | 28 | * http://av-usbradio.sourceforge.net/index.php |
29 | * http://sourceforge.net/projects/av-usbradio/ | 29 | * http://sourceforge.net/projects/av-usbradio/ |
30 | * Latest release of theirs project was in 2005. | 30 | * Latest release of theirs project was in 2005. |
31 | * Probably, this driver could be improved trough using their | 31 | * Probably, this driver could be improved through using their |
32 | * achievements (specifications given). | 32 | * achievements (specifications given). |
33 | * Also, Faidon Liambotis <paravoid@debian.org> wrote nice driver for this radio | 33 | * Also, Faidon Liambotis <paravoid@debian.org> wrote nice driver for this radio |
34 | * in 2007. He allowed to use his driver to improve current mr800 radio driver. | 34 | * in 2007. He allowed to use his driver to improve current mr800 radio driver. |
diff --git a/drivers/media/video/cx231xx/cx231xx-avcore.c b/drivers/media/video/cx231xx/cx231xx-avcore.c index 28f48f41f218..c2174413ab29 100644 --- a/drivers/media/video/cx231xx/cx231xx-avcore.c +++ b/drivers/media/video/cx231xx/cx231xx-avcore.c | |||
@@ -2414,9 +2414,11 @@ int cx231xx_gpio_i2c_read_ack(struct cx231xx *dev) | |||
2414 | cx231xx_info("No ACK after %d msec -GPIO I2C failed!", | 2414 | cx231xx_info("No ACK after %d msec -GPIO I2C failed!", |
2415 | nInit * 10); | 2415 | nInit * 10); |
2416 | 2416 | ||
2417 | /* readAck | 2417 | /* |
2418 | throuth clock stretch ,slave has given a SCL signal, | 2418 | * readAck |
2419 | so the SDA data can be directly read. */ | 2419 | * through clock stretch, slave has given a SCL signal, |
2420 | * so the SDA data can be directly read. | ||
2421 | */ | ||
2420 | status = cx231xx_get_gpio_bit(dev, dev->gpio_dir, (u8 *)&dev->gpio_val); | 2422 | status = cx231xx_get_gpio_bit(dev, dev->gpio_dir, (u8 *)&dev->gpio_val); |
2421 | 2423 | ||
2422 | if ((dev->gpio_val & 1 << dev->board.tuner_sda_gpio) == 0) { | 2424 | if ((dev->gpio_val & 1 << dev->board.tuner_sda_gpio) == 0) { |
diff --git a/drivers/media/video/cx23885/cx23885-dvb.c b/drivers/media/video/cx23885/cx23885-dvb.c index 45e13ee66dc7..16c6a921f40b 100644 --- a/drivers/media/video/cx23885/cx23885-dvb.c +++ b/drivers/media/video/cx23885/cx23885-dvb.c | |||
@@ -940,7 +940,7 @@ int cx23885_dvb_register(struct cx23885_tsport *port) | |||
940 | int err, i; | 940 | int err, i; |
941 | 941 | ||
942 | /* Here we need to allocate the correct number of frontends, | 942 | /* Here we need to allocate the correct number of frontends, |
943 | * as reflected in the cards struct. The reality is that currrently | 943 | * as reflected in the cards struct. The reality is that currently |
944 | * no cx23885 boards support this - yet. But, if we don't modify this | 944 | * no cx23885 boards support this - yet. But, if we don't modify this |
945 | * code then the second frontend would never be allocated (later) | 945 | * code then the second frontend would never be allocated (later) |
946 | * and fail with error before the attach in dvb_register(). | 946 | * and fail with error before the attach in dvb_register(). |
diff --git a/drivers/media/video/cx88/cx88-core.c b/drivers/media/video/cx88/cx88-core.c index cf634606ba9a..b35411160f04 100644 --- a/drivers/media/video/cx88/cx88-core.c +++ b/drivers/media/video/cx88/cx88-core.c | |||
@@ -624,7 +624,7 @@ int cx88_reset(struct cx88_core *core) | |||
624 | /* setup image format */ | 624 | /* setup image format */ |
625 | cx_andor(MO_COLOR_CTRL, 0x4000, 0x4000); | 625 | cx_andor(MO_COLOR_CTRL, 0x4000, 0x4000); |
626 | 626 | ||
627 | /* setup FIFO Threshholds */ | 627 | /* setup FIFO Thresholds */ |
628 | cx_write(MO_PDMA_STHRSH, 0x0807); | 628 | cx_write(MO_PDMA_STHRSH, 0x0807); |
629 | cx_write(MO_PDMA_DTHRSH, 0x0807); | 629 | cx_write(MO_PDMA_DTHRSH, 0x0807); |
630 | 630 | ||
diff --git a/drivers/media/video/davinci/dm355_ccdc.c b/drivers/media/video/davinci/dm355_ccdc.c index 56fbefe036ae..314390016370 100644 --- a/drivers/media/video/davinci/dm355_ccdc.c +++ b/drivers/media/video/davinci/dm355_ccdc.c | |||
@@ -285,7 +285,7 @@ static int validate_ccdc_param(struct ccdc_config_params_raw *ccdcparam) | |||
285 | 285 | ||
286 | if ((ccdcparam->med_filt_thres < 0) || | 286 | if ((ccdcparam->med_filt_thres < 0) || |
287 | (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) { | 287 | (ccdcparam->med_filt_thres > CCDC_MED_FILT_THRESH)) { |
288 | dev_dbg(dev, "Invalid value of median filter thresold\n"); | 288 | dev_dbg(dev, "Invalid value of median filter threshold\n"); |
289 | return -EINVAL; | 289 | return -EINVAL; |
290 | } | 290 | } |
291 | 291 | ||
diff --git a/drivers/media/video/davinci/vpss.c b/drivers/media/video/davinci/vpss.c index 6d709ca8cfb0..453236bd7559 100644 --- a/drivers/media/video/davinci/vpss.c +++ b/drivers/media/video/davinci/vpss.c | |||
@@ -53,7 +53,7 @@ struct vpss_hw_ops { | |||
53 | int (*enable_clock)(enum vpss_clock_sel clock_sel, int en); | 53 | int (*enable_clock)(enum vpss_clock_sel clock_sel, int en); |
54 | /* select input to ccdc */ | 54 | /* select input to ccdc */ |
55 | void (*select_ccdc_source)(enum vpss_ccdc_source_sel src_sel); | 55 | void (*select_ccdc_source)(enum vpss_ccdc_source_sel src_sel); |
56 | /* clear wbl overlflow bit */ | 56 | /* clear wbl overflow bit */ |
57 | int (*clear_wbl_overflow)(enum vpss_wbl_sel wbl_sel); | 57 | int (*clear_wbl_overflow)(enum vpss_wbl_sel wbl_sel); |
58 | }; | 58 | }; |
59 | 59 | ||
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c index cf3af8de6e97..e39efb45fa1c 100644 --- a/drivers/media/video/gspca/sonixb.c +++ b/drivers/media/video/gspca/sonixb.c | |||
@@ -304,7 +304,7 @@ static const __u8 initOv6650[] = { | |||
304 | }; | 304 | }; |
305 | static const __u8 ov6650_sensor_init[][8] = | 305 | static const __u8 ov6650_sensor_init[][8] = |
306 | { | 306 | { |
307 | /* Bright, contrast, etc are set througth SCBB interface. | 307 | /* Bright, contrast, etc are set through SCBB interface. |
308 | * AVCAP on win2 do not send any data on this controls. */ | 308 | * AVCAP on win2 do not send any data on this controls. */ |
309 | /* Anyway, some registers appears to alter bright and constrat */ | 309 | /* Anyway, some registers appears to alter bright and constrat */ |
310 | 310 | ||
diff --git a/drivers/media/video/gspca/spca500.c b/drivers/media/video/gspca/spca500.c index fab7ef85a6c1..7dbd5eea6cc0 100644 --- a/drivers/media/video/gspca/spca500.c +++ b/drivers/media/video/gspca/spca500.c | |||
@@ -589,7 +589,7 @@ static void spca500_reinit(struct gspca_dev *gspca_dev) | |||
589 | int err; | 589 | int err; |
590 | __u8 Data; | 590 | __u8 Data; |
591 | 591 | ||
592 | /* some unknow command from Aiptek pocket dv and family300 */ | 592 | /* some unknown command from Aiptek pocket dv and family300 */ |
593 | 593 | ||
594 | reg_w(gspca_dev, 0x00, 0x0d01, 0x01); | 594 | reg_w(gspca_dev, 0x00, 0x0d01, 0x01); |
595 | reg_w(gspca_dev, 0x00, 0x0d03, 0x00); | 595 | reg_w(gspca_dev, 0x00, 0x0d03, 0x00); |
diff --git a/drivers/media/video/gspca/spca501.c b/drivers/media/video/gspca/spca501.c index b74a34218da0..66f9f0056146 100644 --- a/drivers/media/video/gspca/spca501.c +++ b/drivers/media/video/gspca/spca501.c | |||
@@ -1636,7 +1636,7 @@ static const __u16 spca501c_arowana_init_data[][3] = { | |||
1636 | {} | 1636 | {} |
1637 | }; | 1637 | }; |
1638 | 1638 | ||
1639 | /* Unknow camera from Ori Usbid 0x0000:0x0000 */ | 1639 | /* Unknown camera from Ori Usbid 0x0000:0x0000 */ |
1640 | /* Based on snoops from Ori Cohen */ | 1640 | /* Based on snoops from Ori Cohen */ |
1641 | static const __u16 spca501c_mysterious_open_data[][3] = { | 1641 | static const __u16 spca501c_mysterious_open_data[][3] = { |
1642 | {0x02, 0x000f, 0x0005}, | 1642 | {0x02, 0x000f, 0x0005}, |
@@ -1945,7 +1945,7 @@ static int sd_init(struct gspca_dev *gspca_dev) | |||
1945 | goto error; | 1945 | goto error; |
1946 | break; | 1946 | break; |
1947 | case MystFromOriUnknownCamera: | 1947 | case MystFromOriUnknownCamera: |
1948 | /* UnKnow Ori CMOS Camera data */ | 1948 | /* Unknown Ori CMOS Camera data */ |
1949 | if (write_vector(gspca_dev, spca501c_mysterious_open_data)) | 1949 | if (write_vector(gspca_dev, spca501c_mysterious_open_data)) |
1950 | goto error; | 1950 | goto error; |
1951 | break; | 1951 | break; |
@@ -1978,7 +1978,7 @@ static int sd_start(struct gspca_dev *gspca_dev) | |||
1978 | write_vector(gspca_dev, spca501c_arowana_open_data); | 1978 | write_vector(gspca_dev, spca501c_arowana_open_data); |
1979 | break; | 1979 | break; |
1980 | case MystFromOriUnknownCamera: | 1980 | case MystFromOriUnknownCamera: |
1981 | /* UnKnow CMOS Camera data */ | 1981 | /* Unknown CMOS Camera data */ |
1982 | write_vector(gspca_dev, spca501c_mysterious_init_data); | 1982 | write_vector(gspca_dev, spca501c_mysterious_init_data); |
1983 | break; | 1983 | break; |
1984 | default: | 1984 | default: |
diff --git a/drivers/media/video/gspca/sunplus.c b/drivers/media/video/gspca/sunplus.c index aa8f995ce04e..1a9af2ebdbef 100644 --- a/drivers/media/video/gspca/sunplus.c +++ b/drivers/media/video/gspca/sunplus.c | |||
@@ -631,7 +631,7 @@ static void spca504A_acknowledged_command(struct gspca_dev *gspca_dev, | |||
631 | count = 200; | 631 | count = 200; |
632 | while (--count > 0) { | 632 | while (--count > 0) { |
633 | msleep(10); | 633 | msleep(10); |
634 | /* gsmart mini2 write a each wait setting 1 ms is enought */ | 634 | /* gsmart mini2 write a each wait setting 1 ms is enough */ |
635 | /* reg_w_riv(dev, req, idx, val); */ | 635 | /* reg_w_riv(dev, req, idx, val); */ |
636 | status = reg_r_12(gspca_dev, 0x01, 0x0001, 1); | 636 | status = reg_r_12(gspca_dev, 0x01, 0x0001, 1); |
637 | if (status == endcode) { | 637 | if (status == endcode) { |
diff --git a/drivers/media/video/gspca/zc3xx.c b/drivers/media/video/gspca/zc3xx.c index cdf3357b4c9f..49c3c1226e0e 100644 --- a/drivers/media/video/gspca/zc3xx.c +++ b/drivers/media/video/gspca/zc3xx.c | |||
@@ -7065,7 +7065,7 @@ static int sd_config(struct gspca_dev *gspca_dev, | |||
7065 | break; | 7065 | break; |
7066 | default: | 7066 | default: |
7067 | PDEBUG(D_PROBE, | 7067 | PDEBUG(D_PROBE, |
7068 | "Sensor UNKNOW_0 force Tas5130"); | 7068 | "Sensor UNKNOWN_0 force Tas5130"); |
7069 | sd->sensor = SENSOR_TAS5130CXX; | 7069 | sd->sensor = SENSOR_TAS5130CXX; |
7070 | } | 7070 | } |
7071 | break; | 7071 | break; |
diff --git a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h index 5b152ff20bd0..5fcad28211d2 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h +++ b/drivers/media/video/pvrusb2/pvrusb2-hdw-internal.h | |||
@@ -332,7 +332,7 @@ struct pvr2_hdw { | |||
332 | 332 | ||
333 | /* Bit mask of PVR2_CVAL_INPUT choices which are valid for the hardware */ | 333 | /* Bit mask of PVR2_CVAL_INPUT choices which are valid for the hardware */ |
334 | unsigned int input_avail_mask; | 334 | unsigned int input_avail_mask; |
335 | /* Bit mask of PVR2_CVAL_INPUT choices which are currenly allowed */ | 335 | /* Bit mask of PVR2_CVAL_INPUT choices which are currently allowed */ |
336 | unsigned int input_allowed_mask; | 336 | unsigned int input_allowed_mask; |
337 | 337 | ||
338 | /* Location of eeprom or a negative number if none */ | 338 | /* Location of eeprom or a negative number if none */ |
diff --git a/drivers/media/video/s2255drv.c b/drivers/media/video/s2255drv.c index 9e3262c0ba37..a4c84368eb10 100644 --- a/drivers/media/video/s2255drv.c +++ b/drivers/media/video/s2255drv.c | |||
@@ -1985,7 +1985,7 @@ static int save_frame(struct s2255_dev *dev, struct s2255_pipeinfo *pipe_info) | |||
1985 | wake_up(&dev->fw_data->wait_fw); | 1985 | wake_up(&dev->fw_data->wait_fw); |
1986 | break; | 1986 | break; |
1987 | default: | 1987 | default: |
1988 | printk(KERN_INFO "s2255 unknwn resp\n"); | 1988 | printk(KERN_INFO "s2255 unknown resp\n"); |
1989 | } | 1989 | } |
1990 | default: | 1990 | default: |
1991 | pdata++; | 1991 | pdata++; |
diff --git a/drivers/media/video/zoran/zoran.h b/drivers/media/video/zoran/zoran.h index d439c76b27e1..cb1de7ea197a 100644 --- a/drivers/media/video/zoran/zoran.h +++ b/drivers/media/video/zoran/zoran.h | |||
@@ -106,7 +106,7 @@ struct zoran_params { | |||
106 | unsigned long jpeg_markers; /* Which markers should go into the JPEG output. | 106 | unsigned long jpeg_markers; /* Which markers should go into the JPEG output. |
107 | * Unless you exactly know what you do, leave them untouched. | 107 | * Unless you exactly know what you do, leave them untouched. |
108 | * Inluding less markers will make the resulting code | 108 | * Inluding less markers will make the resulting code |
109 | * smaller, but there will be fewer aplications | 109 | * smaller, but there will be fewer applications |
110 | * which can read it. | 110 | * which can read it. |
111 | * The presence of the APP and COM marker is | 111 | * The presence of the APP and COM marker is |
112 | * influenced by APP0_len and COM_len ONLY! */ | 112 | * influenced by APP0_len and COM_len ONLY! */ |
diff --git a/drivers/message/i2o/i2o_block.c b/drivers/message/i2o/i2o_block.c index d505b68cd372..e39986a78273 100644 --- a/drivers/message/i2o/i2o_block.c +++ b/drivers/message/i2o/i2o_block.c | |||
@@ -940,7 +940,7 @@ static const struct block_device_operations i2o_block_fops = { | |||
940 | * Allocate memory for the i2o_block_device struct, gendisk and request | 940 | * Allocate memory for the i2o_block_device struct, gendisk and request |
941 | * queue and initialize them as far as no additional information is needed. | 941 | * queue and initialize them as far as no additional information is needed. |
942 | * | 942 | * |
943 | * Returns a pointer to the allocated I2O Block device on succes or a | 943 | * Returns a pointer to the allocated I2O Block device on success or a |
944 | * negative error code on failure. | 944 | * negative error code on failure. |
945 | */ | 945 | */ |
946 | static struct i2o_block_device *i2o_block_device_alloc(void) | 946 | static struct i2o_block_device *i2o_block_device_alloc(void) |
diff --git a/drivers/message/i2o/iop.c b/drivers/message/i2o/iop.c index 27cf4af0e13d..e5ab62141503 100644 --- a/drivers/message/i2o/iop.c +++ b/drivers/message/i2o/iop.c | |||
@@ -132,7 +132,7 @@ u32 i2o_cntxt_list_add(struct i2o_controller * c, void *ptr) | |||
132 | * Removes a previously added pointer from the context list and returns | 132 | * Removes a previously added pointer from the context list and returns |
133 | * the matching context id. | 133 | * the matching context id. |
134 | * | 134 | * |
135 | * Returns context id on succes or 0 on failure. | 135 | * Returns context id on success or 0 on failure. |
136 | */ | 136 | */ |
137 | u32 i2o_cntxt_list_remove(struct i2o_controller * c, void *ptr) | 137 | u32 i2o_cntxt_list_remove(struct i2o_controller * c, void *ptr) |
138 | { | 138 | { |
@@ -198,7 +198,7 @@ void *i2o_cntxt_list_get(struct i2o_controller *c, u32 context) | |||
198 | * @c: controller to which the context list belong | 198 | * @c: controller to which the context list belong |
199 | * @ptr: pointer to which the context id should be fetched | 199 | * @ptr: pointer to which the context id should be fetched |
200 | * | 200 | * |
201 | * Returns context id which matches to the pointer on succes or 0 on | 201 | * Returns context id which matches to the pointer on success or 0 on |
202 | * failure. | 202 | * failure. |
203 | */ | 203 | */ |
204 | u32 i2o_cntxt_list_get_ptr(struct i2o_controller * c, void *ptr) | 204 | u32 i2o_cntxt_list_get_ptr(struct i2o_controller * c, void *ptr) |
diff --git a/drivers/misc/sgi-gru/grufile.c b/drivers/misc/sgi-gru/grufile.c index 41c8fe2a928c..ce5eda985ab0 100644 --- a/drivers/misc/sgi-gru/grufile.c +++ b/drivers/misc/sgi-gru/grufile.c | |||
@@ -92,7 +92,7 @@ static void gru_vma_close(struct vm_area_struct *vma) | |||
92 | /* | 92 | /* |
93 | * gru_file_mmap | 93 | * gru_file_mmap |
94 | * | 94 | * |
95 | * Called when mmaping the device. Initializes the vma with a fault handler | 95 | * Called when mmapping the device. Initializes the vma with a fault handler |
96 | * and private data structure necessary to allocate, track, and free the | 96 | * and private data structure necessary to allocate, track, and free the |
97 | * underlying pages. | 97 | * underlying pages. |
98 | */ | 98 | */ |
diff --git a/drivers/mmc/host/s3cmci.c b/drivers/mmc/host/s3cmci.c index 99b74a351020..941a4d35ef8d 100644 --- a/drivers/mmc/host/s3cmci.c +++ b/drivers/mmc/host/s3cmci.c | |||
@@ -1360,7 +1360,7 @@ static struct mmc_host_ops s3cmci_ops = { | |||
1360 | 1360 | ||
1361 | static struct s3c24xx_mci_pdata s3cmci_def_pdata = { | 1361 | static struct s3c24xx_mci_pdata s3cmci_def_pdata = { |
1362 | /* This is currently here to avoid a number of if (host->pdata) | 1362 | /* This is currently here to avoid a number of if (host->pdata) |
1363 | * checks. Any zero fields to ensure reaonable defaults are picked. */ | 1363 | * checks. Any zero fields to ensure reasonable defaults are picked. */ |
1364 | }; | 1364 | }; |
1365 | 1365 | ||
1366 | #ifdef CONFIG_CPU_FREQ | 1366 | #ifdef CONFIG_CPU_FREQ |
diff --git a/drivers/mtd/devices/slram.c b/drivers/mtd/devices/slram.c index 3aa05cd18ea1..592016a0668f 100644 --- a/drivers/mtd/devices/slram.c +++ b/drivers/mtd/devices/slram.c | |||
@@ -18,7 +18,7 @@ | |||
18 | to specify the offset instead of the absolute address | 18 | to specify the offset instead of the absolute address |
19 | 19 | ||
20 | NOTE: | 20 | NOTE: |
21 | With slram it's only possible to map a contigous memory region. Therfore | 21 | With slram it's only possible to map a contiguous memory region. Therefore |
22 | if there's a device mapped somewhere in the region specified slram will | 22 | if there's a device mapped somewhere in the region specified slram will |
23 | fail to load (see kernel log if modprobe fails). | 23 | fail to load (see kernel log if modprobe fails). |
24 | 24 | ||
diff --git a/drivers/mtd/nand/diskonchip.c b/drivers/mtd/nand/diskonchip.c index e51c1ed7ac18..b126cf887476 100644 --- a/drivers/mtd/nand/diskonchip.c +++ b/drivers/mtd/nand/diskonchip.c | |||
@@ -1056,7 +1056,7 @@ static struct nand_ecclayout doc200x_oobinfo = { | |||
1056 | }; | 1056 | }; |
1057 | 1057 | ||
1058 | /* Find the (I)NFTL Media Header, and optionally also the mirror media header. | 1058 | /* Find the (I)NFTL Media Header, and optionally also the mirror media header. |
1059 | On sucessful return, buf will contain a copy of the media header for | 1059 | On successful return, buf will contain a copy of the media header for |
1060 | further processing. id is the string to scan for, and will presumably be | 1060 | further processing. id is the string to scan for, and will presumably be |
1061 | either "ANAND" or "BNAND". If findmirror=1, also look for the mirror media | 1061 | either "ANAND" or "BNAND". If findmirror=1, also look for the mirror media |
1062 | header. The page #s of the found media headers are placed in mh0_page and | 1062 | header. The page #s of the found media headers are placed in mh0_page and |
diff --git a/drivers/mtd/nand/nand_ecc.c b/drivers/mtd/nand/nand_ecc.c index db7ae9d6a296..92320a643275 100644 --- a/drivers/mtd/nand/nand_ecc.c +++ b/drivers/mtd/nand/nand_ecc.c | |||
@@ -475,7 +475,7 @@ int __nand_correct_data(unsigned char *buf, | |||
475 | * | 475 | * |
476 | * The b2 shift is there to get rid of the lowest two bits. | 476 | * The b2 shift is there to get rid of the lowest two bits. |
477 | * We could also do addressbits[b2] >> 1 but for the | 477 | * We could also do addressbits[b2] >> 1 but for the |
478 | * performace it does not make any difference | 478 | * performance it does not make any difference |
479 | */ | 479 | */ |
480 | if (eccsize_mult == 1) | 480 | if (eccsize_mult == 1) |
481 | byte_addr = (addressbits[b1] << 4) + addressbits[b0]; | 481 | byte_addr = (addressbits[b1] << 4) + addressbits[b0]; |
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index 11dc7e69c4fb..68b5b3a486a9 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c | |||
@@ -875,7 +875,7 @@ static void s3c2410_nand_init_chip(struct s3c2410_nand_info *info, | |||
875 | * @info: The controller instance. | 875 | * @info: The controller instance. |
876 | * @nmtd: The driver version of the MTD instance. | 876 | * @nmtd: The driver version of the MTD instance. |
877 | * | 877 | * |
878 | * This routine is called after the chip probe has succesfully completed | 878 | * This routine is called after the chip probe has successfully completed |
879 | * and the relevant per-chip information updated. This call ensure that | 879 | * and the relevant per-chip information updated. This call ensure that |
880 | * we update the internal state accordingly. | 880 | * we update the internal state accordingly. |
881 | * | 881 | * |
diff --git a/drivers/net/82596.c b/drivers/net/82596.c index ea6b139b812c..1663bc9e45de 100644 --- a/drivers/net/82596.c +++ b/drivers/net/82596.c | |||
@@ -19,7 +19,7 @@ | |||
19 | TBD: | 19 | TBD: |
20 | * look at deferring rx frames rather than discarding (as per tulip) | 20 | * look at deferring rx frames rather than discarding (as per tulip) |
21 | * handle tx ring full as per tulip | 21 | * handle tx ring full as per tulip |
22 | * performace test to tune rx_copybreak | 22 | * performance test to tune rx_copybreak |
23 | 23 | ||
24 | Most of my modifications relate to the braindead big-endian | 24 | Most of my modifications relate to the braindead big-endian |
25 | implementation by Intel. When the i596 is operating in | 25 | implementation by Intel. When the i596 is operating in |
diff --git a/drivers/net/amd8111e.c b/drivers/net/amd8111e.c index 4e6359fff0e1..766aabfdfc75 100644 --- a/drivers/net/amd8111e.c +++ b/drivers/net/amd8111e.c | |||
@@ -1633,8 +1633,13 @@ static int amd8111e_enable_link_change(struct amd8111e_priv* lp) | |||
1633 | readl(lp->mmio + CMD7); | 1633 | readl(lp->mmio + CMD7); |
1634 | return 0; | 1634 | return 0; |
1635 | } | 1635 | } |
1636 | /* This function is called when a packet transmission fails to complete within a resonable period, on the assumption that an interrupts have been failed or the interface is locked up. This function will reinitialize the hardware */ | ||
1637 | 1636 | ||
1637 | /* | ||
1638 | * This function is called when a packet transmission fails to complete | ||
1639 | * within a reasonable period, on the assumption that an interrupt have | ||
1640 | * failed or the interface is locked up. This function will reinitialize | ||
1641 | * the hardware. | ||
1642 | */ | ||
1638 | static void amd8111e_tx_timeout(struct net_device *dev) | 1643 | static void amd8111e_tx_timeout(struct net_device *dev) |
1639 | { | 1644 | { |
1640 | struct amd8111e_priv* lp = netdev_priv(dev); | 1645 | struct amd8111e_priv* lp = netdev_priv(dev); |
diff --git a/drivers/net/appletalk/cops.c b/drivers/net/appletalk/cops.c index b5dc7f550725..9d828aed968a 100644 --- a/drivers/net/appletalk/cops.c +++ b/drivers/net/appletalk/cops.c | |||
@@ -120,7 +120,7 @@ static int irq = 5; /* Default IRQ */ | |||
120 | * DAYNA driver mode: | 120 | * DAYNA driver mode: |
121 | * Dayna DL2000/DaynaTalk PC (Half Length), COPS LT-95, | 121 | * Dayna DL2000/DaynaTalk PC (Half Length), COPS LT-95, |
122 | * Farallon PhoneNET PC III, Farallon PhoneNET PC II | 122 | * Farallon PhoneNET PC III, Farallon PhoneNET PC II |
123 | * Other cards possibly supported mode unkown though: | 123 | * Other cards possibly supported mode unknown though: |
124 | * Dayna DL2000 (Full length), COPS LT/M (Micro-Channel) | 124 | * Dayna DL2000 (Full length), COPS LT/M (Micro-Channel) |
125 | * | 125 | * |
126 | * Cards NOT supported by this driver but supported by the ltpc.c | 126 | * Cards NOT supported by this driver but supported by the ltpc.c |
diff --git a/drivers/net/ariadne.h b/drivers/net/ariadne.h index bb613f292e04..727be5cdd1ea 100644 --- a/drivers/net/ariadne.h +++ b/drivers/net/ariadne.h | |||
@@ -244,7 +244,7 @@ struct Am79C960 { | |||
244 | #define DLNKTST 0x0010 /* Disable Link Status */ | 244 | #define DLNKTST 0x0010 /* Disable Link Status */ |
245 | #define DAPC 0x0008 /* Disable Automatic Polarity Correction */ | 245 | #define DAPC 0x0008 /* Disable Automatic Polarity Correction */ |
246 | #define MENDECL 0x0004 /* MENDEC Loopback Mode */ | 246 | #define MENDECL 0x0004 /* MENDEC Loopback Mode */ |
247 | #define LRTTSEL 0x0002 /* Low Receive Treshold/Transmit Mode Select */ | 247 | #define LRTTSEL 0x0002 /* Low Receive Threshold/Transmit Mode Select */ |
248 | #define PORTSEL1 0x0001 /* Port Select Bits */ | 248 | #define PORTSEL1 0x0001 /* Port Select Bits */ |
249 | #define PORTSEL2 0x8000 /* Port Select Bits */ | 249 | #define PORTSEL2 0x8000 /* Port Select Bits */ |
250 | #define INTL 0x4000 /* Internal Loopback */ | 250 | #define INTL 0x4000 /* Internal Loopback */ |
diff --git a/drivers/net/atl1c/atl1c_main.c b/drivers/net/atl1c/atl1c_main.c index 1372e9a99f5b..96506eacc131 100644 --- a/drivers/net/atl1c/atl1c_main.c +++ b/drivers/net/atl1c/atl1c_main.c | |||
@@ -1543,7 +1543,7 @@ static irqreturn_t atl1c_intr(int irq, void *data) | |||
1543 | if (status & ISR_OVER) | 1543 | if (status & ISR_OVER) |
1544 | if (netif_msg_intr(adapter)) | 1544 | if (netif_msg_intr(adapter)) |
1545 | dev_warn(&pdev->dev, | 1545 | dev_warn(&pdev->dev, |
1546 | "TX/RX over flow (status = 0x%x)\n", | 1546 | "TX/RX overflow (status = 0x%x)\n", |
1547 | status & ISR_OVER); | 1547 | status & ISR_OVER); |
1548 | 1548 | ||
1549 | /* link event */ | 1549 | /* link event */ |
diff --git a/drivers/net/benet/be_cmds.h b/drivers/net/benet/be_cmds.h index 49953787e41c..f0bb62b5ca9e 100644 --- a/drivers/net/benet/be_cmds.h +++ b/drivers/net/benet/be_cmds.h | |||
@@ -435,7 +435,7 @@ enum be_if_flags { | |||
435 | * filtering capabilities. */ | 435 | * filtering capabilities. */ |
436 | struct be_cmd_req_if_create { | 436 | struct be_cmd_req_if_create { |
437 | struct be_cmd_req_hdr hdr; | 437 | struct be_cmd_req_hdr hdr; |
438 | u32 version; /* ignore currntly */ | 438 | u32 version; /* ignore currently */ |
439 | u32 capability_flags; | 439 | u32 capability_flags; |
440 | u32 enable_flags; | 440 | u32 enable_flags; |
441 | u8 mac_addr[ETH_ALEN]; | 441 | u8 mac_addr[ETH_ALEN]; |
diff --git a/drivers/net/benet/be_main.c b/drivers/net/benet/be_main.c index 1f941f027718..02a0908707ed 100644 --- a/drivers/net/benet/be_main.c +++ b/drivers/net/benet/be_main.c | |||
@@ -1876,7 +1876,7 @@ int be_load_fw(struct be_adapter *adapter, u8 *func) | |||
1876 | goto fw_exit; | 1876 | goto fw_exit; |
1877 | } | 1877 | } |
1878 | 1878 | ||
1879 | dev_info(&adapter->pdev->dev, "Firmware flashed succesfully\n"); | 1879 | dev_info(&adapter->pdev->dev, "Firmware flashed successfully\n"); |
1880 | 1880 | ||
1881 | fw_exit: | 1881 | fw_exit: |
1882 | release_firmware(fw); | 1882 | release_firmware(fw); |
diff --git a/drivers/net/bnx2x_reg.h b/drivers/net/bnx2x_reg.h index aa76cbada5e2..732eafdeb0f2 100644 --- a/drivers/net/bnx2x_reg.h +++ b/drivers/net/bnx2x_reg.h | |||
@@ -2536,7 +2536,7 @@ | |||
2536 | /* [RC 1] A flag to indicate that overflow error occurred in one of the | 2536 | /* [RC 1] A flag to indicate that overflow error occurred in one of the |
2537 | queues. */ | 2537 | queues. */ |
2538 | #define QM_REG_OVFERROR 0x16805c | 2538 | #define QM_REG_OVFERROR 0x16805c |
2539 | /* [RC 7] the Q were the qverflow occurs */ | 2539 | /* [RC 7] the Q where the overflow occurs */ |
2540 | #define QM_REG_OVFQNUM 0x168058 | 2540 | #define QM_REG_OVFQNUM 0x168058 |
2541 | /* [R 16] Pause state for physical queues 15-0 */ | 2541 | /* [R 16] Pause state for physical queues 15-0 */ |
2542 | #define QM_REG_PAUSESTATE0 0x168410 | 2542 | #define QM_REG_PAUSESTATE0 0x168410 |
diff --git a/drivers/net/cxgb3/sge.c b/drivers/net/cxgb3/sge.c index f86612857a73..56ba872be9c1 100644 --- a/drivers/net/cxgb3/sge.c +++ b/drivers/net/cxgb3/sge.c | |||
@@ -1285,7 +1285,7 @@ netdev_tx_t t3_eth_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1285 | 1285 | ||
1286 | /* | 1286 | /* |
1287 | * We do not use Tx completion interrupts to free DMAd Tx packets. | 1287 | * We do not use Tx completion interrupts to free DMAd Tx packets. |
1288 | * This is good for performamce but means that we rely on new Tx | 1288 | * This is good for performance but means that we rely on new Tx |
1289 | * packets arriving to run the destructors of completed packets, | 1289 | * packets arriving to run the destructors of completed packets, |
1290 | * which open up space in their sockets' send queues. Sometimes | 1290 | * which open up space in their sockets' send queues. Sometimes |
1291 | * we do not get such new packets causing Tx to stall. A single | 1291 | * we do not get such new packets causing Tx to stall. A single |
diff --git a/drivers/net/ehea/ehea_ethtool.c b/drivers/net/ehea/ehea_ethtool.c index d76885223366..75b099ce49c9 100644 --- a/drivers/net/ehea/ehea_ethtool.c +++ b/drivers/net/ehea/ehea_ethtool.c | |||
@@ -118,7 +118,7 @@ doit: | |||
118 | ret = ehea_set_portspeed(port, sp); | 118 | ret = ehea_set_portspeed(port, sp); |
119 | 119 | ||
120 | if (!ret) | 120 | if (!ret) |
121 | ehea_info("%s: Port speed succesfully set: %dMbps " | 121 | ehea_info("%s: Port speed successfully set: %dMbps " |
122 | "%s Duplex", | 122 | "%s Duplex", |
123 | port->netdev->name, port->port_speed, | 123 | port->netdev->name, port->port_speed, |
124 | port->full_duplex == 1 ? "Full" : "Half"); | 124 | port->full_duplex == 1 ? "Full" : "Half"); |
@@ -134,7 +134,7 @@ static int ehea_nway_reset(struct net_device *dev) | |||
134 | ret = ehea_set_portspeed(port, EHEA_SPEED_AUTONEG); | 134 | ret = ehea_set_portspeed(port, EHEA_SPEED_AUTONEG); |
135 | 135 | ||
136 | if (!ret) | 136 | if (!ret) |
137 | ehea_info("%s: Port speed succesfully set: %dMbps " | 137 | ehea_info("%s: Port speed successfully set: %dMbps " |
138 | "%s Duplex", | 138 | "%s Duplex", |
139 | port->netdev->name, port->port_speed, | 139 | port->netdev->name, port->port_speed, |
140 | port->full_duplex == 1 ? "Full" : "Half"); | 140 | port->full_duplex == 1 ? "Full" : "Half"); |
diff --git a/drivers/net/hamradio/baycom_ser_fdx.c b/drivers/net/hamradio/baycom_ser_fdx.c index ed60fd664273..0cab992b3d1a 100644 --- a/drivers/net/hamradio/baycom_ser_fdx.c +++ b/drivers/net/hamradio/baycom_ser_fdx.c | |||
@@ -35,7 +35,7 @@ | |||
35 | * driver only supports standard serial hardware (8250, 16450, 16550A) | 35 | * driver only supports standard serial hardware (8250, 16450, 16550A) |
36 | * | 36 | * |
37 | * This modem usually draws its supply current out of the otherwise unused | 37 | * This modem usually draws its supply current out of the otherwise unused |
38 | * TXD pin of the serial port. Thus a contignuous stream of 0x00-bytes | 38 | * TXD pin of the serial port. Thus a contiguous stream of 0x00-bytes |
39 | * is transmitted to achieve a positive supply voltage. | 39 | * is transmitted to achieve a positive supply voltage. |
40 | * | 40 | * |
41 | * hsk: This is a 4800 baud FSK modem, designed for TNC use. It works fine | 41 | * hsk: This is a 4800 baud FSK modem, designed for TNC use. It works fine |
diff --git a/drivers/net/iseries_veth.c b/drivers/net/iseries_veth.c index aa7286bc4364..8739ba850f82 100644 --- a/drivers/net/iseries_veth.c +++ b/drivers/net/iseries_veth.c | |||
@@ -1384,7 +1384,7 @@ static inline void veth_build_dma_list(struct dma_chunk *list, | |||
1384 | unsigned long done; | 1384 | unsigned long done; |
1385 | int i = 1; | 1385 | int i = 1; |
1386 | 1386 | ||
1387 | /* FIXME: skbs are continguous in real addresses. Do we | 1387 | /* FIXME: skbs are contiguous in real addresses. Do we |
1388 | * really need to break it into PAGE_SIZE chunks, or can we do | 1388 | * really need to break it into PAGE_SIZE chunks, or can we do |
1389 | * it just at the granularity of iSeries real->absolute | 1389 | * it just at the granularity of iSeries real->absolute |
1390 | * mapping? Indeed, given the way the allocator works, can we | 1390 | * mapping? Indeed, given the way the allocator works, can we |
diff --git a/drivers/net/lasi_82596.c b/drivers/net/lasi_82596.c index a0c578585a50..b77238dbafb8 100644 --- a/drivers/net/lasi_82596.c +++ b/drivers/net/lasi_82596.c | |||
@@ -47,7 +47,7 @@ | |||
47 | TBD: | 47 | TBD: |
48 | * look at deferring rx frames rather than discarding (as per tulip) | 48 | * look at deferring rx frames rather than discarding (as per tulip) |
49 | * handle tx ring full as per tulip | 49 | * handle tx ring full as per tulip |
50 | * performace test to tune rx_copybreak | 50 | * performance test to tune rx_copybreak |
51 | 51 | ||
52 | Most of my modifications relate to the braindead big-endian | 52 | Most of my modifications relate to the braindead big-endian |
53 | implementation by Intel. When the i596 is operating in | 53 | implementation by Intel. When the i596 is operating in |
diff --git a/drivers/net/lib82596.c b/drivers/net/lib82596.c index 51e11c3e53e1..c0dbfc185b53 100644 --- a/drivers/net/lib82596.c +++ b/drivers/net/lib82596.c | |||
@@ -47,7 +47,7 @@ | |||
47 | TBD: | 47 | TBD: |
48 | * look at deferring rx frames rather than discarding (as per tulip) | 48 | * look at deferring rx frames rather than discarding (as per tulip) |
49 | * handle tx ring full as per tulip | 49 | * handle tx ring full as per tulip |
50 | * performace test to tune rx_copybreak | 50 | * performance test to tune rx_copybreak |
51 | 51 | ||
52 | Most of my modifications relate to the braindead big-endian | 52 | Most of my modifications relate to the braindead big-endian |
53 | implementation by Intel. When the i596 is operating in | 53 | implementation by Intel. When the i596 is operating in |
diff --git a/drivers/net/mlx4/en_rx.c b/drivers/net/mlx4/en_rx.c index 03b781a7a182..829b9ec9ff67 100644 --- a/drivers/net/mlx4/en_rx.c +++ b/drivers/net/mlx4/en_rx.c | |||
@@ -204,7 +204,7 @@ static void mlx4_en_free_rx_desc(struct mlx4_en_priv *priv, | |||
204 | en_dbg(DRV, priv, "Freeing fragment:%d\n", nr); | 204 | en_dbg(DRV, priv, "Freeing fragment:%d\n", nr); |
205 | dma = be64_to_cpu(rx_desc->data[nr].addr); | 205 | dma = be64_to_cpu(rx_desc->data[nr].addr); |
206 | 206 | ||
207 | en_dbg(DRV, priv, "Unmaping buffer at dma:0x%llx\n", (u64) dma); | 207 | en_dbg(DRV, priv, "Unmapping buffer at dma:0x%llx\n", (u64) dma); |
208 | pci_unmap_single(mdev->pdev, dma, skb_frags[nr].size, | 208 | pci_unmap_single(mdev->pdev, dma, skb_frags[nr].size, |
209 | PCI_DMA_FROMDEVICE); | 209 | PCI_DMA_FROMDEVICE); |
210 | put_page(skb_frags[nr].page); | 210 | put_page(skb_frags[nr].page); |
diff --git a/drivers/net/mlx4/en_tx.c b/drivers/net/mlx4/en_tx.c index 8c7279965b44..3d1396af9462 100644 --- a/drivers/net/mlx4/en_tx.c +++ b/drivers/net/mlx4/en_tx.c | |||
@@ -47,7 +47,7 @@ enum { | |||
47 | static int inline_thold __read_mostly = MAX_INLINE; | 47 | static int inline_thold __read_mostly = MAX_INLINE; |
48 | 48 | ||
49 | module_param_named(inline_thold, inline_thold, int, 0444); | 49 | module_param_named(inline_thold, inline_thold, int, 0444); |
50 | MODULE_PARM_DESC(inline_thold, "treshold for using inline data"); | 50 | MODULE_PARM_DESC(inline_thold, "threshold for using inline data"); |
51 | 51 | ||
52 | int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, | 52 | int mlx4_en_create_tx_ring(struct mlx4_en_priv *priv, |
53 | struct mlx4_en_tx_ring *ring, u32 size, | 53 | struct mlx4_en_tx_ring *ring, u32 size, |
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index 4376147b0ea0..82c3ebc584e3 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h | |||
@@ -162,7 +162,7 @@ enum { | |||
162 | #define MLX4_EN_DEF_RX_PAUSE 1 | 162 | #define MLX4_EN_DEF_RX_PAUSE 1 |
163 | #define MLX4_EN_DEF_TX_PAUSE 1 | 163 | #define MLX4_EN_DEF_TX_PAUSE 1 |
164 | 164 | ||
165 | /* Interval between sucessive polls in the Tx routine when polling is used | 165 | /* Interval between successive polls in the Tx routine when polling is used |
166 | instead of interrupts (in per-core Tx rings) - should be power of 2 */ | 166 | instead of interrupts (in per-core Tx rings) - should be power of 2 */ |
167 | #define MLX4_EN_TX_POLL_MODER 16 | 167 | #define MLX4_EN_TX_POLL_MODER 16 |
168 | #define MLX4_EN_TX_POLL_TIMEOUT (HZ / 4) | 168 | #define MLX4_EN_TX_POLL_TIMEOUT (HZ / 4) |
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c index b211613e9dbd..86fde1a90a5a 100644 --- a/drivers/net/ps3_gelic_net.c +++ b/drivers/net/ps3_gelic_net.c | |||
@@ -296,7 +296,7 @@ static void gelic_card_reset_chain(struct gelic_card *card, | |||
296 | * @card: card structure | 296 | * @card: card structure |
297 | * @descr: descriptor to re-init | 297 | * @descr: descriptor to re-init |
298 | * | 298 | * |
299 | * return 0 on succes, <0 on failure | 299 | * return 0 on success, <0 on failure |
300 | * | 300 | * |
301 | * allocates a new rx skb, iommu-maps it and attaches it to the descriptor. | 301 | * allocates a new rx skb, iommu-maps it and attaches it to the descriptor. |
302 | * Activate the descriptor state-wise | 302 | * Activate the descriptor state-wise |
diff --git a/drivers/net/sis900.c b/drivers/net/sis900.c index c072f7f36acf..9d94a141555c 100644 --- a/drivers/net/sis900.c +++ b/drivers/net/sis900.c | |||
@@ -1760,7 +1760,7 @@ static int sis900_rx(struct net_device *net_dev) | |||
1760 | sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE, | 1760 | sis_priv->rx_ring[entry].bufptr, RX_BUF_SIZE, |
1761 | PCI_DMA_FROMDEVICE); | 1761 | PCI_DMA_FROMDEVICE); |
1762 | 1762 | ||
1763 | /* refill the Rx buffer, what if there is not enought | 1763 | /* refill the Rx buffer, what if there is not enough |
1764 | * memory for new socket buffer ?? */ | 1764 | * memory for new socket buffer ?? */ |
1765 | if ((skb = dev_alloc_skb(RX_BUF_SIZE)) == NULL) { | 1765 | if ((skb = dev_alloc_skb(RX_BUF_SIZE)) == NULL) { |
1766 | /* | 1766 | /* |
@@ -1775,7 +1775,7 @@ static int sis900_rx(struct net_device *net_dev) | |||
1775 | } | 1775 | } |
1776 | 1776 | ||
1777 | /* This situation should never happen, but due to | 1777 | /* This situation should never happen, but due to |
1778 | some unknow bugs, it is possible that | 1778 | some unknown bugs, it is possible that |
1779 | we are working on NULL sk_buff :-( */ | 1779 | we are working on NULL sk_buff :-( */ |
1780 | if (sis_priv->rx_skbuff[entry] == NULL) { | 1780 | if (sis_priv->rx_skbuff[entry] == NULL) { |
1781 | if (netif_msg_rx_err(sis_priv)) | 1781 | if (netif_msg_rx_err(sis_priv)) |
diff --git a/drivers/net/skfp/h/smc.h b/drivers/net/skfp/h/smc.h index 1758d9548361..026a83b9f743 100644 --- a/drivers/net/skfp/h/smc.h +++ b/drivers/net/skfp/h/smc.h | |||
@@ -393,10 +393,10 @@ struct smt_config { | |||
393 | */ | 393 | */ |
394 | u_long mac_d_max ; /* MAC : D_Max timer value */ | 394 | u_long mac_d_max ; /* MAC : D_Max timer value */ |
395 | 395 | ||
396 | u_long lct_short ; /* LCT : error threshhold */ | 396 | u_long lct_short ; /* LCT : error threshold */ |
397 | u_long lct_medium ; /* LCT : error threshhold */ | 397 | u_long lct_medium ; /* LCT : error threshold */ |
398 | u_long lct_long ; /* LCT : error threshhold */ | 398 | u_long lct_long ; /* LCT : error threshold */ |
399 | u_long lct_extended ; /* LCT : error threshhold */ | 399 | u_long lct_extended ; /* LCT : error threshold */ |
400 | } ; | 400 | } ; |
401 | 401 | ||
402 | #ifdef DEBUG | 402 | #ifdef DEBUG |
diff --git a/drivers/net/skfp/skfddi.c b/drivers/net/skfp/skfddi.c index b27156eaf267..db216a728503 100644 --- a/drivers/net/skfp/skfddi.c +++ b/drivers/net/skfp/skfddi.c | |||
@@ -1002,7 +1002,7 @@ static int skfp_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) | |||
1002 | } | 1002 | } |
1003 | break; | 1003 | break; |
1004 | default: | 1004 | default: |
1005 | printk("ioctl for %s: unknow cmd: %04x\n", dev->name, ioc.cmd); | 1005 | printk("ioctl for %s: unknown cmd: %04x\n", dev->name, ioc.cmd); |
1006 | status = -EOPNOTSUPP; | 1006 | status = -EOPNOTSUPP; |
1007 | 1007 | ||
1008 | } // switch | 1008 | } // switch |
diff --git a/drivers/net/smsc911x.c b/drivers/net/smsc911x.c index ccdd196f5297..4a00940d0a54 100644 --- a/drivers/net/smsc911x.c +++ b/drivers/net/smsc911x.c | |||
@@ -816,7 +816,7 @@ static int smsc911x_mii_probe(struct net_device *dev) | |||
816 | SMSC_TRACE(HW, "Passed Loop Back Test"); | 816 | SMSC_TRACE(HW, "Passed Loop Back Test"); |
817 | #endif /* USE_PHY_WORK_AROUND */ | 817 | #endif /* USE_PHY_WORK_AROUND */ |
818 | 818 | ||
819 | SMSC_TRACE(HW, "phy initialised succesfully"); | 819 | SMSC_TRACE(HW, "phy initialised successfully"); |
820 | return 0; | 820 | return 0; |
821 | } | 821 | } |
822 | 822 | ||
diff --git a/drivers/net/smsc911x.h b/drivers/net/smsc911x.h index b5716bd8a597..016360c65ce2 100644 --- a/drivers/net/smsc911x.h +++ b/drivers/net/smsc911x.h | |||
@@ -30,7 +30,7 @@ | |||
30 | #define SMSC_NAPI_WEIGHT 16 | 30 | #define SMSC_NAPI_WEIGHT 16 |
31 | 31 | ||
32 | /* implements a PHY loopback test at initialisation time, to ensure a packet | 32 | /* implements a PHY loopback test at initialisation time, to ensure a packet |
33 | * can be succesfully looped back */ | 33 | * can be successfully looped back */ |
34 | #define USE_PHY_WORK_AROUND | 34 | #define USE_PHY_WORK_AROUND |
35 | 35 | ||
36 | #define DPRINTK(nlevel, klevel, fmt, args...) \ | 36 | #define DPRINTK(nlevel, klevel, fmt, args...) \ |
diff --git a/drivers/net/spider_net.c b/drivers/net/spider_net.c index 90e663f4515c..40b51e6bc77b 100644 --- a/drivers/net/spider_net.c +++ b/drivers/net/spider_net.c | |||
@@ -409,7 +409,7 @@ spider_net_free_rx_chain_contents(struct spider_net_card *card) | |||
409 | * @card: card structure | 409 | * @card: card structure |
410 | * @descr: descriptor to re-init | 410 | * @descr: descriptor to re-init |
411 | * | 411 | * |
412 | * Return 0 on succes, <0 on failure. | 412 | * Return 0 on success, <0 on failure. |
413 | * | 413 | * |
414 | * Allocates a new rx skb, iommu-maps it and attaches it to the | 414 | * Allocates a new rx skb, iommu-maps it and attaches it to the |
415 | * descriptor. Mark the descriptor as activated, ready-to-use. | 415 | * descriptor. Mark the descriptor as activated, ready-to-use. |
diff --git a/drivers/net/stmmac/gmac.c b/drivers/net/stmmac/gmac.c index b624bb5bae0a..52586ee68953 100644 --- a/drivers/net/stmmac/gmac.c +++ b/drivers/net/stmmac/gmac.c | |||
@@ -112,7 +112,7 @@ static void gmac_dma_operation_mode(unsigned long ioaddr, int txmode, | |||
112 | " (threshold = %d)\n", txmode); | 112 | " (threshold = %d)\n", txmode); |
113 | csr6 &= ~DMA_CONTROL_TSF; | 113 | csr6 &= ~DMA_CONTROL_TSF; |
114 | csr6 &= DMA_CONTROL_TC_TX_MASK; | 114 | csr6 &= DMA_CONTROL_TC_TX_MASK; |
115 | /* Set the transmit threashold */ | 115 | /* Set the transmit threshold */ |
116 | if (txmode <= 32) | 116 | if (txmode <= 32) |
117 | csr6 |= DMA_CONTROL_TTC_32; | 117 | csr6 |= DMA_CONTROL_TTC_32; |
118 | else if (txmode <= 64) | 118 | else if (txmode <= 64) |
diff --git a/drivers/net/stmmac/gmac.h b/drivers/net/stmmac/gmac.h index 684a363120a9..2e82d6c9a148 100644 --- a/drivers/net/stmmac/gmac.h +++ b/drivers/net/stmmac/gmac.h | |||
@@ -154,14 +154,14 @@ enum rx_tx_priority_ratio { | |||
154 | #define DMA_CONTROL_DT 0x04000000 /* Disable Drop TCP/IP csum error */ | 154 | #define DMA_CONTROL_DT 0x04000000 /* Disable Drop TCP/IP csum error */ |
155 | #define DMA_CONTROL_RSF 0x02000000 /* Receive Store and Forward */ | 155 | #define DMA_CONTROL_RSF 0x02000000 /* Receive Store and Forward */ |
156 | #define DMA_CONTROL_DFF 0x01000000 /* Disaable flushing */ | 156 | #define DMA_CONTROL_DFF 0x01000000 /* Disaable flushing */ |
157 | /* Theshold for Activating the FC */ | 157 | /* Threshold for Activating the FC */ |
158 | enum rfa { | 158 | enum rfa { |
159 | act_full_minus_1 = 0x00800000, | 159 | act_full_minus_1 = 0x00800000, |
160 | act_full_minus_2 = 0x00800200, | 160 | act_full_minus_2 = 0x00800200, |
161 | act_full_minus_3 = 0x00800400, | 161 | act_full_minus_3 = 0x00800400, |
162 | act_full_minus_4 = 0x00800600, | 162 | act_full_minus_4 = 0x00800600, |
163 | }; | 163 | }; |
164 | /* Theshold for Deactivating the FC */ | 164 | /* Threshold for Deactivating the FC */ |
165 | enum rfd { | 165 | enum rfd { |
166 | deac_full_minus_1 = 0x00400000, | 166 | deac_full_minus_1 = 0x00400000, |
167 | deac_full_minus_2 = 0x00400800, | 167 | deac_full_minus_2 = 0x00400800, |
diff --git a/drivers/net/tokenring/smctr.c b/drivers/net/tokenring/smctr.c index ebda61bc4c2f..78e12b5e3ac7 100644 --- a/drivers/net/tokenring/smctr.c +++ b/drivers/net/tokenring/smctr.c | |||
@@ -426,7 +426,7 @@ static int smctr_alloc_shared_memory(struct net_device *dev) | |||
426 | smctr_malloc(dev, 1L); | 426 | smctr_malloc(dev, 1L); |
427 | 427 | ||
428 | /* Allocate Non-MAC receive data buffers. | 428 | /* Allocate Non-MAC receive data buffers. |
429 | * To guarantee a minimum of 256 contigous memory to | 429 | * To guarantee a minimum of 256 contiguous memory to |
430 | * UM_Receive_Packet's lookahead pointer, before a page | 430 | * UM_Receive_Packet's lookahead pointer, before a page |
431 | * change or ring end is encountered, place each rx buffer on | 431 | * change or ring end is encountered, place each rx buffer on |
432 | * a 256 byte boundary. | 432 | * a 256 byte boundary. |
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c index 4469f2451a6f..5e9adbaf6745 100644 --- a/drivers/net/ucc_geth.c +++ b/drivers/net/ucc_geth.c | |||
@@ -3798,7 +3798,7 @@ static int ucc_geth_probe(struct of_device* ofdev, const struct of_device_id *ma | |||
3798 | prop = of_get_property(np, "tx-clock", NULL); | 3798 | prop = of_get_property(np, "tx-clock", NULL); |
3799 | if (!prop) { | 3799 | if (!prop) { |
3800 | printk(KERN_ERR | 3800 | printk(KERN_ERR |
3801 | "ucc_geth: mising tx-clock-name property\n"); | 3801 | "ucc_geth: missing tx-clock-name property\n"); |
3802 | return -EINVAL; | 3802 | return -EINVAL; |
3803 | } | 3803 | } |
3804 | if ((*prop < QE_CLK_NONE) || (*prop > QE_CLK24)) { | 3804 | if ((*prop < QE_CLK_NONE) || (*prop > QE_CLK24)) { |
diff --git a/drivers/net/ucc_geth.h b/drivers/net/ucc_geth.h index 03a6ca016d5a..a007e2acf651 100644 --- a/drivers/net/ucc_geth.h +++ b/drivers/net/ucc_geth.h | |||
@@ -80,16 +80,16 @@ struct ucc_geth { | |||
80 | frames) received that were between 128 | 80 | frames) received that were between 128 |
81 | (Including FCS length==4) and 255 octets */ | 81 | (Including FCS length==4) and 255 octets */ |
82 | u32 txok; /* Total number of octets residing in frames | 82 | u32 txok; /* Total number of octets residing in frames |
83 | that where involved in succesfull | 83 | that where involved in successfull |
84 | transmission */ | 84 | transmission */ |
85 | u16 txcf; /* Total number of PAUSE control frames | 85 | u16 txcf; /* Total number of PAUSE control frames |
86 | transmitted by this MAC */ | 86 | transmitted by this MAC */ |
87 | u8 res4[0x2]; | 87 | u8 res4[0x2]; |
88 | u32 tmca; /* Total number of frames that were transmitted | 88 | u32 tmca; /* Total number of frames that were transmitted |
89 | succesfully with the group address bit set | 89 | successfully with the group address bit set |
90 | that are not broadcast frames */ | 90 | that are not broadcast frames */ |
91 | u32 tbca; /* Total number of frames transmitted | 91 | u32 tbca; /* Total number of frames transmitted |
92 | succesfully that had destination address | 92 | successfully that had destination address |
93 | field equal to the broadcast address */ | 93 | field equal to the broadcast address */ |
94 | u32 rxfok; /* Total number of frames received OK */ | 94 | u32 rxfok; /* Total number of frames received OK */ |
95 | u32 rxbok; /* Total number of octets received OK */ | 95 | u32 rxbok; /* Total number of octets received OK */ |
@@ -98,9 +98,9 @@ struct ucc_geth { | |||
98 | HW because it includes octets in frames that | 98 | HW because it includes octets in frames that |
99 | never even reach the UCC */ | 99 | never even reach the UCC */ |
100 | u32 rmca; /* Total number of frames that were received | 100 | u32 rmca; /* Total number of frames that were received |
101 | succesfully with the group address bit set | 101 | successfully with the group address bit set |
102 | that are not broadcast frames */ | 102 | that are not broadcast frames */ |
103 | u32 rbca; /* Total number of frames received succesfully | 103 | u32 rbca; /* Total number of frames received successfully |
104 | that had destination address equal to the | 104 | that had destination address equal to the |
105 | broadcast address */ | 105 | broadcast address */ |
106 | u32 scar; /* Statistics carry register */ | 106 | u32 scar; /* Statistics carry register */ |
@@ -759,15 +759,15 @@ struct ucc_geth_hardware_statistics { | |||
759 | frames) received that were between 128 | 759 | frames) received that were between 128 |
760 | (Including FCS length==4) and 255 octets */ | 760 | (Including FCS length==4) and 255 octets */ |
761 | u32 txok; /* Total number of octets residing in frames | 761 | u32 txok; /* Total number of octets residing in frames |
762 | that where involved in succesfull | 762 | that where involved in successfull |
763 | transmission */ | 763 | transmission */ |
764 | u16 txcf; /* Total number of PAUSE control frames | 764 | u16 txcf; /* Total number of PAUSE control frames |
765 | transmitted by this MAC */ | 765 | transmitted by this MAC */ |
766 | u32 tmca; /* Total number of frames that were transmitted | 766 | u32 tmca; /* Total number of frames that were transmitted |
767 | succesfully with the group address bit set | 767 | successfully with the group address bit set |
768 | that are not broadcast frames */ | 768 | that are not broadcast frames */ |
769 | u32 tbca; /* Total number of frames transmitted | 769 | u32 tbca; /* Total number of frames transmitted |
770 | succesfully that had destination address | 770 | successfully that had destination address |
771 | field equal to the broadcast address */ | 771 | field equal to the broadcast address */ |
772 | u32 rxfok; /* Total number of frames received OK */ | 772 | u32 rxfok; /* Total number of frames received OK */ |
773 | u32 rxbok; /* Total number of octets received OK */ | 773 | u32 rxbok; /* Total number of octets received OK */ |
@@ -776,9 +776,9 @@ struct ucc_geth_hardware_statistics { | |||
776 | HW because it includes octets in frames that | 776 | HW because it includes octets in frames that |
777 | never even reach the UCC */ | 777 | never even reach the UCC */ |
778 | u32 rmca; /* Total number of frames that were received | 778 | u32 rmca; /* Total number of frames that were received |
779 | succesfully with the group address bit set | 779 | successfully with the group address bit set |
780 | that are not broadcast frames */ | 780 | that are not broadcast frames */ |
781 | u32 rbca; /* Total number of frames received succesfully | 781 | u32 rbca; /* Total number of frames received successfully |
782 | that had destination address equal to the | 782 | that had destination address equal to the |
783 | broadcast address */ | 783 | broadcast address */ |
784 | } __attribute__ ((packed)); | 784 | } __attribute__ ((packed)); |
diff --git a/drivers/net/usb/smsc95xx.c b/drivers/net/usb/smsc95xx.c index c6c922247d05..0c3c738d7419 100644 --- a/drivers/net/usb/smsc95xx.c +++ b/drivers/net/usb/smsc95xx.c | |||
@@ -748,7 +748,7 @@ static int smsc95xx_phy_initialize(struct usbnet *dev) | |||
748 | mii_nway_restart(&dev->mii); | 748 | mii_nway_restart(&dev->mii); |
749 | 749 | ||
750 | if (netif_msg_ifup(dev)) | 750 | if (netif_msg_ifup(dev)) |
751 | devdbg(dev, "phy initialised succesfully"); | 751 | devdbg(dev, "phy initialised successfully"); |
752 | return 0; | 752 | return 0; |
753 | } | 753 | } |
754 | 754 | ||
diff --git a/drivers/net/wan/lmc/lmc_main.c b/drivers/net/wan/lmc/lmc_main.c index 7ea71b33d2e9..ee784e091f67 100644 --- a/drivers/net/wan/lmc/lmc_main.c +++ b/drivers/net/wan/lmc/lmc_main.c | |||
@@ -927,7 +927,7 @@ static int __devinit lmc_init_one(struct pci_dev *pdev, | |||
927 | sc->lmc_media = &lmc_t1_media; | 927 | sc->lmc_media = &lmc_t1_media; |
928 | break; | 928 | break; |
929 | default: | 929 | default: |
930 | printk(KERN_WARNING "%s: LMC UNKOWN CARD!\n", dev->name); | 930 | printk(KERN_WARNING "%s: LMC UNKNOWN CARD!\n", dev->name); |
931 | break; | 931 | break; |
932 | } | 932 | } |
933 | 933 | ||
diff --git a/drivers/net/wimax/i2400m/rx.c b/drivers/net/wimax/i2400m/rx.c index 07c32e68909f..99d27473ba3f 100644 --- a/drivers/net/wimax/i2400m/rx.c +++ b/drivers/net/wimax/i2400m/rx.c | |||
@@ -1114,7 +1114,7 @@ error: | |||
1114 | * device. See the file header for the format. Run all checks on the | 1114 | * device. See the file header for the format. Run all checks on the |
1115 | * buffer header, then run over each payload's descriptors, verify | 1115 | * buffer header, then run over each payload's descriptors, verify |
1116 | * their consistency and act on each payload's contents. If | 1116 | * their consistency and act on each payload's contents. If |
1117 | * everything is succesful, update the device's statistics. | 1117 | * everything is successful, update the device's statistics. |
1118 | * | 1118 | * |
1119 | * Note: You need to set the skb to contain only the length of the | 1119 | * Note: You need to set the skb to contain only the length of the |
1120 | * received buffer; for that, use skb_trim(skb, RECEIVED_SIZE). | 1120 | * received buffer; for that, use skb_trim(skb, RECEIVED_SIZE). |
diff --git a/drivers/net/wireless/ath/ath5k/phy.c b/drivers/net/wireless/ath/ath5k/phy.c index 1a039f2bd732..6f04cc758dcc 100644 --- a/drivers/net/wireless/ath/ath5k/phy.c +++ b/drivers/net/wireless/ath/ath5k/phy.c | |||
@@ -117,7 +117,7 @@ static unsigned int ath5k_hw_rfb_op(struct ath5k_hw *ah, | |||
117 | 117 | ||
118 | /* | 118 | /* |
119 | * This code is used to optimize rf gain on different environments | 119 | * This code is used to optimize rf gain on different environments |
120 | * (temprature mostly) based on feedback from a power detector. | 120 | * (temperature mostly) based on feedback from a power detector. |
121 | * | 121 | * |
122 | * It's only used on RF5111 and RF5112, later RF chips seem to have | 122 | * It's only used on RF5111 and RF5112, later RF chips seem to have |
123 | * auto adjustment on hw -notice they have a much smaller BANK 7 and | 123 | * auto adjustment on hw -notice they have a much smaller BANK 7 and |
@@ -2675,7 +2675,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah, | |||
2675 | /* Fill curves in reverse order | 2675 | /* Fill curves in reverse order |
2676 | * from lower power (max gain) | 2676 | * from lower power (max gain) |
2677 | * to higher power. Use curve -> idx | 2677 | * to higher power. Use curve -> idx |
2678 | * backmaping we did on eeprom init */ | 2678 | * backmapping we did on eeprom init */ |
2679 | u8 idx = pdg_curve_to_idx[pdg]; | 2679 | u8 idx = pdg_curve_to_idx[pdg]; |
2680 | 2680 | ||
2681 | /* Grab the needed curves by index */ | 2681 | /* Grab the needed curves by index */ |
@@ -2777,7 +2777,7 @@ ath5k_setup_channel_powertable(struct ath5k_hw *ah, | |||
2777 | /* Now we have a set of curves for this | 2777 | /* Now we have a set of curves for this |
2778 | * channel on tmpL (x range is table_max - table_min | 2778 | * channel on tmpL (x range is table_max - table_min |
2779 | * and y values are tmpL[pdg][]) sorted in the same | 2779 | * and y values are tmpL[pdg][]) sorted in the same |
2780 | * order as EEPROM (because we've used the backmaping). | 2780 | * order as EEPROM (because we've used the backmapping). |
2781 | * So for RF5112 it's from higher power to lower power | 2781 | * So for RF5112 it's from higher power to lower power |
2782 | * and for RF2413 it's from lower power to higher power. | 2782 | * and for RF2413 it's from lower power to higher power. |
2783 | * For RF5111 we only have one curve. */ | 2783 | * For RF5111 we only have one curve. */ |
diff --git a/drivers/net/wireless/ath/ath9k/rc.c b/drivers/net/wireless/ath/ath9k/rc.c index 1895d63aad0a..0a35ee62a02a 100644 --- a/drivers/net/wireless/ath/ath9k/rc.c +++ b/drivers/net/wireless/ath/ath9k/rc.c | |||
@@ -969,7 +969,7 @@ static bool ath_rc_update_per(struct ath_softc *sc, | |||
969 | * Since this probe succeeded, we allow the next | 969 | * Since this probe succeeded, we allow the next |
970 | * probe twice as soon. This allows the maxRate | 970 | * probe twice as soon. This allows the maxRate |
971 | * to move up faster if the probes are | 971 | * to move up faster if the probes are |
972 | * succesful. | 972 | * successful. |
973 | */ | 973 | */ |
974 | ath_rc_priv->probe_time = | 974 | ath_rc_priv->probe_time = |
975 | now_msec - rate_table->probe_interval / 2; | 975 | now_msec - rate_table->probe_interval / 2; |
diff --git a/drivers/net/wireless/ipw2x00/ipw2100.c b/drivers/net/wireless/ipw2x00/ipw2100.c index a741d37fd96f..e1b330023200 100644 --- a/drivers/net/wireless/ipw2x00/ipw2100.c +++ b/drivers/net/wireless/ipw2x00/ipw2100.c | |||
@@ -551,7 +551,7 @@ static int ipw2100_get_ordinal(struct ipw2100_priv *priv, u32 ord, | |||
551 | /* get number of entries */ | 551 | /* get number of entries */ |
552 | field_count = *(((u16 *) & field_info) + 1); | 552 | field_count = *(((u16 *) & field_info) + 1); |
553 | 553 | ||
554 | /* abort if no enought memory */ | 554 | /* abort if no enough memory */ |
555 | total_length = field_len * field_count; | 555 | total_length = field_len * field_count; |
556 | if (total_length > *len) { | 556 | if (total_length > *len) { |
557 | *len = total_length; | 557 | *len = total_length; |
@@ -3044,7 +3044,7 @@ static void ipw2100_tx_send_data(struct ipw2100_priv *priv) | |||
3044 | IPW_MAX_BDS)) { | 3044 | IPW_MAX_BDS)) { |
3045 | /* TODO: Support merging buffers if more than | 3045 | /* TODO: Support merging buffers if more than |
3046 | * IPW_MAX_BDS are used */ | 3046 | * IPW_MAX_BDS are used */ |
3047 | IPW_DEBUG_INFO("%s: Maximum BD theshold exceeded. " | 3047 | IPW_DEBUG_INFO("%s: Maximum BD threshold exceeded. " |
3048 | "Increase fragmentation level.\n", | 3048 | "Increase fragmentation level.\n", |
3049 | priv->net_dev->name); | 3049 | priv->net_dev->name); |
3050 | } | 3050 | } |
@@ -6823,7 +6823,7 @@ static int ipw2100_wx_get_range(struct net_device *dev, | |||
6823 | range->max_qual.updated = 7; /* Updated all three */ | 6823 | range->max_qual.updated = 7; /* Updated all three */ |
6824 | 6824 | ||
6825 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ | 6825 | range->avg_qual.qual = 70; /* > 8% missed beacons is 'bad' */ |
6826 | /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ | 6826 | /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ |
6827 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; | 6827 | range->avg_qual.level = 20 + IPW2100_RSSI_TO_DBM; |
6828 | range->avg_qual.noise = 0; | 6828 | range->avg_qual.noise = 0; |
6829 | range->avg_qual.updated = 7; /* Updated all three */ | 6829 | range->avg_qual.updated = 7; /* Updated all three */ |
diff --git a/drivers/net/wireless/ipw2x00/ipw2200.c b/drivers/net/wireless/ipw2x00/ipw2200.c index 9b0f2c0646e0..b2aa960b8346 100644 --- a/drivers/net/wireless/ipw2x00/ipw2200.c +++ b/drivers/net/wireless/ipw2x00/ipw2200.c | |||
@@ -787,7 +787,7 @@ static int ipw_get_ordinal(struct ipw_priv *priv, u32 ord, void *val, u32 * len) | |||
787 | /* get number of entries */ | 787 | /* get number of entries */ |
788 | field_count = *(((u16 *) & field_info) + 1); | 788 | field_count = *(((u16 *) & field_info) + 1); |
789 | 789 | ||
790 | /* abort if not enought memory */ | 790 | /* abort if not enough memory */ |
791 | total_len = field_len * field_count; | 791 | total_len = field_len * field_count; |
792 | if (total_len > *len) { | 792 | if (total_len > *len) { |
793 | *len = total_len; | 793 | *len = total_len; |
@@ -7751,7 +7751,7 @@ static void ipw_rebuild_decrypted_skb(struct ipw_priv *priv, | |||
7751 | case SEC_LEVEL_0: | 7751 | case SEC_LEVEL_0: |
7752 | break; | 7752 | break; |
7753 | default: | 7753 | default: |
7754 | printk(KERN_ERR "Unknow security level %d\n", | 7754 | printk(KERN_ERR "Unknown security level %d\n", |
7755 | priv->ieee->sec.level); | 7755 | priv->ieee->sec.level); |
7756 | break; | 7756 | break; |
7757 | } | 7757 | } |
@@ -8917,7 +8917,7 @@ static int ipw_wx_get_range(struct net_device *dev, | |||
8917 | range->max_qual.updated = 7; /* Updated all three */ | 8917 | range->max_qual.updated = 7; /* Updated all three */ |
8918 | 8918 | ||
8919 | range->avg_qual.qual = 70; | 8919 | range->avg_qual.qual = 70; |
8920 | /* TODO: Find real 'good' to 'bad' threshol value for RSSI */ | 8920 | /* TODO: Find real 'good' to 'bad' threshold value for RSSI */ |
8921 | range->avg_qual.level = 0; /* FIXME to real average level */ | 8921 | range->avg_qual.level = 0; /* FIXME to real average level */ |
8922 | range->avg_qual.noise = 0; | 8922 | range->avg_qual.noise = 0; |
8923 | range->avg_qual.updated = 7; /* Updated all three */ | 8923 | range->avg_qual.updated = 7; /* Updated all three */ |
@@ -10290,7 +10290,7 @@ static int ipw_tx_skb(struct ipw_priv *priv, struct libipw_txb *txb, | |||
10290 | case SEC_LEVEL_0: | 10290 | case SEC_LEVEL_0: |
10291 | break; | 10291 | break; |
10292 | default: | 10292 | default: |
10293 | printk(KERN_ERR "Unknow security level %d\n", | 10293 | printk(KERN_ERR "Unknown security level %d\n", |
10294 | priv->ieee->sec.level); | 10294 | priv->ieee->sec.level); |
10295 | break; | 10295 | break; |
10296 | } | 10296 | } |
diff --git a/drivers/net/wireless/ipw2x00/libipw_module.c b/drivers/net/wireless/ipw2x00/libipw_module.c index be5b809ec97a..20b8a8a20644 100644 --- a/drivers/net/wireless/ipw2x00/libipw_module.c +++ b/drivers/net/wireless/ipw2x00/libipw_module.c | |||
@@ -199,7 +199,7 @@ struct net_device *alloc_ieee80211(int sizeof_priv, int monitor) | |||
199 | ieee->host_decrypt = 1; | 199 | ieee->host_decrypt = 1; |
200 | ieee->host_mc_decrypt = 1; | 200 | ieee->host_mc_decrypt = 1; |
201 | 201 | ||
202 | /* Host fragementation in Open mode. Default is enabled. | 202 | /* Host fragmentation in Open mode. Default is enabled. |
203 | * Note: host fragmentation is always enabled if host encryption | 203 | * Note: host fragmentation is always enabled if host encryption |
204 | * is enabled. For cards can do hardware encryption, they must do | 204 | * is enabled. For cards can do hardware encryption, they must do |
205 | * hardware fragmentation as well. So we don't need a variable | 205 | * hardware fragmentation as well. So we don't need a variable |
diff --git a/drivers/net/wireless/iwmc3200wifi/hal.c b/drivers/net/wireless/iwmc3200wifi/hal.c index c430418248b4..d13c8853ee82 100644 --- a/drivers/net/wireless/iwmc3200wifi/hal.c +++ b/drivers/net/wireless/iwmc3200wifi/hal.c | |||
@@ -411,7 +411,7 @@ static void iwm_build_lmac_hdr(struct iwm_priv *iwm, struct iwm_lmac_hdr *hdr, | |||
411 | /* | 411 | /* |
412 | * iwm_hal_send_host_cmd(): sends commands to the UMAC or the LMAC. | 412 | * iwm_hal_send_host_cmd(): sends commands to the UMAC or the LMAC. |
413 | * Sending command to the LMAC is equivalent to sending a | 413 | * Sending command to the LMAC is equivalent to sending a |
414 | * regular UMAC command with the LMAC passtrough or the LMAC | 414 | * regular UMAC command with the LMAC passthrough or the LMAC |
415 | * wrapper UMAC command IDs. | 415 | * wrapper UMAC command IDs. |
416 | */ | 416 | */ |
417 | int iwm_hal_send_host_cmd(struct iwm_priv *iwm, | 417 | int iwm_hal_send_host_cmd(struct iwm_priv *iwm, |
diff --git a/drivers/net/wireless/iwmc3200wifi/rx.c b/drivers/net/wireless/iwmc3200wifi/rx.c index 771a301003c9..8ddb51a2a977 100644 --- a/drivers/net/wireless/iwmc3200wifi/rx.c +++ b/drivers/net/wireless/iwmc3200wifi/rx.c | |||
@@ -1448,7 +1448,7 @@ static void iwm_rx_process_packet(struct iwm_priv *iwm, | |||
1448 | kfree_skb(packet->skb); | 1448 | kfree_skb(packet->skb); |
1449 | break; | 1449 | break; |
1450 | default: | 1450 | default: |
1451 | IWM_ERR(iwm, "Unknow ticket action: %d\n", | 1451 | IWM_ERR(iwm, "Unknown ticket action: %d\n", |
1452 | le16_to_cpu(ticket_node->ticket->action)); | 1452 | le16_to_cpu(ticket_node->ticket->action)); |
1453 | kfree_skb(packet->skb); | 1453 | kfree_skb(packet->skb); |
1454 | } | 1454 | } |
diff --git a/drivers/net/wireless/libertas/if_sdio.c b/drivers/net/wireless/libertas/if_sdio.c index 485a8d406525..afe6abecc044 100644 --- a/drivers/net/wireless/libertas/if_sdio.c +++ b/drivers/net/wireless/libertas/if_sdio.c | |||
@@ -934,7 +934,7 @@ static int if_sdio_probe(struct sdio_func *func, | |||
934 | } | 934 | } |
935 | 935 | ||
936 | if (i == ARRAY_SIZE(if_sdio_models)) { | 936 | if (i == ARRAY_SIZE(if_sdio_models)) { |
937 | lbs_pr_err("unkown card model 0x%x\n", card->model); | 937 | lbs_pr_err("unknown card model 0x%x\n", card->model); |
938 | ret = -ENODEV; | 938 | ret = -ENODEV; |
939 | goto free; | 939 | goto free; |
940 | } | 940 | } |
diff --git a/drivers/net/wireless/prism54/isl_ioctl.c b/drivers/net/wireless/prism54/isl_ioctl.c index bc08464d8323..f7f5c793514b 100644 --- a/drivers/net/wireless/prism54/isl_ioctl.c +++ b/drivers/net/wireless/prism54/isl_ioctl.c | |||
@@ -1897,7 +1897,7 @@ prism54_get_mac(struct net_device *ndev, struct iw_request_info *info, | |||
1897 | return 0; | 1897 | return 0; |
1898 | } | 1898 | } |
1899 | 1899 | ||
1900 | /* Setting policy also clears the MAC acl, even if we don't change the defaut | 1900 | /* Setting policy also clears the MAC acl, even if we don't change the default |
1901 | * policy | 1901 | * policy |
1902 | */ | 1902 | */ |
1903 | 1903 | ||
@@ -2323,7 +2323,7 @@ prism54_process_trap_helper(islpci_private *priv, enum oid_num_t oid, | |||
2323 | 2323 | ||
2324 | case DOT11_OID_BEACON: | 2324 | case DOT11_OID_BEACON: |
2325 | send_formatted_event(priv, | 2325 | send_formatted_event(priv, |
2326 | "Received a beacon from an unkown AP", | 2326 | "Received a beacon from an unknown AP", |
2327 | mlme, 0); | 2327 | mlme, 0); |
2328 | break; | 2328 | break; |
2329 | 2329 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2400pci.h b/drivers/net/wireless/rt2x00/rt2400pci.h index ccd644104ad1..aced05775693 100644 --- a/drivers/net/wireless/rt2x00/rt2400pci.h +++ b/drivers/net/wireless/rt2x00/rt2400pci.h | |||
@@ -35,7 +35,7 @@ | |||
35 | 35 | ||
36 | /* | 36 | /* |
37 | * Signal information. | 37 | * Signal information. |
38 | * Defaul offset is required for RSSI <-> dBm conversion. | 38 | * Default offset is required for RSSI <-> dBm conversion. |
39 | */ | 39 | */ |
40 | #define DEFAULT_RSSI_OFFSET 100 | 40 | #define DEFAULT_RSSI_OFFSET 100 |
41 | 41 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2500pci.h b/drivers/net/wireless/rt2x00/rt2500pci.h index 54d37957883c..3db9041838a4 100644 --- a/drivers/net/wireless/rt2x00/rt2500pci.h +++ b/drivers/net/wireless/rt2x00/rt2500pci.h | |||
@@ -46,7 +46,7 @@ | |||
46 | 46 | ||
47 | /* | 47 | /* |
48 | * Signal information. | 48 | * Signal information. |
49 | * Defaul offset is required for RSSI <-> dBm conversion. | 49 | * Default offset is required for RSSI <-> dBm conversion. |
50 | */ | 50 | */ |
51 | #define DEFAULT_RSSI_OFFSET 121 | 51 | #define DEFAULT_RSSI_OFFSET 121 |
52 | 52 | ||
diff --git a/drivers/net/wireless/rt2x00/rt2500usb.h b/drivers/net/wireless/rt2x00/rt2500usb.h index b01edca42583..d3000827883a 100644 --- a/drivers/net/wireless/rt2x00/rt2500usb.h +++ b/drivers/net/wireless/rt2x00/rt2500usb.h | |||
@@ -46,7 +46,7 @@ | |||
46 | 46 | ||
47 | /* | 47 | /* |
48 | * Signal information. | 48 | * Signal information. |
49 | * Defaul offset is required for RSSI <-> dBm conversion. | 49 | * Default offset is required for RSSI <-> dBm conversion. |
50 | */ | 50 | */ |
51 | #define DEFAULT_RSSI_OFFSET 120 | 51 | #define DEFAULT_RSSI_OFFSET 120 |
52 | 52 | ||
diff --git a/drivers/net/wireless/rt2x00/rt61pci.h b/drivers/net/wireless/rt2x00/rt61pci.h index 93eb699165cc..77b5116f549b 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.h +++ b/drivers/net/wireless/rt2x00/rt61pci.h | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | /* | 38 | /* |
39 | * Signal information. | 39 | * Signal information. |
40 | * Defaul offset is required for RSSI <-> dBm conversion. | 40 | * Default offset is required for RSSI <-> dBm conversion. |
41 | */ | 41 | */ |
42 | #define DEFAULT_RSSI_OFFSET 120 | 42 | #define DEFAULT_RSSI_OFFSET 120 |
43 | 43 | ||
diff --git a/drivers/net/wireless/rt2x00/rt73usb.h b/drivers/net/wireless/rt2x00/rt73usb.h index 81fe0be51c42..e194332dac5f 100644 --- a/drivers/net/wireless/rt2x00/rt73usb.h +++ b/drivers/net/wireless/rt2x00/rt73usb.h | |||
@@ -37,7 +37,7 @@ | |||
37 | 37 | ||
38 | /* | 38 | /* |
39 | * Signal information. | 39 | * Signal information. |
40 | * Defaul offset is required for RSSI <-> dBm conversion. | 40 | * Default offset is required for RSSI <-> dBm conversion. |
41 | */ | 41 | */ |
42 | #define DEFAULT_RSSI_OFFSET 120 | 42 | #define DEFAULT_RSSI_OFFSET 120 |
43 | 43 | ||
diff --git a/drivers/net/wireless/wavelan_cs.c b/drivers/net/wireless/wavelan_cs.c index 431a20ec6db6..b3b0b5b685c6 100644 --- a/drivers/net/wireless/wavelan_cs.c +++ b/drivers/net/wireless/wavelan_cs.c | |||
@@ -4011,7 +4011,7 @@ wavelan_interrupt(int irq, | |||
4011 | #endif | 4011 | #endif |
4012 | 4012 | ||
4013 | /* Prevent reentrancy. We need to do that because we may have | 4013 | /* Prevent reentrancy. We need to do that because we may have |
4014 | * multiple interrupt handler running concurently. | 4014 | * multiple interrupt handler running concurrently. |
4015 | * It is safe because interrupts are disabled before aquiring | 4015 | * It is safe because interrupts are disabled before aquiring |
4016 | * the spinlock. */ | 4016 | * the spinlock. */ |
4017 | spin_lock(&lp->spinlock); | 4017 | spin_lock(&lp->spinlock); |
diff --git a/drivers/net/wireless/zd1211rw/zd_mac.c b/drivers/net/wireless/zd1211rw/zd_mac.c index 6d666359a42f..2b7f96594373 100644 --- a/drivers/net/wireless/zd1211rw/zd_mac.c +++ b/drivers/net/wireless/zd1211rw/zd_mac.c | |||
@@ -312,7 +312,7 @@ static void tx_status(struct ieee80211_hw *hw, struct sk_buff *skb, | |||
312 | * zd_mac_tx_failed - callback for failed frames | 312 | * zd_mac_tx_failed - callback for failed frames |
313 | * @dev: the mac80211 wireless device | 313 | * @dev: the mac80211 wireless device |
314 | * | 314 | * |
315 | * This function is called if a frame couldn't be succesfully be | 315 | * This function is called if a frame couldn't be successfully be |
316 | * transferred. The first frame from the tx queue, will be selected and | 316 | * transferred. The first frame from the tx queue, will be selected and |
317 | * reported as error to the upper layers. | 317 | * reported as error to the upper layers. |
318 | */ | 318 | */ |
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c index a6b4a5a53d40..f511e70d454c 100644 --- a/drivers/parisc/ccio-dma.c +++ b/drivers/parisc/ccio-dma.c | |||
@@ -650,7 +650,7 @@ ccio_clear_io_tlb(struct ioc *ioc, dma_addr_t iovp, size_t byte_cnt) | |||
650 | * Mark the I/O Pdir entries invalid and blow away the corresponding I/O | 650 | * Mark the I/O Pdir entries invalid and blow away the corresponding I/O |
651 | * TLB entries. | 651 | * TLB entries. |
652 | * | 652 | * |
653 | * FIXME: at some threshhold it might be "cheaper" to just blow | 653 | * FIXME: at some threshold it might be "cheaper" to just blow |
654 | * away the entire I/O TLB instead of individual entries. | 654 | * away the entire I/O TLB instead of individual entries. |
655 | * | 655 | * |
656 | * FIXME: Uturn has 256 TLB entries. We don't need to purge every | 656 | * FIXME: Uturn has 256 TLB entries. We don't need to purge every |
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c index d93108d148fc..36db20a8f892 100644 --- a/drivers/platform/x86/thinkpad_acpi.c +++ b/drivers/platform/x86/thinkpad_acpi.c | |||
@@ -6533,7 +6533,7 @@ static struct ibm_struct volume_driver_data = { | |||
6533 | * The speeds are stored on handles | 6533 | * The speeds are stored on handles |
6534 | * (FANA:FAN9), (FANC:FANB), (FANE:FAND). | 6534 | * (FANA:FAN9), (FANC:FANB), (FANE:FAND). |
6535 | * | 6535 | * |
6536 | * There are three default speed sets, acessible as handles: | 6536 | * There are three default speed sets, accessible as handles: |
6537 | * FS1L,FS1M,FS1H; FS2L,FS2M,FS2H; FS3L,FS3M,FS3H | 6537 | * FS1L,FS1M,FS1H; FS2L,FS2M,FS2H; FS3L,FS3M,FS3H |
6538 | * | 6538 | * |
6539 | * ACPI DSDT switches which set is in use depending on various | 6539 | * ACPI DSDT switches which set is in use depending on various |
diff --git a/drivers/pnp/pnpbios/rsparser.c b/drivers/pnp/pnpbios/rsparser.c index 87b4f49a5251..a5135ebe5f07 100644 --- a/drivers/pnp/pnpbios/rsparser.c +++ b/drivers/pnp/pnpbios/rsparser.c | |||
@@ -191,7 +191,7 @@ static unsigned char *pnpbios_parse_allocated_resource_data(struct pnp_dev *dev, | |||
191 | return (unsigned char *)p; | 191 | return (unsigned char *)p; |
192 | break; | 192 | break; |
193 | 193 | ||
194 | default: /* an unkown tag */ | 194 | default: /* an unknown tag */ |
195 | len_err: | 195 | len_err: |
196 | dev_err(&dev->dev, "unknown tag %#x length %d\n", | 196 | dev_err(&dev->dev, "unknown tag %#x length %d\n", |
197 | tag, len); | 197 | tag, len); |
@@ -405,7 +405,7 @@ pnpbios_parse_resource_option_data(unsigned char *p, unsigned char *end, | |||
405 | case SMALL_TAG_END: | 405 | case SMALL_TAG_END: |
406 | return p + 2; | 406 | return p + 2; |
407 | 407 | ||
408 | default: /* an unkown tag */ | 408 | default: /* an unknown tag */ |
409 | len_err: | 409 | len_err: |
410 | dev_err(&dev->dev, "unknown tag %#x length %d\n", | 410 | dev_err(&dev->dev, "unknown tag %#x length %d\n", |
411 | tag, len); | 411 | tag, len); |
@@ -475,7 +475,7 @@ static unsigned char *pnpbios_parse_compatible_ids(unsigned char *p, | |||
475 | return (unsigned char *)p; | 475 | return (unsigned char *)p; |
476 | break; | 476 | break; |
477 | 477 | ||
478 | default: /* an unkown tag */ | 478 | default: /* an unknown tag */ |
479 | len_err: | 479 | len_err: |
480 | dev_err(&dev->dev, "unknown tag %#x length %d\n", | 480 | dev_err(&dev->dev, "unknown tag %#x length %d\n", |
481 | tag, len); | 481 | tag, len); |
@@ -744,7 +744,7 @@ static unsigned char *pnpbios_encode_allocated_resource_data(struct pnp_dev | |||
744 | return (unsigned char *)p; | 744 | return (unsigned char *)p; |
745 | break; | 745 | break; |
746 | 746 | ||
747 | default: /* an unkown tag */ | 747 | default: /* an unknown tag */ |
748 | len_err: | 748 | len_err: |
749 | dev_err(&dev->dev, "unknown tag %#x length %d\n", | 749 | dev_err(&dev->dev, "unknown tag %#x length %d\n", |
750 | tag, len); | 750 | tag, len); |
diff --git a/drivers/ps3/ps3-sys-manager.c b/drivers/ps3/ps3-sys-manager.c index 88cb74088611..3cbaf1811bd0 100644 --- a/drivers/ps3/ps3-sys-manager.c +++ b/drivers/ps3/ps3-sys-manager.c | |||
@@ -46,7 +46,7 @@ | |||
46 | /** | 46 | /** |
47 | * struct ps3_sys_manager_header - System manager message header. | 47 | * struct ps3_sys_manager_header - System manager message header. |
48 | * @version: Header version, currently 1. | 48 | * @version: Header version, currently 1. |
49 | * @size: Header size in bytes, curently 16. | 49 | * @size: Header size in bytes, currently 16. |
50 | * @payload_size: Message payload size in bytes. | 50 | * @payload_size: Message payload size in bytes. |
51 | * @service_id: Message type, one of enum ps3_sys_manager_service_id. | 51 | * @service_id: Message type, one of enum ps3_sys_manager_service_id. |
52 | * @request_tag: Unique number to identify reply. | 52 | * @request_tag: Unique number to identify reply. |
diff --git a/drivers/rtc/rtc-v3020.c b/drivers/rtc/rtc-v3020.c index ad164056feb6..434e92fdb966 100644 --- a/drivers/rtc/rtc-v3020.c +++ b/drivers/rtc/rtc-v3020.c | |||
@@ -335,7 +335,7 @@ static int rtc_probe(struct platform_device *pdev) | |||
335 | goto err_io; | 335 | goto err_io; |
336 | } | 336 | } |
337 | 337 | ||
338 | /* Make sure frequency measurment mode, test modes, and lock | 338 | /* Make sure frequency measurement mode, test modes, and lock |
339 | * are all disabled */ | 339 | * are all disabled */ |
340 | v3020_set_reg(chip, V3020_STATUS_0, 0x0); | 340 | v3020_set_reg(chip, V3020_STATUS_0, 0x0); |
341 | 341 | ||
diff --git a/drivers/s390/char/fs3270.c b/drivers/s390/char/fs3270.c index 097d3846a828..f54b1eec6ddf 100644 --- a/drivers/s390/char/fs3270.c +++ b/drivers/s390/char/fs3270.c | |||
@@ -74,7 +74,7 @@ fs3270_do_io(struct raw3270_view *view, struct raw3270_request *rq) | |||
74 | } | 74 | } |
75 | rc = raw3270_start(view, rq); | 75 | rc = raw3270_start(view, rq); |
76 | if (rc == 0) { | 76 | if (rc == 0) { |
77 | /* Started sucessfully. Now wait for completion. */ | 77 | /* Started successfully. Now wait for completion. */ |
78 | wait_event(fp->wait, raw3270_request_final(rq)); | 78 | wait_event(fp->wait, raw3270_request_final(rq)); |
79 | } | 79 | } |
80 | } while (rc == -EACCES); | 80 | } while (rc == -EACCES); |
diff --git a/drivers/s390/cio/chp.c b/drivers/s390/cio/chp.c index 8ab51608da55..c268a2e5b7c3 100644 --- a/drivers/s390/cio/chp.c +++ b/drivers/s390/cio/chp.c | |||
@@ -65,7 +65,7 @@ static void set_chp_logically_online(struct chp_id chpid, int onoff) | |||
65 | chpid_to_chp(chpid)->state = onoff; | 65 | chpid_to_chp(chpid)->state = onoff; |
66 | } | 66 | } |
67 | 67 | ||
68 | /* On succes return 0 if channel-path is varied offline, 1 if it is varied | 68 | /* On success return 0 if channel-path is varied offline, 1 if it is varied |
69 | * online. Return -ENODEV if channel-path is not registered. */ | 69 | * online. Return -ENODEV if channel-path is not registered. */ |
70 | int chp_get_status(struct chp_id chpid) | 70 | int chp_get_status(struct chp_id chpid) |
71 | { | 71 | { |
diff --git a/drivers/s390/cio/cmf.c b/drivers/s390/cio/cmf.c index 30f516111307..2985eb439485 100644 --- a/drivers/s390/cio/cmf.c +++ b/drivers/s390/cio/cmf.c | |||
@@ -462,7 +462,7 @@ static struct cmb_area cmb_area = { | |||
462 | * block of memory, which can not be moved as long as any channel | 462 | * block of memory, which can not be moved as long as any channel |
463 | * is active. Therefore, a maximum number of subchannels needs to | 463 | * is active. Therefore, a maximum number of subchannels needs to |
464 | * be defined somewhere. This is a module parameter, defaulting to | 464 | * be defined somewhere. This is a module parameter, defaulting to |
465 | * a resonable value of 1024, or 32 kb of memory. | 465 | * a reasonable value of 1024, or 32 kb of memory. |
466 | * Current kernels don't allow kmalloc with more than 128kb, so the | 466 | * Current kernels don't allow kmalloc with more than 128kb, so the |
467 | * maximum is 4096. | 467 | * maximum is 4096. |
468 | */ | 468 | */ |
diff --git a/drivers/sbus/char/envctrl.c b/drivers/sbus/char/envctrl.c index 58e583b61e60..aa2b60a868ba 100644 --- a/drivers/sbus/char/envctrl.c +++ b/drivers/sbus/char/envctrl.c | |||
@@ -92,11 +92,11 @@ | |||
92 | #define ENVCTRL_CPUTEMP_MON 1 /* cpu temperature monitor */ | 92 | #define ENVCTRL_CPUTEMP_MON 1 /* cpu temperature monitor */ |
93 | #define ENVCTRL_CPUVOLTAGE_MON 2 /* voltage monitor */ | 93 | #define ENVCTRL_CPUVOLTAGE_MON 2 /* voltage monitor */ |
94 | #define ENVCTRL_FANSTAT_MON 3 /* fan status monitor */ | 94 | #define ENVCTRL_FANSTAT_MON 3 /* fan status monitor */ |
95 | #define ENVCTRL_ETHERTEMP_MON 4 /* ethernet temperarture */ | 95 | #define ENVCTRL_ETHERTEMP_MON 4 /* ethernet temperature */ |
96 | /* monitor */ | 96 | /* monitor */ |
97 | #define ENVCTRL_VOLTAGESTAT_MON 5 /* voltage status monitor */ | 97 | #define ENVCTRL_VOLTAGESTAT_MON 5 /* voltage status monitor */ |
98 | #define ENVCTRL_MTHRBDTEMP_MON 6 /* motherboard temperature */ | 98 | #define ENVCTRL_MTHRBDTEMP_MON 6 /* motherboard temperature */ |
99 | #define ENVCTRL_SCSITEMP_MON 7 /* scsi temperarture */ | 99 | #define ENVCTRL_SCSITEMP_MON 7 /* scsi temperature */ |
100 | #define ENVCTRL_GLOBALADDR_MON 8 /* global address */ | 100 | #define ENVCTRL_GLOBALADDR_MON 8 /* global address */ |
101 | 101 | ||
102 | /* Child device type. | 102 | /* Child device type. |
diff --git a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c index f5a9addb7050..07ce9bfcdf06 100644 --- a/drivers/scsi/53c700.c +++ b/drivers/scsi/53c700.c | |||
@@ -1491,7 +1491,7 @@ NCR_700_intr(int irq, void *dev_id) | |||
1491 | unsigned long flags; | 1491 | unsigned long flags; |
1492 | int handled = 0; | 1492 | int handled = 0; |
1493 | 1493 | ||
1494 | /* Use the host lock to serialise acess to the 53c700 | 1494 | /* Use the host lock to serialise access to the 53c700 |
1495 | * hardware. Note: In future, we may need to take the queue | 1495 | * hardware. Note: In future, we may need to take the queue |
1496 | * lock to enter the done routines. When that happens, we | 1496 | * lock to enter the done routines. When that happens, we |
1497 | * need to ensure that for this driver, the host lock and the | 1497 | * need to ensure that for this driver, the host lock and the |
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index cdbdec9f4fb2..83986ed86556 100644 --- a/drivers/scsi/aacraid/aacraid.h +++ b/drivers/scsi/aacraid/aacraid.h | |||
@@ -526,10 +526,10 @@ struct aac_driver_ident | |||
526 | 526 | ||
527 | /* | 527 | /* |
528 | * The adapter interface specs all queues to be located in the same | 528 | * The adapter interface specs all queues to be located in the same |
529 | * physically contigous block. The host structure that defines the | 529 | * physically contiguous block. The host structure that defines the |
530 | * commuication queues will assume they are each a separate physically | 530 | * commuication queues will assume they are each a separate physically |
531 | * contigous memory region that will support them all being one big | 531 | * contiguous memory region that will support them all being one big |
532 | * contigous block. | 532 | * contiguous block. |
533 | * There is a command and response queue for each level and direction of | 533 | * There is a command and response queue for each level and direction of |
534 | * commuication. These regions are accessed by both the host and adapter. | 534 | * commuication. These regions are accessed by both the host and adapter. |
535 | */ | 535 | */ |
diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c index d598eba630d0..666d5151d628 100644 --- a/drivers/scsi/aacraid/comminit.c +++ b/drivers/scsi/aacraid/comminit.c | |||
@@ -226,7 +226,7 @@ static int aac_comm_init(struct aac_dev * dev) | |||
226 | spin_lock_init(&dev->fib_lock); | 226 | spin_lock_init(&dev->fib_lock); |
227 | 227 | ||
228 | /* | 228 | /* |
229 | * Allocate the physically contigous space for the commuication | 229 | * Allocate the physically contiguous space for the commuication |
230 | * queue headers. | 230 | * queue headers. |
231 | */ | 231 | */ |
232 | 232 | ||
diff --git a/drivers/scsi/aic7xxx/aic79xx.seq b/drivers/scsi/aic7xxx/aic79xx.seq index 3b66b5ae3d9f..2fb78e35a9e5 100644 --- a/drivers/scsi/aic7xxx/aic79xx.seq +++ b/drivers/scsi/aic7xxx/aic79xx.seq | |||
@@ -217,7 +217,7 @@ BEGIN_CRITICAL; | |||
217 | scbdma_tohost_done: | 217 | scbdma_tohost_done: |
218 | test CCSCBCTL, CCARREN jz fill_qoutfifo_dmadone; | 218 | test CCSCBCTL, CCARREN jz fill_qoutfifo_dmadone; |
219 | /* | 219 | /* |
220 | * An SCB has been succesfully uploaded to the host. | 220 | * An SCB has been successfully uploaded to the host. |
221 | * If the SCB was uploaded for some reason other than | 221 | * If the SCB was uploaded for some reason other than |
222 | * bad SCSI status (currently only for underruns), we | 222 | * bad SCSI status (currently only for underruns), we |
223 | * queue the SCB for normal completion. Otherwise, we | 223 | * queue the SCB for normal completion. Otherwise, we |
diff --git a/drivers/scsi/aic7xxx/aic79xx_core.c b/drivers/scsi/aic7xxx/aic79xx_core.c index 63b521d615f2..4d419c155ce9 100644 --- a/drivers/scsi/aic7xxx/aic79xx_core.c +++ b/drivers/scsi/aic7xxx/aic79xx_core.c | |||
@@ -2487,7 +2487,7 @@ ahd_handle_scsiint(struct ahd_softc *ahd, u_int intstat) | |||
2487 | /* | 2487 | /* |
2488 | * Although the driver does not care about the | 2488 | * Although the driver does not care about the |
2489 | * 'Selection in Progress' status bit, the busy | 2489 | * 'Selection in Progress' status bit, the busy |
2490 | * LED does. SELINGO is only cleared by a sucessfull | 2490 | * LED does. SELINGO is only cleared by a successfull |
2491 | * selection, so we must manually clear it to insure | 2491 | * selection, so we must manually clear it to insure |
2492 | * the LED turns off just incase no future successful | 2492 | * the LED turns off just incase no future successful |
2493 | * selections occur (e.g. no devices on the bus). | 2493 | * selections occur (e.g. no devices on the bus). |
diff --git a/drivers/scsi/aic7xxx/aic7xxx_core.c b/drivers/scsi/aic7xxx/aic7xxx_core.c index 8dfb59d58992..45aa728a76b2 100644 --- a/drivers/scsi/aic7xxx/aic7xxx_core.c +++ b/drivers/scsi/aic7xxx/aic7xxx_core.c | |||
@@ -1733,7 +1733,7 @@ ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat) | |||
1733 | /* | 1733 | /* |
1734 | * Although the driver does not care about the | 1734 | * Although the driver does not care about the |
1735 | * 'Selection in Progress' status bit, the busy | 1735 | * 'Selection in Progress' status bit, the busy |
1736 | * LED does. SELINGO is only cleared by a sucessfull | 1736 | * LED does. SELINGO is only cleared by a successfull |
1737 | * selection, so we must manually clear it to insure | 1737 | * selection, so we must manually clear it to insure |
1738 | * the LED turns off just incase no future successful | 1738 | * the LED turns off just incase no future successful |
1739 | * selections occur (e.g. no devices on the bus). | 1739 | * selections occur (e.g. no devices on the bus). |
diff --git a/drivers/scsi/bfa/include/defs/bfa_defs_pport.h b/drivers/scsi/bfa/include/defs/bfa_defs_pport.h index a000bc4e2d4a..bf320412ee24 100644 --- a/drivers/scsi/bfa/include/defs/bfa_defs_pport.h +++ b/drivers/scsi/bfa/include/defs/bfa_defs_pport.h | |||
@@ -61,7 +61,7 @@ enum bfa_pport_speed { | |||
61 | * Port operational type (in sync with SNIA port type). | 61 | * Port operational type (in sync with SNIA port type). |
62 | */ | 62 | */ |
63 | enum bfa_pport_type { | 63 | enum bfa_pport_type { |
64 | BFA_PPORT_TYPE_UNKNOWN = 1, /* port type is unkown */ | 64 | BFA_PPORT_TYPE_UNKNOWN = 1, /* port type is unknown */ |
65 | BFA_PPORT_TYPE_TRUNKED = 2, /* Trunked mode */ | 65 | BFA_PPORT_TYPE_TRUNKED = 2, /* Trunked mode */ |
66 | BFA_PPORT_TYPE_NPORT = 5, /* P2P with switched fabric */ | 66 | BFA_PPORT_TYPE_NPORT = 5, /* P2P with switched fabric */ |
67 | BFA_PPORT_TYPE_NLPORT = 6, /* public loop */ | 67 | BFA_PPORT_TYPE_NLPORT = 6, /* public loop */ |
diff --git a/drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h b/drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h index 31881d218515..ade763dbc8ce 100644 --- a/drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h +++ b/drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h | |||
@@ -25,7 +25,7 @@ | |||
25 | * Temperature sensor status values | 25 | * Temperature sensor status values |
26 | */ | 26 | */ |
27 | enum bfa_tsensor_status { | 27 | enum bfa_tsensor_status { |
28 | BFA_TSENSOR_STATUS_UNKNOWN = 1, /* unkown status */ | 28 | BFA_TSENSOR_STATUS_UNKNOWN = 1, /* unknown status */ |
29 | BFA_TSENSOR_STATUS_FAULTY = 2, /* sensor is faulty */ | 29 | BFA_TSENSOR_STATUS_FAULTY = 2, /* sensor is faulty */ |
30 | BFA_TSENSOR_STATUS_BELOW_MIN = 3, /* temperature below mininum */ | 30 | BFA_TSENSOR_STATUS_BELOW_MIN = 3, /* temperature below mininum */ |
31 | BFA_TSENSOR_STATUS_NOMINAL = 4, /* normal temperature */ | 31 | BFA_TSENSOR_STATUS_NOMINAL = 4, /* normal temperature */ |
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c index a0e7e711ff9d..5be67a6fca93 100644 --- a/drivers/scsi/hptiop.c +++ b/drivers/scsi/hptiop.c | |||
@@ -834,7 +834,7 @@ static int hptiop_reset_hba(struct hptiop_hba *hba) | |||
834 | atomic_read(&hba->resetting) == 0, 60 * HZ); | 834 | atomic_read(&hba->resetting) == 0, 60 * HZ); |
835 | 835 | ||
836 | if (atomic_read(&hba->resetting)) { | 836 | if (atomic_read(&hba->resetting)) { |
837 | /* IOP is in unkown state, abort reset */ | 837 | /* IOP is in unknown state, abort reset */ |
838 | printk(KERN_ERR "scsi%d: reset failed\n", hba->host->host_no); | 838 | printk(KERN_ERR "scsi%d: reset failed\n", hba->host->host_no); |
839 | return -1; | 839 | return -1; |
840 | } | 840 | } |
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index bd2f77197447..6486ae4591b8 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c | |||
@@ -56,7 +56,7 @@ | |||
56 | * at the same time. | 56 | * at the same time. |
57 | * | 57 | * |
58 | * When discovery succeeds or fails a callback is made to the lport as | 58 | * When discovery succeeds or fails a callback is made to the lport as |
59 | * notification. Currently, succesful discovery causes the lport to take no | 59 | * notification. Currently, successful discovery causes the lport to take no |
60 | * action. A failure will cause the lport to reset. There is likely a circular | 60 | * action. A failure will cause the lport to reset. There is likely a circular |
61 | * locking problem with this implementation. | 61 | * locking problem with this implementation. |
62 | */ | 62 | */ |
diff --git a/drivers/scsi/libiscsi_tcp.c b/drivers/scsi/libiscsi_tcp.c index 2e0746d70303..ca25ee5190b0 100644 --- a/drivers/scsi/libiscsi_tcp.c +++ b/drivers/scsi/libiscsi_tcp.c | |||
@@ -1004,7 +1004,7 @@ static struct iscsi_r2t_info *iscsi_tcp_get_curr_r2t(struct iscsi_task *task) | |||
1004 | * iscsi_tcp_task_xmit - xmit normal PDU task | 1004 | * iscsi_tcp_task_xmit - xmit normal PDU task |
1005 | * @task: iscsi command task | 1005 | * @task: iscsi command task |
1006 | * | 1006 | * |
1007 | * We're expected to return 0 when everything was transmitted succesfully, | 1007 | * We're expected to return 0 when everything was transmitted successfully, |
1008 | * -EAGAIN if there's still data in the queue, or != 0 for any other kind | 1008 | * -EAGAIN if there's still data in the queue, or != 0 for any other kind |
1009 | * of error. | 1009 | * of error. |
1010 | */ | 1010 | */ |
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index e1a30a16a9fa..9bd19aa14249 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c | |||
@@ -654,7 +654,7 @@ lpfc_selective_reset(struct lpfc_hba *phba) | |||
654 | * Notes: | 654 | * Notes: |
655 | * Assumes any error from lpfc_selective_reset() will be negative. | 655 | * Assumes any error from lpfc_selective_reset() will be negative. |
656 | * If lpfc_selective_reset() returns zero then the length of the buffer | 656 | * If lpfc_selective_reset() returns zero then the length of the buffer |
657 | * is returned which indicates succcess | 657 | * is returned which indicates success |
658 | * | 658 | * |
659 | * Returns: | 659 | * Returns: |
660 | * -EINVAL if the buffer does not contain the string "selective" | 660 | * -EINVAL if the buffer does not contain the string "selective" |
@@ -3147,7 +3147,7 @@ sysfs_ctlreg_write(struct kobject *kobj, struct bin_attribute *bin_attr, | |||
3147 | * sysfs_ctlreg_read - Read method for reading from ctlreg | 3147 | * sysfs_ctlreg_read - Read method for reading from ctlreg |
3148 | * @kobj: kernel kobject that contains the kernel class device. | 3148 | * @kobj: kernel kobject that contains the kernel class device. |
3149 | * @bin_attr: kernel attributes passed to us. | 3149 | * @bin_attr: kernel attributes passed to us. |
3150 | * @buf: if succesful contains the data from the adapter IOREG space. | 3150 | * @buf: if successful contains the data from the adapter IOREG space. |
3151 | * @off: offset into buffer to beginning of data. | 3151 | * @off: offset into buffer to beginning of data. |
3152 | * @count: bytes to transfer. | 3152 | * @count: bytes to transfer. |
3153 | * | 3153 | * |
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index 45337cd23feb..a14ab4580d4e 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c | |||
@@ -802,7 +802,7 @@ lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, | |||
802 | 802 | ||
803 | /* FLOGI completes successfully */ | 803 | /* FLOGI completes successfully */ |
804 | lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, | 804 | lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, |
805 | "0101 FLOGI completes sucessfully " | 805 | "0101 FLOGI completes successfully " |
806 | "Data: x%x x%x x%x x%x\n", | 806 | "Data: x%x x%x x%x x%x\n", |
807 | irsp->un.ulpWord[4], sp->cmn.e_d_tov, | 807 | irsp->un.ulpWord[4], sp->cmn.e_d_tov, |
808 | sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution); | 808 | sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution); |
@@ -4133,7 +4133,7 @@ lpfc_els_rcv_rscn(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, | |||
4133 | /* Indicate we are walking fc_rscn_id_list on this vport */ | 4133 | /* Indicate we are walking fc_rscn_id_list on this vport */ |
4134 | vport->fc_rscn_flush = 1; | 4134 | vport->fc_rscn_flush = 1; |
4135 | spin_unlock_irq(shost->host_lock); | 4135 | spin_unlock_irq(shost->host_lock); |
4136 | /* Get the array count after sucessfully have the token */ | 4136 | /* Get the array count after successfully have the token */ |
4137 | rscn_cnt = vport->fc_rscn_id_cnt; | 4137 | rscn_cnt = vport->fc_rscn_id_cnt; |
4138 | /* If we are already processing an RSCN, save the received | 4138 | /* If we are already processing an RSCN, save the received |
4139 | * RSCN payload buffer, cmdiocb->context2 to process later. | 4139 | * RSCN payload buffer, cmdiocb->context2 to process later. |
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 562d8cee874b..82f8ab5c72cd 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -645,7 +645,7 @@ lpfc_hba_down_prep(struct lpfc_hba *phba) | |||
645 | * down the SLI Layer. | 645 | * down the SLI Layer. |
646 | * | 646 | * |
647 | * Return codes | 647 | * Return codes |
648 | * 0 - sucess. | 648 | * 0 - success. |
649 | * Any other value - error. | 649 | * Any other value - error. |
650 | **/ | 650 | **/ |
651 | static int | 651 | static int |
@@ -700,7 +700,7 @@ lpfc_hba_down_post_s3(struct lpfc_hba *phba) | |||
700 | * down the SLI Layer. | 700 | * down the SLI Layer. |
701 | * | 701 | * |
702 | * Return codes | 702 | * Return codes |
703 | * 0 - sucess. | 703 | * 0 - success. |
704 | * Any other value - error. | 704 | * Any other value - error. |
705 | **/ | 705 | **/ |
706 | static int | 706 | static int |
@@ -755,7 +755,7 @@ lpfc_hba_down_post_s4(struct lpfc_hba *phba) | |||
755 | * uninitialization after the HBA is reset when bring down the SLI Layer. | 755 | * uninitialization after the HBA is reset when bring down the SLI Layer. |
756 | * | 756 | * |
757 | * Return codes | 757 | * Return codes |
758 | * 0 - sucess. | 758 | * 0 - success. |
759 | * Any other value - error. | 759 | * Any other value - error. |
760 | **/ | 760 | **/ |
761 | int | 761 | int |
@@ -1254,7 +1254,7 @@ lpfc_handle_eratt_s4(struct lpfc_hba *phba) | |||
1254 | * routine from the API jump table function pointer from the lpfc_hba struct. | 1254 | * routine from the API jump table function pointer from the lpfc_hba struct. |
1255 | * | 1255 | * |
1256 | * Return codes | 1256 | * Return codes |
1257 | * 0 - sucess. | 1257 | * 0 - success. |
1258 | * Any other value - error. | 1258 | * Any other value - error. |
1259 | **/ | 1259 | **/ |
1260 | void | 1260 | void |
@@ -3124,7 +3124,7 @@ static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode) | |||
3124 | * PCI devices. | 3124 | * PCI devices. |
3125 | * | 3125 | * |
3126 | * Return codes | 3126 | * Return codes |
3127 | * 0 - sucessful | 3127 | * 0 - successful |
3128 | * other values - error | 3128 | * other values - error |
3129 | **/ | 3129 | **/ |
3130 | static int | 3130 | static int |
@@ -3220,7 +3220,7 @@ lpfc_reset_hba(struct lpfc_hba *phba) | |||
3220 | * support the SLI-3 HBA device it attached to. | 3220 | * support the SLI-3 HBA device it attached to. |
3221 | * | 3221 | * |
3222 | * Return codes | 3222 | * Return codes |
3223 | * 0 - sucessful | 3223 | * 0 - successful |
3224 | * other values - error | 3224 | * other values - error |
3225 | **/ | 3225 | **/ |
3226 | static int | 3226 | static int |
@@ -3321,7 +3321,7 @@ lpfc_sli_driver_resource_unset(struct lpfc_hba *phba) | |||
3321 | * support the SLI-4 HBA device it attached to. | 3321 | * support the SLI-4 HBA device it attached to. |
3322 | * | 3322 | * |
3323 | * Return codes | 3323 | * Return codes |
3324 | * 0 - sucessful | 3324 | * 0 - successful |
3325 | * other values - error | 3325 | * other values - error |
3326 | **/ | 3326 | **/ |
3327 | static int | 3327 | static int |
@@ -3642,7 +3642,7 @@ lpfc_init_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp) | |||
3642 | * device specific resource setup to support the HBA device it attached to. | 3642 | * device specific resource setup to support the HBA device it attached to. |
3643 | * | 3643 | * |
3644 | * Return codes | 3644 | * Return codes |
3645 | * 0 - sucessful | 3645 | * 0 - successful |
3646 | * other values - error | 3646 | * other values - error |
3647 | **/ | 3647 | **/ |
3648 | static int | 3648 | static int |
@@ -3688,7 +3688,7 @@ lpfc_setup_driver_resource_phase1(struct lpfc_hba *phba) | |||
3688 | * device specific resource setup to support the HBA device it attached to. | 3688 | * device specific resource setup to support the HBA device it attached to. |
3689 | * | 3689 | * |
3690 | * Return codes | 3690 | * Return codes |
3691 | * 0 - sucessful | 3691 | * 0 - successful |
3692 | * other values - error | 3692 | * other values - error |
3693 | **/ | 3693 | **/ |
3694 | static int | 3694 | static int |
@@ -3753,7 +3753,7 @@ lpfc_free_iocb_list(struct lpfc_hba *phba) | |||
3753 | * list and set up the IOCB tag array accordingly. | 3753 | * list and set up the IOCB tag array accordingly. |
3754 | * | 3754 | * |
3755 | * Return codes | 3755 | * Return codes |
3756 | * 0 - sucessful | 3756 | * 0 - successful |
3757 | * other values - error | 3757 | * other values - error |
3758 | **/ | 3758 | **/ |
3759 | static int | 3759 | static int |
@@ -3872,7 +3872,7 @@ lpfc_free_active_sgl(struct lpfc_hba *phba) | |||
3872 | * list and set up the sgl xritag tag array accordingly. | 3872 | * list and set up the sgl xritag tag array accordingly. |
3873 | * | 3873 | * |
3874 | * Return codes | 3874 | * Return codes |
3875 | * 0 - sucessful | 3875 | * 0 - successful |
3876 | * other values - error | 3876 | * other values - error |
3877 | **/ | 3877 | **/ |
3878 | static int | 3878 | static int |
@@ -3986,7 +3986,7 @@ out_free_mem: | |||
3986 | * enabled and the driver is reinitializing the device. | 3986 | * enabled and the driver is reinitializing the device. |
3987 | * | 3987 | * |
3988 | * Return codes | 3988 | * Return codes |
3989 | * 0 - sucessful | 3989 | * 0 - successful |
3990 | * ENOMEM - No availble memory | 3990 | * ENOMEM - No availble memory |
3991 | * EIO - The mailbox failed to complete successfully. | 3991 | * EIO - The mailbox failed to complete successfully. |
3992 | **/ | 3992 | **/ |
@@ -4146,7 +4146,7 @@ lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba *phba) | |||
4146 | * PCI device data structure is set. | 4146 | * PCI device data structure is set. |
4147 | * | 4147 | * |
4148 | * Return codes | 4148 | * Return codes |
4149 | * pointer to @phba - sucessful | 4149 | * pointer to @phba - successful |
4150 | * NULL - error | 4150 | * NULL - error |
4151 | **/ | 4151 | **/ |
4152 | static struct lpfc_hba * | 4152 | static struct lpfc_hba * |
@@ -4202,7 +4202,7 @@ lpfc_hba_free(struct lpfc_hba *phba) | |||
4202 | * host with it. | 4202 | * host with it. |
4203 | * | 4203 | * |
4204 | * Return codes | 4204 | * Return codes |
4205 | * 0 - sucessful | 4205 | * 0 - successful |
4206 | * other values - error | 4206 | * other values - error |
4207 | **/ | 4207 | **/ |
4208 | static int | 4208 | static int |
@@ -4365,7 +4365,7 @@ lpfc_post_init_setup(struct lpfc_hba *phba) | |||
4365 | * with SLI-3 interface spec. | 4365 | * with SLI-3 interface spec. |
4366 | * | 4366 | * |
4367 | * Return codes | 4367 | * Return codes |
4368 | * 0 - sucessful | 4368 | * 0 - successful |
4369 | * other values - error | 4369 | * other values - error |
4370 | **/ | 4370 | **/ |
4371 | static int | 4371 | static int |
@@ -4662,7 +4662,7 @@ lpfc_sli4_bar2_register_memmap(struct lpfc_hba *phba, uint32_t vf) | |||
4662 | * this routine. | 4662 | * this routine. |
4663 | * | 4663 | * |
4664 | * Return codes | 4664 | * Return codes |
4665 | * 0 - sucessful | 4665 | * 0 - successful |
4666 | * ENOMEM - could not allocated memory. | 4666 | * ENOMEM - could not allocated memory. |
4667 | **/ | 4667 | **/ |
4668 | static int | 4668 | static int |
@@ -4761,7 +4761,7 @@ lpfc_destroy_bootstrap_mbox(struct lpfc_hba *phba) | |||
4761 | * allocation for the port. | 4761 | * allocation for the port. |
4762 | * | 4762 | * |
4763 | * Return codes | 4763 | * Return codes |
4764 | * 0 - sucessful | 4764 | * 0 - successful |
4765 | * ENOMEM - No availble memory | 4765 | * ENOMEM - No availble memory |
4766 | * EIO - The mailbox failed to complete successfully. | 4766 | * EIO - The mailbox failed to complete successfully. |
4767 | **/ | 4767 | **/ |
@@ -4861,7 +4861,7 @@ lpfc_sli4_read_config(struct lpfc_hba *phba) | |||
4861 | * HBA consistent with the SLI-4 interface spec. | 4861 | * HBA consistent with the SLI-4 interface spec. |
4862 | * | 4862 | * |
4863 | * Return codes | 4863 | * Return codes |
4864 | * 0 - sucessful | 4864 | * 0 - successful |
4865 | * ENOMEM - No availble memory | 4865 | * ENOMEM - No availble memory |
4866 | * EIO - The mailbox failed to complete successfully. | 4866 | * EIO - The mailbox failed to complete successfully. |
4867 | **/ | 4867 | **/ |
@@ -4910,7 +4910,7 @@ lpfc_setup_endian_order(struct lpfc_hba *phba) | |||
4910 | * we just use some constant number as place holder. | 4910 | * we just use some constant number as place holder. |
4911 | * | 4911 | * |
4912 | * Return codes | 4912 | * Return codes |
4913 | * 0 - sucessful | 4913 | * 0 - successful |
4914 | * ENOMEM - No availble memory | 4914 | * ENOMEM - No availble memory |
4915 | * EIO - The mailbox failed to complete successfully. | 4915 | * EIO - The mailbox failed to complete successfully. |
4916 | **/ | 4916 | **/ |
@@ -5218,7 +5218,7 @@ out_error: | |||
5218 | * operation. | 5218 | * operation. |
5219 | * | 5219 | * |
5220 | * Return codes | 5220 | * Return codes |
5221 | * 0 - sucessful | 5221 | * 0 - successful |
5222 | * ENOMEM - No availble memory | 5222 | * ENOMEM - No availble memory |
5223 | * EIO - The mailbox failed to complete successfully. | 5223 | * EIO - The mailbox failed to complete successfully. |
5224 | **/ | 5224 | **/ |
@@ -5286,7 +5286,7 @@ lpfc_sli4_queue_destroy(struct lpfc_hba *phba) | |||
5286 | * operation. | 5286 | * operation. |
5287 | * | 5287 | * |
5288 | * Return codes | 5288 | * Return codes |
5289 | * 0 - sucessful | 5289 | * 0 - successful |
5290 | * ENOMEM - No availble memory | 5290 | * ENOMEM - No availble memory |
5291 | * EIO - The mailbox failed to complete successfully. | 5291 | * EIO - The mailbox failed to complete successfully. |
5292 | **/ | 5292 | **/ |
@@ -5552,7 +5552,7 @@ out_error: | |||
5552 | * operation. | 5552 | * operation. |
5553 | * | 5553 | * |
5554 | * Return codes | 5554 | * Return codes |
5555 | * 0 - sucessful | 5555 | * 0 - successful |
5556 | * ENOMEM - No availble memory | 5556 | * ENOMEM - No availble memory |
5557 | * EIO - The mailbox failed to complete successfully. | 5557 | * EIO - The mailbox failed to complete successfully. |
5558 | **/ | 5558 | **/ |
@@ -5599,7 +5599,7 @@ lpfc_sli4_queue_unset(struct lpfc_hba *phba) | |||
5599 | * Later, this can be used for all the slow-path events. | 5599 | * Later, this can be used for all the slow-path events. |
5600 | * | 5600 | * |
5601 | * Return codes | 5601 | * Return codes |
5602 | * 0 - sucessful | 5602 | * 0 - successful |
5603 | * -ENOMEM - No availble memory | 5603 | * -ENOMEM - No availble memory |
5604 | **/ | 5604 | **/ |
5605 | static int | 5605 | static int |
@@ -5760,7 +5760,7 @@ lpfc_sli4_cq_event_release_all(struct lpfc_hba *phba) | |||
5760 | * all resources assigned to the PCI function which originates this request. | 5760 | * all resources assigned to the PCI function which originates this request. |
5761 | * | 5761 | * |
5762 | * Return codes | 5762 | * Return codes |
5763 | * 0 - sucessful | 5763 | * 0 - successful |
5764 | * ENOMEM - No availble memory | 5764 | * ENOMEM - No availble memory |
5765 | * EIO - The mailbox failed to complete successfully. | 5765 | * EIO - The mailbox failed to complete successfully. |
5766 | **/ | 5766 | **/ |
@@ -5923,7 +5923,7 @@ lpfc_sli4_fcfi_unreg(struct lpfc_hba *phba, uint16_t fcfi) | |||
5923 | * with SLI-4 interface spec. | 5923 | * with SLI-4 interface spec. |
5924 | * | 5924 | * |
5925 | * Return codes | 5925 | * Return codes |
5926 | * 0 - sucessful | 5926 | * 0 - successful |
5927 | * other values - error | 5927 | * other values - error |
5928 | **/ | 5928 | **/ |
5929 | static int | 5929 | static int |
@@ -6052,7 +6052,7 @@ lpfc_sli4_pci_mem_unset(struct lpfc_hba *phba) | |||
6052 | * will be left with MSI-X enabled and leaks its vectors. | 6052 | * will be left with MSI-X enabled and leaks its vectors. |
6053 | * | 6053 | * |
6054 | * Return codes | 6054 | * Return codes |
6055 | * 0 - sucessful | 6055 | * 0 - successful |
6056 | * other values - error | 6056 | * other values - error |
6057 | **/ | 6057 | **/ |
6058 | static int | 6058 | static int |
@@ -6184,7 +6184,7 @@ lpfc_sli_disable_msix(struct lpfc_hba *phba) | |||
6184 | * is done in this function. | 6184 | * is done in this function. |
6185 | * | 6185 | * |
6186 | * Return codes | 6186 | * Return codes |
6187 | * 0 - sucessful | 6187 | * 0 - successful |
6188 | * other values - error | 6188 | * other values - error |
6189 | */ | 6189 | */ |
6190 | static int | 6190 | static int |
@@ -6243,7 +6243,7 @@ lpfc_sli_disable_msi(struct lpfc_hba *phba) | |||
6243 | * MSI-X -> MSI -> IRQ. | 6243 | * MSI-X -> MSI -> IRQ. |
6244 | * | 6244 | * |
6245 | * Return codes | 6245 | * Return codes |
6246 | * 0 - sucessful | 6246 | * 0 - successful |
6247 | * other values - error | 6247 | * other values - error |
6248 | **/ | 6248 | **/ |
6249 | static uint32_t | 6249 | static uint32_t |
@@ -6333,7 +6333,7 @@ lpfc_sli_disable_intr(struct lpfc_hba *phba) | |||
6333 | * enabled and leaks its vectors. | 6333 | * enabled and leaks its vectors. |
6334 | * | 6334 | * |
6335 | * Return codes | 6335 | * Return codes |
6336 | * 0 - sucessful | 6336 | * 0 - successful |
6337 | * other values - error | 6337 | * other values - error |
6338 | **/ | 6338 | **/ |
6339 | static int | 6339 | static int |
@@ -6443,7 +6443,7 @@ lpfc_sli4_disable_msix(struct lpfc_hba *phba) | |||
6443 | * which is done in this function. | 6443 | * which is done in this function. |
6444 | * | 6444 | * |
6445 | * Return codes | 6445 | * Return codes |
6446 | * 0 - sucessful | 6446 | * 0 - successful |
6447 | * other values - error | 6447 | * other values - error |
6448 | **/ | 6448 | **/ |
6449 | static int | 6449 | static int |
@@ -6508,7 +6508,7 @@ lpfc_sli4_disable_msi(struct lpfc_hba *phba) | |||
6508 | * MSI-X -> MSI -> IRQ. | 6508 | * MSI-X -> MSI -> IRQ. |
6509 | * | 6509 | * |
6510 | * Return codes | 6510 | * Return codes |
6511 | * 0 - sucessful | 6511 | * 0 - successful |
6512 | * other values - error | 6512 | * other values - error |
6513 | **/ | 6513 | **/ |
6514 | static uint32_t | 6514 | static uint32_t |
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 43cbe336f1f8..42d4f3dae1d6 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -1794,7 +1794,7 @@ lpfc_sli_handle_mb_event(struct lpfc_hba *phba) | |||
1794 | */ | 1794 | */ |
1795 | if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) == | 1795 | if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) == |
1796 | MBX_SHUTDOWN) { | 1796 | MBX_SHUTDOWN) { |
1797 | /* Unknow mailbox command compl */ | 1797 | /* Unknown mailbox command compl */ |
1798 | lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI, | 1798 | lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI, |
1799 | "(%d):0323 Unknown Mailbox command " | 1799 | "(%d):0323 Unknown Mailbox command " |
1800 | "x%x (x%x) Cmpl\n", | 1800 | "x%x (x%x) Cmpl\n", |
@@ -4163,7 +4163,7 @@ lpfc_sli4_read_fcoe_params(struct lpfc_hba *phba, | |||
4163 | * addition, this routine gets the port vpd data. | 4163 | * addition, this routine gets the port vpd data. |
4164 | * | 4164 | * |
4165 | * Return codes | 4165 | * Return codes |
4166 | * 0 - sucessful | 4166 | * 0 - successful |
4167 | * ENOMEM - could not allocated memory. | 4167 | * ENOMEM - could not allocated memory. |
4168 | **/ | 4168 | **/ |
4169 | static int | 4169 | static int |
@@ -11091,7 +11091,7 @@ lpfc_sli4_handle_received_buffer(struct lpfc_hba *phba) | |||
11091 | * sequential. | 11091 | * sequential. |
11092 | * | 11092 | * |
11093 | * Return codes | 11093 | * Return codes |
11094 | * 0 - sucessful | 11094 | * 0 - successful |
11095 | * EIO - The mailbox failed to complete successfully. | 11095 | * EIO - The mailbox failed to complete successfully. |
11096 | * When this error occurs, the driver is not guaranteed | 11096 | * When this error occurs, the driver is not guaranteed |
11097 | * to have any rpi regions posted to the device and | 11097 | * to have any rpi regions posted to the device and |
@@ -11129,7 +11129,7 @@ lpfc_sli4_post_all_rpi_hdrs(struct lpfc_hba *phba) | |||
11129 | * maps up to 64 rpi context regions. | 11129 | * maps up to 64 rpi context regions. |
11130 | * | 11130 | * |
11131 | * Return codes | 11131 | * Return codes |
11132 | * 0 - sucessful | 11132 | * 0 - successful |
11133 | * ENOMEM - No available memory | 11133 | * ENOMEM - No available memory |
11134 | * EIO - The mailbox failed to complete successfully. | 11134 | * EIO - The mailbox failed to complete successfully. |
11135 | **/ | 11135 | **/ |
@@ -11191,7 +11191,7 @@ lpfc_sli4_post_rpi_hdr(struct lpfc_hba *phba, struct lpfc_rpi_hdr *rpi_page) | |||
11191 | * PAGE_SIZE modulo 64 rpi context headers. | 11191 | * PAGE_SIZE modulo 64 rpi context headers. |
11192 | * | 11192 | * |
11193 | * Returns | 11193 | * Returns |
11194 | * A nonzero rpi defined as rpi_base <= rpi < max_rpi if sucessful | 11194 | * A nonzero rpi defined as rpi_base <= rpi < max_rpi if successful |
11195 | * LPFC_RPI_ALLOC_ERROR if no rpis are available. | 11195 | * LPFC_RPI_ALLOC_ERROR if no rpis are available. |
11196 | **/ | 11196 | **/ |
11197 | int | 11197 | int |
diff --git a/drivers/scsi/megaraid.h b/drivers/scsi/megaraid.h index 512c2cc1a33f..d310f49d077e 100644 --- a/drivers/scsi/megaraid.h +++ b/drivers/scsi/megaraid.h | |||
@@ -381,7 +381,7 @@ typedef struct { | |||
381 | u8 battery_status; /* | 381 | u8 battery_status; /* |
382 | * BIT 0: battery module missing | 382 | * BIT 0: battery module missing |
383 | * BIT 1: VBAD | 383 | * BIT 1: VBAD |
384 | * BIT 2: temprature high | 384 | * BIT 2: temperature high |
385 | * BIT 3: battery pack missing | 385 | * BIT 3: battery pack missing |
386 | * BIT 4,5: | 386 | * BIT 4,5: |
387 | * 00 - charge complete | 387 | * 00 - charge complete |
diff --git a/drivers/scsi/megaraid/mbox_defs.h b/drivers/scsi/megaraid/mbox_defs.h index b25b74764ec3..ce2487a888ed 100644 --- a/drivers/scsi/megaraid/mbox_defs.h +++ b/drivers/scsi/megaraid/mbox_defs.h | |||
@@ -497,7 +497,7 @@ typedef struct { | |||
497 | * @inserted_drive : channel:Id of inserted drive | 497 | * @inserted_drive : channel:Id of inserted drive |
498 | * @battery_status : bit 0: battery module missing | 498 | * @battery_status : bit 0: battery module missing |
499 | * bit 1: VBAD | 499 | * bit 1: VBAD |
500 | * bit 2: temprature high | 500 | * bit 2: temperature high |
501 | * bit 3: battery pack missing | 501 | * bit 3: battery pack missing |
502 | * bit 4,5: | 502 | * bit 4,5: |
503 | * 00 - charge complete | 503 | * 00 - charge complete |
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index 234f0b7eb21c..f9ae8037a710 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c | |||
@@ -2704,7 +2704,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp) | |||
2704 | } | 2704 | } |
2705 | else { | 2705 | else { |
2706 | con_log(CL_ANN, (KERN_NOTICE | 2706 | con_log(CL_ANN, (KERN_NOTICE |
2707 | "megaraid mbox: reset sequence completed sucessfully\n")); | 2707 | "megaraid mbox: reset sequence completed successfully\n")); |
2708 | } | 2708 | } |
2709 | 2709 | ||
2710 | 2710 | ||
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 86ab32d7ab15..756e509d495c 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c | |||
@@ -2894,7 +2894,7 @@ _scsih_normalize_sense(char *sense_buffer, struct sense_info *data) | |||
2894 | 2894 | ||
2895 | #ifdef CONFIG_SCSI_MPT2SAS_LOGGING | 2895 | #ifdef CONFIG_SCSI_MPT2SAS_LOGGING |
2896 | /** | 2896 | /** |
2897 | * _scsih_scsi_ioc_info - translated non-succesfull SCSI_IO request | 2897 | * _scsih_scsi_ioc_info - translated non-successfull SCSI_IO request |
2898 | * @ioc: per adapter object | 2898 | * @ioc: per adapter object |
2899 | * @scmd: pointer to scsi command object | 2899 | * @scmd: pointer to scsi command object |
2900 | * @mpi_reply: reply mf payload returned from firmware | 2900 | * @mpi_reply: reply mf payload returned from firmware |
diff --git a/drivers/scsi/ncr53c8xx.c b/drivers/scsi/ncr53c8xx.c index e3c482aa87b5..a2d569828308 100644 --- a/drivers/scsi/ncr53c8xx.c +++ b/drivers/scsi/ncr53c8xx.c | |||
@@ -6495,7 +6495,7 @@ static void ncr_int_ma (struct ncb *np) | |||
6495 | ** we force a SIR_NEGO_PROTO interrupt (it is a hack that avoids | 6495 | ** we force a SIR_NEGO_PROTO interrupt (it is a hack that avoids |
6496 | ** bloat for such a should_not_happen situation). | 6496 | ** bloat for such a should_not_happen situation). |
6497 | ** In all other situation, we reset the BUS. | 6497 | ** In all other situation, we reset the BUS. |
6498 | ** Are these assumptions reasonnable ? (Wait and see ...) | 6498 | ** Are these assumptions reasonable ? (Wait and see ...) |
6499 | */ | 6499 | */ |
6500 | unexpected_phase: | 6500 | unexpected_phase: |
6501 | dsp -= 8; | 6501 | dsp -= 8; |
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c index f7c70e2a8224..d3d39f86fcf7 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -3342,7 +3342,7 @@ static int pmcraid_chr_fasync(int fd, struct file *filep, int mode) | |||
3342 | * @direction : data transfer direction | 3342 | * @direction : data transfer direction |
3343 | * | 3343 | * |
3344 | * Return value | 3344 | * Return value |
3345 | * 0 on sucess, non-zero error code on failure | 3345 | * 0 on success, non-zero error code on failure |
3346 | */ | 3346 | */ |
3347 | static int pmcraid_build_passthrough_ioadls( | 3347 | static int pmcraid_build_passthrough_ioadls( |
3348 | struct pmcraid_cmd *cmd, | 3348 | struct pmcraid_cmd *cmd, |
@@ -3401,7 +3401,7 @@ static int pmcraid_build_passthrough_ioadls( | |||
3401 | * @direction: data transfer direction | 3401 | * @direction: data transfer direction |
3402 | * | 3402 | * |
3403 | * Return value | 3403 | * Return value |
3404 | * 0 on sucess, non-zero error code on failure | 3404 | * 0 on success, non-zero error code on failure |
3405 | */ | 3405 | */ |
3406 | static void pmcraid_release_passthrough_ioadls( | 3406 | static void pmcraid_release_passthrough_ioadls( |
3407 | struct pmcraid_cmd *cmd, | 3407 | struct pmcraid_cmd *cmd, |
@@ -3429,7 +3429,7 @@ static void pmcraid_release_passthrough_ioadls( | |||
3429 | * @arg: pointer to pmcraid_passthrough_buffer user buffer | 3429 | * @arg: pointer to pmcraid_passthrough_buffer user buffer |
3430 | * | 3430 | * |
3431 | * Return value | 3431 | * Return value |
3432 | * 0 on sucess, non-zero error code on failure | 3432 | * 0 on success, non-zero error code on failure |
3433 | */ | 3433 | */ |
3434 | static long pmcraid_ioctl_passthrough( | 3434 | static long pmcraid_ioctl_passthrough( |
3435 | struct pmcraid_instance *pinstance, | 3435 | struct pmcraid_instance *pinstance, |
diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h index 3441b3f90827..2752b56cad56 100644 --- a/drivers/scsi/pmcraid.h +++ b/drivers/scsi/pmcraid.h | |||
@@ -771,11 +771,11 @@ static struct pmcraid_ioasc_error pmcraid_ioasc_error_table[] = { | |||
771 | {0x01180600, IOASC_LOG_LEVEL_MUST, | 771 | {0x01180600, IOASC_LOG_LEVEL_MUST, |
772 | "Recovered Error, soft media error, sector reassignment suggested"}, | 772 | "Recovered Error, soft media error, sector reassignment suggested"}, |
773 | {0x015D0000, IOASC_LOG_LEVEL_MUST, | 773 | {0x015D0000, IOASC_LOG_LEVEL_MUST, |
774 | "Recovered Error, failure prediction thresold exceeded"}, | 774 | "Recovered Error, failure prediction threshold exceeded"}, |
775 | {0x015D9200, IOASC_LOG_LEVEL_MUST, | 775 | {0x015D9200, IOASC_LOG_LEVEL_MUST, |
776 | "Recovered Error, soft Cache Card Battery error thresold"}, | 776 | "Recovered Error, soft Cache Card Battery error threshold"}, |
777 | {0x015D9200, IOASC_LOG_LEVEL_MUST, | 777 | {0x015D9200, IOASC_LOG_LEVEL_MUST, |
778 | "Recovered Error, soft Cache Card Battery error thresold"}, | 778 | "Recovered Error, soft Cache Card Battery error threshold"}, |
779 | {0x02048000, IOASC_LOG_LEVEL_MUST, | 779 | {0x02048000, IOASC_LOG_LEVEL_MUST, |
780 | "Not Ready, IOA Reset Required"}, | 780 | "Not Ready, IOA Reset Required"}, |
781 | {0x02408500, IOASC_LOG_LEVEL_MUST, | 781 | {0x02408500, IOASC_LOG_LEVEL_MUST, |
diff --git a/drivers/scsi/scsi_netlink.c b/drivers/scsi/scsi_netlink.c index 723fdecd91bd..0fd6ae6911ad 100644 --- a/drivers/scsi/scsi_netlink.c +++ b/drivers/scsi/scsi_netlink.c | |||
@@ -613,7 +613,7 @@ EXPORT_SYMBOL_GPL(scsi_nl_send_transport_msg); | |||
613 | * @data_buf: pointer to vendor unique data buffer | 613 | * @data_buf: pointer to vendor unique data buffer |
614 | * | 614 | * |
615 | * Returns: | 615 | * Returns: |
616 | * 0 on succesful return | 616 | * 0 on successful return |
617 | * otherwise, failing error code | 617 | * otherwise, failing error code |
618 | * | 618 | * |
619 | * Notes: | 619 | * Notes: |
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index fd47cb1bee1b..f27e52d963d3 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c | |||
@@ -666,7 +666,7 @@ EXPORT_SYMBOL(sas_phy_add); | |||
666 | * | 666 | * |
667 | * Note: | 667 | * Note: |
668 | * This function must only be called on a PHY that has not | 668 | * This function must only be called on a PHY that has not |
669 | * sucessfully been added using sas_phy_add(). | 669 | * successfully been added using sas_phy_add(). |
670 | */ | 670 | */ |
671 | void sas_phy_free(struct sas_phy *phy) | 671 | void sas_phy_free(struct sas_phy *phy) |
672 | { | 672 | { |
@@ -896,7 +896,7 @@ EXPORT_SYMBOL(sas_port_add); | |||
896 | * | 896 | * |
897 | * Note: | 897 | * Note: |
898 | * This function must only be called on a PORT that has not | 898 | * This function must only be called on a PORT that has not |
899 | * sucessfully been added using sas_port_add(). | 899 | * successfully been added using sas_port_add(). |
900 | */ | 900 | */ |
901 | void sas_port_free(struct sas_port *port) | 901 | void sas_port_free(struct sas_port *port) |
902 | { | 902 | { |
@@ -1476,7 +1476,7 @@ EXPORT_SYMBOL(sas_rphy_add); | |||
1476 | * | 1476 | * |
1477 | * Note: | 1477 | * Note: |
1478 | * This function must only be called on a remote | 1478 | * This function must only be called on a remote |
1479 | * PHY that has not sucessfully been added using | 1479 | * PHY that has not successfully been added using |
1480 | * sas_rphy_add() (or has been sas_rphy_remove()'d) | 1480 | * sas_rphy_add() (or has been sas_rphy_remove()'d) |
1481 | */ | 1481 | */ |
1482 | void sas_rphy_free(struct sas_rphy *rphy) | 1482 | void sas_rphy_free(struct sas_rphy *rphy) |
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index 45374d66d26a..2b38f6ad6e11 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -1864,7 +1864,7 @@ static pci_ers_result_t sym2_io_slot_dump(struct pci_dev *pdev) | |||
1864 | * | 1864 | * |
1865 | * This routine is similar to sym_set_workarounds(), except | 1865 | * This routine is similar to sym_set_workarounds(), except |
1866 | * that, at this point, we already know that the device was | 1866 | * that, at this point, we already know that the device was |
1867 | * succesfully intialized at least once before, and so most | 1867 | * successfully intialized at least once before, and so most |
1868 | * of the steps taken there are un-needed here. | 1868 | * of the steps taken there are un-needed here. |
1869 | */ | 1869 | */ |
1870 | static void sym2_reset_workarounds(struct pci_dev *pdev) | 1870 | static void sym2_reset_workarounds(struct pci_dev *pdev) |
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c index 297deb817a5d..a7bc8b7b09ac 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.c +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c | |||
@@ -2692,7 +2692,7 @@ static void sym_int_ma (struct sym_hcb *np) | |||
2692 | * we force a SIR_NEGO_PROTO interrupt (it is a hack that avoids | 2692 | * we force a SIR_NEGO_PROTO interrupt (it is a hack that avoids |
2693 | * bloat for such a should_not_happen situation). | 2693 | * bloat for such a should_not_happen situation). |
2694 | * In all other situation, we reset the BUS. | 2694 | * In all other situation, we reset the BUS. |
2695 | * Are these assumptions reasonnable ? (Wait and see ...) | 2695 | * Are these assumptions reasonable ? (Wait and see ...) |
2696 | */ | 2696 | */ |
2697 | unexpected_phase: | 2697 | unexpected_phase: |
2698 | dsp -= 8; | 2698 | dsp -= 8; |
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.h b/drivers/scsi/sym53c8xx_2/sym_hipd.h index 053e63c86822..5a80cbac3f92 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.h +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.h | |||
@@ -54,7 +54,7 @@ | |||
54 | * | 54 | * |
55 | * SYM_OPT_LIMIT_COMMAND_REORDERING | 55 | * SYM_OPT_LIMIT_COMMAND_REORDERING |
56 | * When this option is set, the driver tries to limit tagged | 56 | * When this option is set, the driver tries to limit tagged |
57 | * command reordering to some reasonnable value. | 57 | * command reordering to some reasonable value. |
58 | * (set for Linux) | 58 | * (set for Linux) |
59 | */ | 59 | */ |
60 | #if 0 | 60 | #if 0 |
diff --git a/drivers/serial/8250_pnp.c b/drivers/serial/8250_pnp.c index d71dfe398940..36ede02ceacf 100644 --- a/drivers/serial/8250_pnp.c +++ b/drivers/serial/8250_pnp.c | |||
@@ -361,9 +361,9 @@ static const struct pnp_device_id pnp_dev_table[] = { | |||
361 | { "LTS0001", 0 }, | 361 | { "LTS0001", 0 }, |
362 | /* Rockwell's (PORALiNK) 33600 INT PNP */ | 362 | /* Rockwell's (PORALiNK) 33600 INT PNP */ |
363 | { "WCI0003", 0 }, | 363 | { "WCI0003", 0 }, |
364 | /* Unkown PnP modems */ | 364 | /* Unknown PnP modems */ |
365 | { "PNPCXXX", UNKNOWN_DEV }, | 365 | { "PNPCXXX", UNKNOWN_DEV }, |
366 | /* More unkown PnP modems */ | 366 | /* More unknown PnP modems */ |
367 | { "PNPDXXX", UNKNOWN_DEV }, | 367 | { "PNPDXXX", UNKNOWN_DEV }, |
368 | { "", 0 } | 368 | { "", 0 } |
369 | }; | 369 | }; |
diff --git a/drivers/serial/pmac_zilog.h b/drivers/serial/pmac_zilog.h index 570b0d925e83..f6e77f12acd5 100644 --- a/drivers/serial/pmac_zilog.h +++ b/drivers/serial/pmac_zilog.h | |||
@@ -73,7 +73,7 @@ static inline struct uart_pmac_port *pmz_get_port_A(struct uart_pmac_port *uap) | |||
73 | } | 73 | } |
74 | 74 | ||
75 | /* | 75 | /* |
76 | * Register acessors. Note that we don't need to enforce a recovery | 76 | * Register accessors. Note that we don't need to enforce a recovery |
77 | * delay on PCI PowerMac hardware, it's dealt in HW by the MacIO chip, | 77 | * delay on PCI PowerMac hardware, it's dealt in HW by the MacIO chip, |
78 | * though if we try to use this driver on older machines, we might have | 78 | * though if we try to use this driver on older machines, we might have |
79 | * to add it back | 79 | * to add it back |
diff --git a/drivers/serial/ucc_uart.c b/drivers/serial/ucc_uart.c index 0c08f286a2ef..46de564aaea0 100644 --- a/drivers/serial/ucc_uart.c +++ b/drivers/serial/ucc_uart.c | |||
@@ -313,7 +313,7 @@ static void qe_uart_stop_tx(struct uart_port *port) | |||
313 | * This function will attempt to stuff of all the characters from the | 313 | * This function will attempt to stuff of all the characters from the |
314 | * kernel's transmit buffer into TX BDs. | 314 | * kernel's transmit buffer into TX BDs. |
315 | * | 315 | * |
316 | * A return value of non-zero indicates that it sucessfully stuffed all | 316 | * A return value of non-zero indicates that it successfully stuffed all |
317 | * characters from the kernel buffer. | 317 | * characters from the kernel buffer. |
318 | * | 318 | * |
319 | * A return value of zero indicates that there are still characters in the | 319 | * A return value of zero indicates that there are still characters in the |
diff --git a/drivers/telephony/ixj.c b/drivers/telephony/ixj.c index 40de151f2789..e89304c72568 100644 --- a/drivers/telephony/ixj.c +++ b/drivers/telephony/ixj.c | |||
@@ -4190,7 +4190,7 @@ static void ixj_aec_start(IXJ *j, int level) | |||
4190 | ixj_WriteDSPCommand(0x1224, j); | 4190 | ixj_WriteDSPCommand(0x1224, j); |
4191 | 4191 | ||
4192 | ixj_WriteDSPCommand(0xE014, j); | 4192 | ixj_WriteDSPCommand(0xE014, j); |
4193 | ixj_WriteDSPCommand(0x0003, j); /* Lock threashold at 3dB */ | 4193 | ixj_WriteDSPCommand(0x0003, j); /* Lock threshold at 3dB */ |
4194 | 4194 | ||
4195 | ixj_WriteDSPCommand(0xE338, j); /* Set Echo Suppresser Attenuation to 0dB */ | 4195 | ixj_WriteDSPCommand(0xE338, j); /* Set Echo Suppresser Attenuation to 0dB */ |
4196 | 4196 | ||
@@ -4235,7 +4235,7 @@ static void ixj_aec_start(IXJ *j, int level) | |||
4235 | ixj_WriteDSPCommand(0x1224, j); | 4235 | ixj_WriteDSPCommand(0x1224, j); |
4236 | 4236 | ||
4237 | ixj_WriteDSPCommand(0xE014, j); | 4237 | ixj_WriteDSPCommand(0xE014, j); |
4238 | ixj_WriteDSPCommand(0x0003, j); /* Lock threashold at 3dB */ | 4238 | ixj_WriteDSPCommand(0x0003, j); /* Lock threshold at 3dB */ |
4239 | 4239 | ||
4240 | ixj_WriteDSPCommand(0xE338, j); /* Set Echo Suppresser Attenuation to 0dB */ | 4240 | ixj_WriteDSPCommand(0xE338, j); /* Set Echo Suppresser Attenuation to 0dB */ |
4241 | 4241 | ||
diff --git a/drivers/usb/atm/ueagle-atm.c b/drivers/usb/atm/ueagle-atm.c index d171b563e94c..bba4d3eabe0f 100644 --- a/drivers/usb/atm/ueagle-atm.c +++ b/drivers/usb/atm/ueagle-atm.c | |||
@@ -1958,7 +1958,7 @@ static void uea_dispatch_cmv_e1(struct uea_softc *sc, struct intr_pkt *intr) | |||
1958 | goto bad1; | 1958 | goto bad1; |
1959 | 1959 | ||
1960 | /* FIXME : ADI930 reply wrong preambule (func = 2, sub = 2) to | 1960 | /* FIXME : ADI930 reply wrong preambule (func = 2, sub = 2) to |
1961 | * the first MEMACESS cmv. Ignore it... | 1961 | * the first MEMACCESS cmv. Ignore it... |
1962 | */ | 1962 | */ |
1963 | if (cmv->bFunction != dsc->function) { | 1963 | if (cmv->bFunction != dsc->function) { |
1964 | if (UEA_CHIP_VERSION(sc) == ADI930 | 1964 | if (UEA_CHIP_VERSION(sc) == ADI930 |
diff --git a/drivers/usb/class/usbtmc.c b/drivers/usb/class/usbtmc.c index 2473cf0c6b1d..b4bd2411c666 100644 --- a/drivers/usb/class/usbtmc.c +++ b/drivers/usb/class/usbtmc.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /** | 1 | /** |
2 | * drivers/usb/class/usbtmc.c - USB Test & Measurment class driver | 2 | * drivers/usb/class/usbtmc.c - USB Test & Measurement class driver |
3 | * | 3 | * |
4 | * Copyright (C) 2007 Stefan Kopp, Gechingen, Germany | 4 | * Copyright (C) 2007 Stefan Kopp, Gechingen, Germany |
5 | * Copyright (C) 2008 Novell, Inc. | 5 | * Copyright (C) 2008 Novell, Inc. |
diff --git a/drivers/usb/core/message.c b/drivers/usb/core/message.c index da718e84d58d..e80f1af438c8 100644 --- a/drivers/usb/core/message.c +++ b/drivers/usb/core/message.c | |||
@@ -1890,7 +1890,7 @@ static void cancel_async_set_config(struct usb_device *udev) | |||
1890 | * routine gets around the normal restrictions by using a work thread to | 1890 | * routine gets around the normal restrictions by using a work thread to |
1891 | * submit the change-config request. | 1891 | * submit the change-config request. |
1892 | * | 1892 | * |
1893 | * Returns 0 if the request was succesfully queued, error code otherwise. | 1893 | * Returns 0 if the request was successfully queued, error code otherwise. |
1894 | * The caller has no way to know whether the queued request will eventually | 1894 | * The caller has no way to know whether the queued request will eventually |
1895 | * succeed. | 1895 | * succeed. |
1896 | */ | 1896 | */ |
diff --git a/drivers/usb/gadget/f_acm.c b/drivers/usb/gadget/f_acm.c index 7953948bfe4a..4e3657808b0f 100644 --- a/drivers/usb/gadget/f_acm.c +++ b/drivers/usb/gadget/f_acm.c | |||
@@ -432,7 +432,7 @@ static void acm_disable(struct usb_function *f) | |||
432 | * @length: size of data | 432 | * @length: size of data |
433 | * Context: irqs blocked, acm->lock held, acm_notify_req non-null | 433 | * Context: irqs blocked, acm->lock held, acm_notify_req non-null |
434 | * | 434 | * |
435 | * Returns zero on sucess or a negative errno. | 435 | * Returns zero on success or a negative errno. |
436 | * | 436 | * |
437 | * See section 6.3.5 of the CDC 1.1 specification for information | 437 | * See section 6.3.5 of the CDC 1.1 specification for information |
438 | * about the only notification we issue: SerialState change. | 438 | * about the only notification we issue: SerialState change. |
diff --git a/drivers/usb/gadget/pxa27x_udc.c b/drivers/usb/gadget/pxa27x_udc.c index 1937d8c7b433..adda1208a1ec 100644 --- a/drivers/usb/gadget/pxa27x_udc.c +++ b/drivers/usb/gadget/pxa27x_udc.c | |||
@@ -1524,7 +1524,7 @@ static int pxa_udc_get_frame(struct usb_gadget *_gadget) | |||
1524 | * pxa_udc_wakeup - Force udc device out of suspend | 1524 | * pxa_udc_wakeup - Force udc device out of suspend |
1525 | * @_gadget: usb gadget | 1525 | * @_gadget: usb gadget |
1526 | * | 1526 | * |
1527 | * Returns 0 if succesfull, error code otherwise | 1527 | * Returns 0 if successfull, error code otherwise |
1528 | */ | 1528 | */ |
1529 | static int pxa_udc_wakeup(struct usb_gadget *_gadget) | 1529 | static int pxa_udc_wakeup(struct usb_gadget *_gadget) |
1530 | { | 1530 | { |
diff --git a/drivers/usb/host/fhci-sched.c b/drivers/usb/host/fhci-sched.c index 62a226b61670..00a29855d0c4 100644 --- a/drivers/usb/host/fhci-sched.c +++ b/drivers/usb/host/fhci-sched.c | |||
@@ -627,7 +627,7 @@ irqreturn_t fhci_irq(struct usb_hcd *hcd) | |||
627 | 627 | ||
628 | 628 | ||
629 | /* | 629 | /* |
630 | * Process normal completions(error or sucess) and clean the schedule. | 630 | * Process normal completions(error or success) and clean the schedule. |
631 | * | 631 | * |
632 | * This is the main path for handing urbs back to drivers. The only other patth | 632 | * This is the main path for handing urbs back to drivers. The only other patth |
633 | * is process_del_list(),which unlinks URBs by scanning EDs,instead of scanning | 633 | * is process_del_list(),which unlinks URBs by scanning EDs,instead of scanning |
diff --git a/drivers/usb/wusbcore/crypto.c b/drivers/usb/wusbcore/crypto.c index 9ec7fd5da489..9579cf4c38bf 100644 --- a/drivers/usb/wusbcore/crypto.c +++ b/drivers/usb/wusbcore/crypto.c | |||
@@ -111,7 +111,7 @@ struct aes_ccm_b1 { | |||
111 | * | 111 | * |
112 | * CCM uses Ax blocks to generate a keystream with which the MIC and | 112 | * CCM uses Ax blocks to generate a keystream with which the MIC and |
113 | * the message's payload are encoded. A0 always encrypts/decrypts the | 113 | * the message's payload are encoded. A0 always encrypts/decrypts the |
114 | * MIC. Ax (x>0) are used for the sucesive payload blocks. | 114 | * MIC. Ax (x>0) are used for the successive payload blocks. |
115 | * | 115 | * |
116 | * The x is the counter, and is increased for each block. | 116 | * The x is the counter, and is increased for each block. |
117 | */ | 117 | */ |
diff --git a/drivers/usb/wusbcore/wa-xfer.c b/drivers/usb/wusbcore/wa-xfer.c index 613a5fc490d3..489b47833e2c 100644 --- a/drivers/usb/wusbcore/wa-xfer.c +++ b/drivers/usb/wusbcore/wa-xfer.c | |||
@@ -558,7 +558,7 @@ static void wa_seg_dto_cb(struct urb *urb) | |||
558 | /* | 558 | /* |
559 | * Callback for the segment request | 559 | * Callback for the segment request |
560 | * | 560 | * |
561 | * If succesful transition state (unless already transitioned or | 561 | * If successful transition state (unless already transitioned or |
562 | * outbound transfer); otherwise, take a note of the error, mark this | 562 | * outbound transfer); otherwise, take a note of the error, mark this |
563 | * segment done and try completion. | 563 | * segment done and try completion. |
564 | * | 564 | * |
@@ -1364,7 +1364,7 @@ segment_aborted: | |||
1364 | /* | 1364 | /* |
1365 | * Callback for the IN data phase | 1365 | * Callback for the IN data phase |
1366 | * | 1366 | * |
1367 | * If succesful transition state; otherwise, take a note of the | 1367 | * If successful transition state; otherwise, take a note of the |
1368 | * error, mark this segment done and try completion. | 1368 | * error, mark this segment done and try completion. |
1369 | * | 1369 | * |
1370 | * Note we don't access until we are sure that the transfer hasn't | 1370 | * Note we don't access until we are sure that the transfer hasn't |
diff --git a/drivers/uwb/i1480/dfu/usb.c b/drivers/uwb/i1480/dfu/usb.c index c7080d497311..0bb665a0c024 100644 --- a/drivers/uwb/i1480/dfu/usb.c +++ b/drivers/uwb/i1480/dfu/usb.c | |||
@@ -229,7 +229,7 @@ void i1480_usb_neep_cb(struct urb *urb) | |||
229 | * will verify it. | 229 | * will verify it. |
230 | * | 230 | * |
231 | * Set i1480->evt_result with the result of getting the event or its | 231 | * Set i1480->evt_result with the result of getting the event or its |
232 | * size (if succesful). | 232 | * size (if successful). |
233 | * | 233 | * |
234 | * Delivers the data directly to i1480->evt_buf | 234 | * Delivers the data directly to i1480->evt_buf |
235 | */ | 235 | */ |
diff --git a/drivers/uwb/wlp/txrx.c b/drivers/uwb/wlp/txrx.c index 86a853b84119..7350ed6909f8 100644 --- a/drivers/uwb/wlp/txrx.c +++ b/drivers/uwb/wlp/txrx.c | |||
@@ -282,7 +282,7 @@ EXPORT_SYMBOL_GPL(wlp_receive_frame); | |||
282 | * and transmission will be done by the calling function. | 282 | * and transmission will be done by the calling function. |
283 | * @dst: On return this will contain the device address to which the | 283 | * @dst: On return this will contain the device address to which the |
284 | * frame is destined. | 284 | * frame is destined. |
285 | * @returns: 0 on success no tx : WLP header sucessfully applied to skb buffer, | 285 | * @returns: 0 on success no tx : WLP header successfully applied to skb buffer, |
286 | * calling function can proceed with tx | 286 | * calling function can proceed with tx |
287 | * 1 on success with tx : WLP will take over transmission of this | 287 | * 1 on success with tx : WLP will take over transmission of this |
288 | * frame | 288 | * frame |
diff --git a/drivers/video/aty/atyfb_base.c b/drivers/video/aty/atyfb_base.c index 913b4a47ae52..1ddeb4c34763 100644 --- a/drivers/video/aty/atyfb_base.c +++ b/drivers/video/aty/atyfb_base.c | |||
@@ -3276,7 +3276,7 @@ static void __devinit aty_init_lcd(struct atyfb_par *par, u32 bios_base) | |||
3276 | txtformat = "24 bit interface"; | 3276 | txtformat = "24 bit interface"; |
3277 | break; | 3277 | break; |
3278 | default: | 3278 | default: |
3279 | txtformat = "unkown format"; | 3279 | txtformat = "unknown format"; |
3280 | } | 3280 | } |
3281 | } else { | 3281 | } else { |
3282 | switch (format & 7) { | 3282 | switch (format & 7) { |
@@ -3299,7 +3299,7 @@ static void __devinit aty_init_lcd(struct atyfb_par *par, u32 bios_base) | |||
3299 | txtformat = "262144 colours (FDPI-2 mode)"; | 3299 | txtformat = "262144 colours (FDPI-2 mode)"; |
3300 | break; | 3300 | break; |
3301 | default: | 3301 | default: |
3302 | txtformat = "unkown format"; | 3302 | txtformat = "unknown format"; |
3303 | } | 3303 | } |
3304 | } | 3304 | } |
3305 | PRINTKI("%s%s %s monitor detected: %s\n", | 3305 | PRINTKI("%s%s %s monitor detected: %s\n", |
diff --git a/drivers/video/backlight/atmel-pwm-bl.c b/drivers/video/backlight/atmel-pwm-bl.c index 505c0823a105..2cf7ba52f67c 100644 --- a/drivers/video/backlight/atmel-pwm-bl.c +++ b/drivers/video/backlight/atmel-pwm-bl.c | |||
@@ -158,7 +158,7 @@ static int atmel_pwm_bl_probe(struct platform_device *pdev) | |||
158 | goto err_free_pwm; | 158 | goto err_free_pwm; |
159 | } | 159 | } |
160 | 160 | ||
161 | /* Turn display off by defatult. */ | 161 | /* Turn display off by default. */ |
162 | retval = gpio_direction_output(pwmbl->gpio_on, | 162 | retval = gpio_direction_output(pwmbl->gpio_on, |
163 | 0 ^ pdata->on_active_low); | 163 | 0 ^ pdata->on_active_low); |
164 | if (retval) | 164 | if (retval) |
diff --git a/drivers/video/backlight/tosa_lcd.c b/drivers/video/backlight/tosa_lcd.c index 50ec17dfc517..fa32b94a4546 100644 --- a/drivers/video/backlight/tosa_lcd.c +++ b/drivers/video/backlight/tosa_lcd.c | |||
@@ -177,7 +177,7 @@ static int __devinit tosa_lcd_probe(struct spi_device *spi) | |||
177 | if (!data) | 177 | if (!data) |
178 | return -ENOMEM; | 178 | return -ENOMEM; |
179 | 179 | ||
180 | data->is_vga = true; /* defaut to VGA mode */ | 180 | data->is_vga = true; /* default to VGA mode */ |
181 | 181 | ||
182 | /* | 182 | /* |
183 | * bits_per_word cannot be configured in platform data | 183 | * bits_per_word cannot be configured in platform data |
diff --git a/drivers/video/console/sticore.c b/drivers/video/console/sticore.c index 857b3668b3ba..6468a297e341 100644 --- a/drivers/video/console/sticore.c +++ b/drivers/video/console/sticore.c | |||
@@ -436,7 +436,7 @@ sti_init_glob_cfg(struct sti_struct *sti, | |||
436 | (offs < PCI_BASE_ADDRESS_0 || | 436 | (offs < PCI_BASE_ADDRESS_0 || |
437 | offs > PCI_BASE_ADDRESS_5)) { | 437 | offs > PCI_BASE_ADDRESS_5)) { |
438 | printk (KERN_WARNING | 438 | printk (KERN_WARNING |
439 | "STI pci region maping for region %d (%02x) can't be mapped\n", | 439 | "STI pci region mapping for region %d (%02x) can't be mapped\n", |
440 | i,sti->rm_entry[i]); | 440 | i,sti->rm_entry[i]); |
441 | continue; | 441 | continue; |
442 | } | 442 | } |
diff --git a/drivers/video/gbefb.c b/drivers/video/gbefb.c index 1a83709f9611..492e6e64b653 100644 --- a/drivers/video/gbefb.c +++ b/drivers/video/gbefb.c | |||
@@ -701,7 +701,7 @@ static int gbefb_set_par(struct fb_info *info) | |||
701 | blocks of 512x128, 256x128 or 128x128 pixels, respectively for 8bit, | 701 | blocks of 512x128, 256x128 or 128x128 pixels, respectively for 8bit, |
702 | 16bit and 32 bit modes (64 kB). They cover the screen with partial | 702 | 16bit and 32 bit modes (64 kB). They cover the screen with partial |
703 | tiles on the right and/or bottom of the screen if needed. | 703 | tiles on the right and/or bottom of the screen if needed. |
704 | For exemple in 640x480 8 bit mode the mapping is: | 704 | For example in 640x480 8 bit mode the mapping is: |
705 | 705 | ||
706 | <-------- 640 -----> | 706 | <-------- 640 -----> |
707 | <---- 512 ----><128|384 offscreen> | 707 | <---- 512 ----><128|384 offscreen> |
diff --git a/drivers/video/stifb.c b/drivers/video/stifb.c index 6120f0c526fe..876648e15e9d 100644 --- a/drivers/video/stifb.c +++ b/drivers/video/stifb.c | |||
@@ -756,9 +756,9 @@ hyperResetPlanes(struct stifb_info *fb, int enable) | |||
756 | if (fb->info.var.bits_per_pixel == 32) | 756 | if (fb->info.var.bits_per_pixel == 32) |
757 | controlPlaneReg = 0x04000F00; | 757 | controlPlaneReg = 0x04000F00; |
758 | else | 758 | else |
759 | controlPlaneReg = 0x00000F00; /* 0x00000800 should be enought, but lets clear all 4 bits */ | 759 | controlPlaneReg = 0x00000F00; /* 0x00000800 should be enough, but lets clear all 4 bits */ |
760 | else | 760 | else |
761 | controlPlaneReg = 0x00000F00; /* 0x00000100 should be enought, but lets clear all 4 bits */ | 761 | controlPlaneReg = 0x00000F00; /* 0x00000100 should be enough, but lets clear all 4 bits */ |
762 | 762 | ||
763 | switch (enable) { | 763 | switch (enable) { |
764 | case ENABLE: | 764 | case ENABLE: |
diff --git a/drivers/video/tdfxfb.c b/drivers/video/tdfxfb.c index ff43c8885028..980548390048 100644 --- a/drivers/video/tdfxfb.c +++ b/drivers/video/tdfxfb.c | |||
@@ -52,7 +52,7 @@ | |||
52 | * | 52 | * |
53 | * 0.1.3 (released 1999-11-02) added Attila's panning support, code | 53 | * 0.1.3 (released 1999-11-02) added Attila's panning support, code |
54 | * reorg, hwcursor address page size alignment | 54 | * reorg, hwcursor address page size alignment |
55 | * (for mmaping both frame buffer and regs), | 55 | * (for mmapping both frame buffer and regs), |
56 | * and my changes to get rid of hardcoded | 56 | * and my changes to get rid of hardcoded |
57 | * VGA i/o register locations (uses PCI | 57 | * VGA i/o register locations (uses PCI |
58 | * configuration info now) | 58 | * configuration info now) |
diff --git a/drivers/video/via/dvi.c b/drivers/video/via/dvi.c index c5c32b6b6e6c..67b36932212b 100644 --- a/drivers/video/via/dvi.c +++ b/drivers/video/via/dvi.c | |||
@@ -467,7 +467,7 @@ static int dvi_get_panel_size_from_DDCv1(void) | |||
467 | default: | 467 | default: |
468 | viaparinfo->tmds_setting_info->dvi_panel_size = | 468 | viaparinfo->tmds_setting_info->dvi_panel_size = |
469 | VIA_RES_1024X768; | 469 | VIA_RES_1024X768; |
470 | DEBUG_MSG(KERN_INFO "Unknow panel size max resolution = %d !\ | 470 | DEBUG_MSG(KERN_INFO "Unknown panel size max resolution = %d !\ |
471 | set default panel size.\n", max_h); | 471 | set default panel size.\n", max_h); |
472 | break; | 472 | break; |
473 | } | 473 | } |
@@ -534,7 +534,7 @@ static int dvi_get_panel_size_from_DDCv2(void) | |||
534 | default: | 534 | default: |
535 | viaparinfo->tmds_setting_info->dvi_panel_size = | 535 | viaparinfo->tmds_setting_info->dvi_panel_size = |
536 | VIA_RES_1024X768; | 536 | VIA_RES_1024X768; |
537 | DEBUG_MSG(KERN_INFO "Unknow panel size max resolution = %d!\ | 537 | DEBUG_MSG(KERN_INFO "Unknown panel size max resolution = %d!\ |
538 | set default panel size.\n", HSize); | 538 | set default panel size.\n", HSize); |
539 | break; | 539 | break; |
540 | } | 540 | } |
diff --git a/drivers/video/vt8623fb.c b/drivers/video/vt8623fb.c index 3df17dc8c3d7..65ccd215d496 100644 --- a/drivers/video/vt8623fb.c +++ b/drivers/video/vt8623fb.c | |||
@@ -446,7 +446,7 @@ static int vt8623fb_set_par(struct fb_info *info) | |||
446 | 446 | ||
447 | svga_wseq_mask(0x1E, 0xF0, 0xF0); // DI/DVP bus | 447 | svga_wseq_mask(0x1E, 0xF0, 0xF0); // DI/DVP bus |
448 | svga_wseq_mask(0x2A, 0x0F, 0x0F); // DI/DVP bus | 448 | svga_wseq_mask(0x2A, 0x0F, 0x0F); // DI/DVP bus |
449 | svga_wseq_mask(0x16, 0x08, 0xBF); // FIFO read treshold | 449 | svga_wseq_mask(0x16, 0x08, 0xBF); // FIFO read threshold |
450 | vga_wseq(NULL, 0x17, 0x1F); // FIFO depth | 450 | vga_wseq(NULL, 0x17, 0x1F); // FIFO depth |
451 | vga_wseq(NULL, 0x18, 0x4E); | 451 | vga_wseq(NULL, 0x18, 0x4E); |
452 | svga_wseq_mask(0x1A, 0x08, 0x08); // enable MMIO ? | 452 | svga_wseq_mask(0x1A, 0x08, 0x08); // enable MMIO ? |
diff --git a/drivers/watchdog/coh901327_wdt.c b/drivers/watchdog/coh901327_wdt.c index 381026c0bd7b..923cc68dba26 100644 --- a/drivers/watchdog/coh901327_wdt.c +++ b/drivers/watchdog/coh901327_wdt.c | |||
@@ -508,7 +508,7 @@ void coh901327_watchdog_reset(void) | |||
508 | * deactivating the watchdog before it is shut down by it. | 508 | * deactivating the watchdog before it is shut down by it. |
509 | * | 509 | * |
510 | * NOTE: on future versions of the watchdog, this restriction is | 510 | * NOTE: on future versions of the watchdog, this restriction is |
511 | * gone: the watchdog will be reloaded with a defaul value (1 min) | 511 | * gone: the watchdog will be reloaded with a default value (1 min) |
512 | * instead of last value, and you can conveniently set the watchdog | 512 | * instead of last value, and you can conveniently set the watchdog |
513 | * timeout to 10ms (value = 1) without any problems. | 513 | * timeout to 10ms (value = 1) without any problems. |
514 | */ | 514 | */ |
diff --git a/drivers/watchdog/machzwd.c b/drivers/watchdog/machzwd.c index b6b3f59ab446..47d719717a3b 100644 --- a/drivers/watchdog/machzwd.c +++ b/drivers/watchdog/machzwd.c | |||
@@ -21,7 +21,7 @@ | |||
21 | * wd#1 - 2 seconds; | 21 | * wd#1 - 2 seconds; |
22 | * wd#2 - 7.2 ms; | 22 | * wd#2 - 7.2 ms; |
23 | * After the expiration of wd#1, it can generate a NMI, SCI, SMI, or | 23 | * After the expiration of wd#1, it can generate a NMI, SCI, SMI, or |
24 | * a system RESET and it starts wd#2 that unconditionaly will RESET | 24 | * a system RESET and it starts wd#2 that unconditionally will RESET |
25 | * the system when the counter reaches zero. | 25 | * the system when the counter reaches zero. |
26 | * | 26 | * |
27 | * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> | 27 | * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> |
diff --git a/drivers/watchdog/wdrtas.c b/drivers/watchdog/wdrtas.c index 3bde56bce63a..5bfb1f2c5319 100644 --- a/drivers/watchdog/wdrtas.c +++ b/drivers/watchdog/wdrtas.c | |||
@@ -542,7 +542,7 @@ static struct notifier_block wdrtas_notifier = { | |||
542 | /** | 542 | /** |
543 | * wdrtas_get_tokens - reads in RTAS tokens | 543 | * wdrtas_get_tokens - reads in RTAS tokens |
544 | * | 544 | * |
545 | * returns 0 on succes, <0 on failure | 545 | * returns 0 on success, <0 on failure |
546 | * | 546 | * |
547 | * wdrtas_get_tokens reads in the tokens for the RTAS calls used in | 547 | * wdrtas_get_tokens reads in the tokens for the RTAS calls used in |
548 | * this watchdog driver. It tolerates, if "get-sensor-state" and | 548 | * this watchdog driver. It tolerates, if "get-sensor-state" and |
@@ -598,7 +598,7 @@ static void wdrtas_unregister_devs(void) | |||
598 | /** | 598 | /** |
599 | * wdrtas_register_devs - registers the misc dev handlers | 599 | * wdrtas_register_devs - registers the misc dev handlers |
600 | * | 600 | * |
601 | * returns 0 on succes, <0 on failure | 601 | * returns 0 on success, <0 on failure |
602 | * | 602 | * |
603 | * wdrtas_register_devs registers the watchdog and temperature watchdog | 603 | * wdrtas_register_devs registers the watchdog and temperature watchdog |
604 | * misc devs | 604 | * misc devs |
@@ -630,7 +630,7 @@ static int wdrtas_register_devs(void) | |||
630 | /** | 630 | /** |
631 | * wdrtas_init - init function of the watchdog driver | 631 | * wdrtas_init - init function of the watchdog driver |
632 | * | 632 | * |
633 | * returns 0 on succes, <0 on failure | 633 | * returns 0 on success, <0 on failure |
634 | * | 634 | * |
635 | * registers the file handlers and the reboot notifier | 635 | * registers the file handlers and the reboot notifier |
636 | */ | 636 | */ |