diff options
Diffstat (limited to 'drivers')
87 files changed, 119 insertions, 126 deletions
diff --git a/drivers/block/cciss.c b/drivers/block/cciss.c index 51ceaee98f9f..e1e7143ca1e3 100644 --- a/drivers/block/cciss.c +++ b/drivers/block/cciss.c | |||
@@ -335,7 +335,7 @@ static void cciss_map_sg_chain_block(ctlr_info_t *h, CommandList_struct *c, | |||
335 | static const char *raid_label[] = { "0", "4", "1(1+0)", "5", "5+1", "ADG", | 335 | static const char *raid_label[] = { "0", "4", "1(1+0)", "5", "5+1", "ADG", |
336 | "UNKNOWN" | 336 | "UNKNOWN" |
337 | }; | 337 | }; |
338 | #define RAID_UNKNOWN (sizeof(raid_label) / sizeof(raid_label[0])-1) | 338 | #define RAID_UNKNOWN (ARRAY_SIZE(raid_label)-1) |
339 | 339 | ||
340 | #ifdef CONFIG_PROC_FS | 340 | #ifdef CONFIG_PROC_FS |
341 | 341 | ||
diff --git a/drivers/block/drbd/drbd_receiver.c b/drivers/block/drbd/drbd_receiver.c index dff48701b84d..ec1711f7c5c5 100644 --- a/drivers/block/drbd/drbd_receiver.c +++ b/drivers/block/drbd/drbd_receiver.c | |||
@@ -1087,7 +1087,7 @@ static enum finish_epoch drbd_may_finish_epoch(struct drbd_conf *mdev, | |||
1087 | } else { | 1087 | } else { |
1088 | epoch->flags = 0; | 1088 | epoch->flags = 0; |
1089 | atomic_set(&epoch->epoch_size, 0); | 1089 | atomic_set(&epoch->epoch_size, 0); |
1090 | /* atomic_set(&epoch->active, 0); is alrady zero */ | 1090 | /* atomic_set(&epoch->active, 0); is already zero */ |
1091 | if (rv == FE_STILL_LIVE) | 1091 | if (rv == FE_STILL_LIVE) |
1092 | rv = FE_RECYCLED; | 1092 | rv = FE_RECYCLED; |
1093 | } | 1093 | } |
diff --git a/drivers/block/nbd.c b/drivers/block/nbd.c index 218d091f3c52..16c3c8613cd3 100644 --- a/drivers/block/nbd.c +++ b/drivers/block/nbd.c | |||
@@ -4,7 +4,7 @@ | |||
4 | * Note that you can not swap over this thing, yet. Seems to work but | 4 | * Note that you can not swap over this thing, yet. Seems to work but |
5 | * deadlocks sometimes - you can not swap over TCP in general. | 5 | * deadlocks sometimes - you can not swap over TCP in general. |
6 | * | 6 | * |
7 | * Copyright 1997-2000, 2008 Pavel Machek <pavel@suse.cz> | 7 | * Copyright 1997-2000, 2008 Pavel Machek <pavel@ucw.cz> |
8 | * Parts copyright 2001 Steven Whitehouse <steve@chygwyn.com> | 8 | * Parts copyright 2001 Steven Whitehouse <steve@chygwyn.com> |
9 | * | 9 | * |
10 | * This file is released under GPLv2 or later. | 10 | * This file is released under GPLv2 or later. |
diff --git a/drivers/char/synclink_gt.c b/drivers/char/synclink_gt.c index 4561ce2fba6d..334cf5c8c8b6 100644 --- a/drivers/char/synclink_gt.c +++ b/drivers/char/synclink_gt.c | |||
@@ -4845,7 +4845,7 @@ static int register_test(struct slgt_info *info) | |||
4845 | { | 4845 | { |
4846 | static unsigned short patterns[] = | 4846 | static unsigned short patterns[] = |
4847 | {0x0000, 0xffff, 0xaaaa, 0x5555, 0x6969, 0x9696}; | 4847 | {0x0000, 0xffff, 0xaaaa, 0x5555, 0x6969, 0x9696}; |
4848 | static unsigned int count = sizeof(patterns)/sizeof(patterns[0]); | 4848 | static unsigned int count = ARRAY_SIZE(patterns); |
4849 | unsigned int i; | 4849 | unsigned int i; |
4850 | int rc = 0; | 4850 | int rc = 0; |
4851 | 4851 | ||
diff --git a/drivers/crypto/amcc/crypto4xx_reg_def.h b/drivers/crypto/amcc/crypto4xx_reg_def.h index 7d4edb002619..5f5fbc0716ff 100644 --- a/drivers/crypto/amcc/crypto4xx_reg_def.h +++ b/drivers/crypto/amcc/crypto4xx_reg_def.h | |||
@@ -113,7 +113,7 @@ | |||
113 | #define CRYPTO4XX_PRNG_LFSR_H 0x00070034 | 113 | #define CRYPTO4XX_PRNG_LFSR_H 0x00070034 |
114 | 114 | ||
115 | /** | 115 | /** |
116 | * Initilize CRYPTO ENGINE registers, and memory bases. | 116 | * Initialize CRYPTO ENGINE registers, and memory bases. |
117 | */ | 117 | */ |
118 | #define PPC4XX_PDR_POLL 0x3ff | 118 | #define PPC4XX_PDR_POLL 0x3ff |
119 | #define PPC4XX_OUTPUT_THRESHOLD 2 | 119 | #define PPC4XX_OUTPUT_THRESHOLD 2 |
diff --git a/drivers/dma/at_hdmac.c b/drivers/dma/at_hdmac.c index bd5250e8c00c..e88076022a7a 100644 --- a/drivers/dma/at_hdmac.c +++ b/drivers/dma/at_hdmac.c | |||
@@ -69,7 +69,7 @@ static struct at_desc *atc_first_queued(struct at_dma_chan *atchan) | |||
69 | } | 69 | } |
70 | 70 | ||
71 | /** | 71 | /** |
72 | * atc_alloc_descriptor - allocate and return an initilized descriptor | 72 | * atc_alloc_descriptor - allocate and return an initialized descriptor |
73 | * @chan: the channel to allocate descriptors for | 73 | * @chan: the channel to allocate descriptors for |
74 | * @gfp_flags: GFP allocation flags | 74 | * @gfp_flags: GFP allocation flags |
75 | * | 75 | * |
diff --git a/drivers/dma/fsldma.c b/drivers/dma/fsldma.c index 8088b14ba5f7..f0fd6db6063c 100644 --- a/drivers/dma/fsldma.c +++ b/drivers/dma/fsldma.c | |||
@@ -10,7 +10,7 @@ | |||
10 | * Description: | 10 | * Description: |
11 | * DMA engine driver for Freescale MPC8540 DMA controller, which is | 11 | * DMA engine driver for Freescale MPC8540 DMA controller, which is |
12 | * also fit for MPC8560, MPC8555, MPC8548, MPC8641, and etc. | 12 | * also fit for MPC8560, MPC8555, MPC8548, MPC8641, and etc. |
13 | * The support for MPC8349 DMA contorller is also added. | 13 | * The support for MPC8349 DMA controller is also added. |
14 | * | 14 | * |
15 | * This driver instructs the DMA controller to issue the PCI Read Multiple | 15 | * This driver instructs the DMA controller to issue the PCI Read Multiple |
16 | * command for PCI read operations, instead of using the default PCI Read Line | 16 | * command for PCI read operations, instead of using the default PCI Read Line |
diff --git a/drivers/gpu/drm/drm_edid.c b/drivers/gpu/drm/drm_edid.c index f87bf104df7a..9585e531ac6b 100644 --- a/drivers/gpu/drm/drm_edid.c +++ b/drivers/gpu/drm/drm_edid.c | |||
@@ -929,13 +929,11 @@ drm_mode_do_interlace_quirk(struct drm_display_mode *mode, | |||
929 | { 1440, 576 }, | 929 | { 1440, 576 }, |
930 | { 2880, 576 }, | 930 | { 2880, 576 }, |
931 | }; | 931 | }; |
932 | static const int n_sizes = | ||
933 | sizeof(cea_interlaced)/sizeof(cea_interlaced[0]); | ||
934 | 932 | ||
935 | if (!(pt->misc & DRM_EDID_PT_INTERLACED)) | 933 | if (!(pt->misc & DRM_EDID_PT_INTERLACED)) |
936 | return; | 934 | return; |
937 | 935 | ||
938 | for (i = 0; i < n_sizes; i++) { | 936 | for (i = 0; i < ARRAY_SIZE(cea_interlaced); i++) { |
939 | if ((mode->hdisplay == cea_interlaced[i].w) && | 937 | if ((mode->hdisplay == cea_interlaced[i].w) && |
940 | (mode->vdisplay == cea_interlaced[i].h / 2)) { | 938 | (mode->vdisplay == cea_interlaced[i].h / 2)) { |
941 | mode->vdisplay *= 2; | 939 | mode->vdisplay *= 2; |
@@ -1375,7 +1373,6 @@ static const struct { | |||
1375 | { 1920, 1440, 60, 0 }, | 1373 | { 1920, 1440, 60, 0 }, |
1376 | { 1920, 1440, 75, 0 }, | 1374 | { 1920, 1440, 75, 0 }, |
1377 | }; | 1375 | }; |
1378 | static const int num_est3_modes = sizeof(est3_modes) / sizeof(est3_modes[0]); | ||
1379 | 1376 | ||
1380 | static int | 1377 | static int |
1381 | drm_est3_modes(struct drm_connector *connector, struct detailed_timing *timing) | 1378 | drm_est3_modes(struct drm_connector *connector, struct detailed_timing *timing) |
@@ -1387,7 +1384,7 @@ drm_est3_modes(struct drm_connector *connector, struct detailed_timing *timing) | |||
1387 | for (i = 0; i < 6; i++) { | 1384 | for (i = 0; i < 6; i++) { |
1388 | for (j = 7; j > 0; j--) { | 1385 | for (j = 7; j > 0; j--) { |
1389 | m = (i * 8) + (7 - j); | 1386 | m = (i * 8) + (7 - j); |
1390 | if (m >= num_est3_modes) | 1387 | if (m >= ARRAY_SIZE(est3_modes)) |
1391 | break; | 1388 | break; |
1392 | if (est[i] & (1 << j)) { | 1389 | if (est[i] & (1 << j)) { |
1393 | mode = drm_mode_find_dmt(connector->dev, | 1390 | mode = drm_mode_find_dmt(connector->dev, |
diff --git a/drivers/gpu/drm/i915/intel_sdvo.c b/drivers/gpu/drm/i915/intel_sdvo.c index 76993ac16cc1..03c231be2273 100644 --- a/drivers/gpu/drm/i915/intel_sdvo.c +++ b/drivers/gpu/drm/i915/intel_sdvo.c | |||
@@ -392,13 +392,13 @@ static void intel_sdvo_debug_write(struct intel_encoder *intel_encoder, u8 cmd, | |||
392 | DRM_LOG_KMS("%02X ", ((u8 *)args)[i]); | 392 | DRM_LOG_KMS("%02X ", ((u8 *)args)[i]); |
393 | for (; i < 8; i++) | 393 | for (; i < 8; i++) |
394 | DRM_LOG_KMS(" "); | 394 | DRM_LOG_KMS(" "); |
395 | for (i = 0; i < sizeof(sdvo_cmd_names) / sizeof(sdvo_cmd_names[0]); i++) { | 395 | for (i = 0; i < ARRAY_SIZE(sdvo_cmd_names); i++) { |
396 | if (cmd == sdvo_cmd_names[i].cmd) { | 396 | if (cmd == sdvo_cmd_names[i].cmd) { |
397 | DRM_LOG_KMS("(%s)", sdvo_cmd_names[i].name); | 397 | DRM_LOG_KMS("(%s)", sdvo_cmd_names[i].name); |
398 | break; | 398 | break; |
399 | } | 399 | } |
400 | } | 400 | } |
401 | if (i == sizeof(sdvo_cmd_names)/ sizeof(sdvo_cmd_names[0])) | 401 | if (i == ARRAY_SIZE(sdvo_cmd_names)) |
402 | DRM_LOG_KMS("(%02X)", cmd); | 402 | DRM_LOG_KMS("(%02X)", cmd); |
403 | DRM_LOG_KMS("\n"); | 403 | DRM_LOG_KMS("\n"); |
404 | } | 404 | } |
diff --git a/drivers/gpu/drm/i915/intel_tv.c b/drivers/gpu/drm/i915/intel_tv.c index 6d553c29d106..d2d4e4045ca9 100644 --- a/drivers/gpu/drm/i915/intel_tv.c +++ b/drivers/gpu/drm/i915/intel_tv.c | |||
@@ -1424,7 +1424,7 @@ intel_tv_get_modes(struct drm_connector *connector) | |||
1424 | int j, count = 0; | 1424 | int j, count = 0; |
1425 | u64 tmp; | 1425 | u64 tmp; |
1426 | 1426 | ||
1427 | for (j = 0; j < sizeof(input_res_table) / sizeof(input_res_table[0]); | 1427 | for (j = 0; j < ARRAY_SIZE(input_res_table); |
1428 | j++) { | 1428 | j++) { |
1429 | struct input_res *input = &input_res_table[j]; | 1429 | struct input_res *input = &input_res_table[j]; |
1430 | unsigned int hactive_s = input->w; | 1430 | unsigned int hactive_s = input->w; |
diff --git a/drivers/gpu/drm/savage/savage_bci.c b/drivers/gpu/drm/savage/savage_bci.c index 2d0c9ca484c5..fa05cda8c98f 100644 --- a/drivers/gpu/drm/savage/savage_bci.c +++ b/drivers/gpu/drm/savage/savage_bci.c | |||
@@ -552,7 +552,7 @@ int savage_driver_load(struct drm_device *dev, unsigned long chipset) | |||
552 | 552 | ||
553 | 553 | ||
554 | /* | 554 | /* |
555 | * Initalize mappings. On Savage4 and SavageIX the alignment | 555 | * Initialize mappings. On Savage4 and SavageIX the alignment |
556 | * and size of the aperture is not suitable for automatic MTRR setup | 556 | * and size of the aperture is not suitable for automatic MTRR setup |
557 | * in drm_addmap. Therefore we add them manually before the maps are | 557 | * in drm_addmap. Therefore we add them manually before the maps are |
558 | * initialized, and tear them down on last close. | 558 | * initialized, and tear them down on last close. |
diff --git a/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c b/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c index 8612378b131e..5f2d5df01e5c 100644 --- a/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c +++ b/drivers/gpu/drm/vmwgfx/vmwgfx_resource.c | |||
@@ -1017,7 +1017,7 @@ int vmw_gmr_id_alloc(struct vmw_private *dev_priv, uint32_t *p_id) | |||
1017 | } | 1017 | } |
1018 | 1018 | ||
1019 | /* | 1019 | /* |
1020 | * Stream managment | 1020 | * Stream management |
1021 | */ | 1021 | */ |
1022 | 1022 | ||
1023 | static void vmw_stream_destroy(struct vmw_resource *res) | 1023 | static void vmw_stream_destroy(struct vmw_resource *res) |
diff --git a/drivers/ide/ide-gd.c b/drivers/ide/ide-gd.c index c102d23d9b38..79399534782c 100644 --- a/drivers/ide/ide-gd.c +++ b/drivers/ide/ide-gd.c | |||
@@ -92,7 +92,7 @@ static void ide_disk_release(struct device *dev) | |||
92 | 92 | ||
93 | /* | 93 | /* |
94 | * On HPA drives the capacity needs to be | 94 | * On HPA drives the capacity needs to be |
95 | * reinitilized on resume otherwise the disk | 95 | * reinitialized on resume otherwise the disk |
96 | * can not be used and a hard reset is required | 96 | * can not be used and a hard reset is required |
97 | */ | 97 | */ |
98 | static void ide_gd_resume(ide_drive_t *drive) | 98 | static void ide_gd_resume(ide_drive_t *drive) |
diff --git a/drivers/infiniband/hw/cxgb3/iwch_qp.c b/drivers/infiniband/hw/cxgb3/iwch_qp.c index ae47bfd22bd5..9bbb65bba67e 100644 --- a/drivers/infiniband/hw/cxgb3/iwch_qp.c +++ b/drivers/infiniband/hw/cxgb3/iwch_qp.c | |||
@@ -816,7 +816,7 @@ static void __flush_qp(struct iwch_qp *qhp, unsigned long *flag) | |||
816 | atomic_inc(&qhp->refcnt); | 816 | atomic_inc(&qhp->refcnt); |
817 | spin_unlock_irqrestore(&qhp->lock, *flag); | 817 | spin_unlock_irqrestore(&qhp->lock, *flag); |
818 | 818 | ||
819 | /* locking heirarchy: cq lock first, then qp lock. */ | 819 | /* locking hierarchy: cq lock first, then qp lock. */ |
820 | spin_lock_irqsave(&rchp->lock, *flag); | 820 | spin_lock_irqsave(&rchp->lock, *flag); |
821 | spin_lock(&qhp->lock); | 821 | spin_lock(&qhp->lock); |
822 | cxio_flush_hw_cq(&rchp->cq); | 822 | cxio_flush_hw_cq(&rchp->cq); |
@@ -827,7 +827,7 @@ static void __flush_qp(struct iwch_qp *qhp, unsigned long *flag) | |||
827 | if (flushed) | 827 | if (flushed) |
828 | (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); | 828 | (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); |
829 | 829 | ||
830 | /* locking heirarchy: cq lock first, then qp lock. */ | 830 | /* locking hierarchy: cq lock first, then qp lock. */ |
831 | spin_lock_irqsave(&schp->lock, *flag); | 831 | spin_lock_irqsave(&schp->lock, *flag); |
832 | spin_lock(&qhp->lock); | 832 | spin_lock(&qhp->lock); |
833 | cxio_flush_hw_cq(&schp->cq); | 833 | cxio_flush_hw_cq(&schp->cq); |
diff --git a/drivers/infiniband/hw/cxgb4/qp.c b/drivers/infiniband/hw/cxgb4/qp.c index 7065cb310553..86b93f2ecca3 100644 --- a/drivers/infiniband/hw/cxgb4/qp.c +++ b/drivers/infiniband/hw/cxgb4/qp.c | |||
@@ -905,7 +905,7 @@ static void __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp, | |||
905 | atomic_inc(&qhp->refcnt); | 905 | atomic_inc(&qhp->refcnt); |
906 | spin_unlock_irqrestore(&qhp->lock, *flag); | 906 | spin_unlock_irqrestore(&qhp->lock, *flag); |
907 | 907 | ||
908 | /* locking heirarchy: cq lock first, then qp lock. */ | 908 | /* locking hierarchy: cq lock first, then qp lock. */ |
909 | spin_lock_irqsave(&rchp->lock, *flag); | 909 | spin_lock_irqsave(&rchp->lock, *flag); |
910 | spin_lock(&qhp->lock); | 910 | spin_lock(&qhp->lock); |
911 | c4iw_flush_hw_cq(&rchp->cq); | 911 | c4iw_flush_hw_cq(&rchp->cq); |
@@ -916,7 +916,7 @@ static void __flush_qp(struct c4iw_qp *qhp, struct c4iw_cq *rchp, | |||
916 | if (flushed) | 916 | if (flushed) |
917 | (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); | 917 | (*rchp->ibcq.comp_handler)(&rchp->ibcq, rchp->ibcq.cq_context); |
918 | 918 | ||
919 | /* locking heirarchy: cq lock first, then qp lock. */ | 919 | /* locking hierarchy: cq lock first, then qp lock. */ |
920 | spin_lock_irqsave(&schp->lock, *flag); | 920 | spin_lock_irqsave(&schp->lock, *flag); |
921 | spin_lock(&qhp->lock); | 921 | spin_lock(&qhp->lock); |
922 | c4iw_flush_hw_cq(&schp->cq); | 922 | c4iw_flush_hw_cq(&schp->cq); |
diff --git a/drivers/infiniband/hw/ehca/hcp_if.h b/drivers/infiniband/hw/ehca/hcp_if.h index 39c1c3618ec7..a46e514c367b 100644 --- a/drivers/infiniband/hw/ehca/hcp_if.h +++ b/drivers/infiniband/hw/ehca/hcp_if.h | |||
@@ -49,7 +49,7 @@ | |||
49 | #include "hipz_hw.h" | 49 | #include "hipz_hw.h" |
50 | 50 | ||
51 | /* | 51 | /* |
52 | * hipz_h_alloc_resource_eq allocates EQ resources in HW and FW, initalize | 52 | * hipz_h_alloc_resource_eq allocates EQ resources in HW and FW, initialize |
53 | * resources, create the empty EQPT (ring). | 53 | * resources, create the empty EQPT (ring). |
54 | */ | 54 | */ |
55 | u64 hipz_h_alloc_resource_eq(const struct ipz_adapter_handle adapter_handle, | 55 | u64 hipz_h_alloc_resource_eq(const struct ipz_adapter_handle adapter_handle, |
diff --git a/drivers/infiniband/hw/ipath/ipath_file_ops.c b/drivers/infiniband/hw/ipath/ipath_file_ops.c index 9c5c66d16a23..65eb8929db22 100644 --- a/drivers/infiniband/hw/ipath/ipath_file_ops.c +++ b/drivers/infiniband/hw/ipath/ipath_file_ops.c | |||
@@ -2055,7 +2055,7 @@ static int ipath_close(struct inode *in, struct file *fp) | |||
2055 | 2055 | ||
2056 | mutex_lock(&ipath_mutex); | 2056 | mutex_lock(&ipath_mutex); |
2057 | 2057 | ||
2058 | fd = (struct ipath_filedata *) fp->private_data; | 2058 | fd = fp->private_data; |
2059 | fp->private_data = NULL; | 2059 | fp->private_data = NULL; |
2060 | pd = fd->pd; | 2060 | pd = fd->pd; |
2061 | if (!pd) { | 2061 | if (!pd) { |
diff --git a/drivers/input/misc/ad714x.c b/drivers/input/misc/ad714x.c index 0fe27baf5e72..c431d09e401a 100644 --- a/drivers/input/misc/ad714x.c +++ b/drivers/input/misc/ad714x.c | |||
@@ -1118,7 +1118,7 @@ struct ad714x_chip *ad714x_probe(struct device *dev, u16 bus_type, int irq, | |||
1118 | if (error) | 1118 | if (error) |
1119 | goto err_free_mem; | 1119 | goto err_free_mem; |
1120 | 1120 | ||
1121 | /* initilize and request sw/hw resources */ | 1121 | /* initialize and request sw/hw resources */ |
1122 | 1122 | ||
1123 | ad714x_hw_init(ad714x); | 1123 | ad714x_hw_init(ad714x); |
1124 | mutex_init(&ad714x->mutex); | 1124 | mutex_init(&ad714x->mutex); |
diff --git a/drivers/isdn/hardware/mISDN/avmfritz.c b/drivers/isdn/hardware/mISDN/avmfritz.c index d4215369bb59..472a2af79446 100644 --- a/drivers/isdn/hardware/mISDN/avmfritz.c +++ b/drivers/isdn/hardware/mISDN/avmfritz.c | |||
@@ -1116,7 +1116,7 @@ fritz_remove_pci(struct pci_dev *pdev) | |||
1116 | release_card(card); | 1116 | release_card(card); |
1117 | else | 1117 | else |
1118 | if (debug) | 1118 | if (debug) |
1119 | pr_info("%s: drvdata allready removed\n", __func__); | 1119 | pr_info("%s: drvdata already removed\n", __func__); |
1120 | } | 1120 | } |
1121 | 1121 | ||
1122 | static struct pci_device_id fcpci_ids[] __devinitdata = { | 1122 | static struct pci_device_id fcpci_ids[] __devinitdata = { |
diff --git a/drivers/isdn/hardware/mISDN/hfcmulti.c b/drivers/isdn/hardware/mISDN/hfcmulti.c index 987fb1824f08..4e3780d78ac7 100644 --- a/drivers/isdn/hardware/mISDN/hfcmulti.c +++ b/drivers/isdn/hardware/mISDN/hfcmulti.c | |||
@@ -4268,7 +4268,7 @@ init_card(struct hfc_multi *hc) | |||
4268 | goto error; | 4268 | goto error; |
4269 | /* | 4269 | /* |
4270 | * Finally enable IRQ output | 4270 | * Finally enable IRQ output |
4271 | * this is only allowed, if an IRQ routine is allready | 4271 | * this is only allowed, if an IRQ routine is already |
4272 | * established for this HFC, so don't do that earlier | 4272 | * established for this HFC, so don't do that earlier |
4273 | */ | 4273 | */ |
4274 | spin_lock_irqsave(&hc->lock, flags); | 4274 | spin_lock_irqsave(&hc->lock, flags); |
@@ -5212,7 +5212,7 @@ static void __devexit hfc_remove_pci(struct pci_dev *pdev) | |||
5212 | spin_unlock_irqrestore(&HFClock, flags); | 5212 | spin_unlock_irqrestore(&HFClock, flags); |
5213 | } else { | 5213 | } else { |
5214 | if (debug) | 5214 | if (debug) |
5215 | printk(KERN_DEBUG "%s: drvdata allready removed\n", | 5215 | printk(KERN_DEBUG "%s: drvdata already removed\n", |
5216 | __func__); | 5216 | __func__); |
5217 | } | 5217 | } |
5218 | } | 5218 | } |
diff --git a/drivers/isdn/hardware/mISDN/hfcpci.c b/drivers/isdn/hardware/mISDN/hfcpci.c index 10757abac0ba..15d323b8be60 100644 --- a/drivers/isdn/hardware/mISDN/hfcpci.c +++ b/drivers/isdn/hardware/mISDN/hfcpci.c | |||
@@ -1773,7 +1773,7 @@ init_card(struct hfc_pci *hc) | |||
1773 | inithfcpci(hc); | 1773 | inithfcpci(hc); |
1774 | /* | 1774 | /* |
1775 | * Finally enable IRQ output | 1775 | * Finally enable IRQ output |
1776 | * this is only allowed, if an IRQ routine is allready | 1776 | * this is only allowed, if an IRQ routine is already |
1777 | * established for this HFC, so don't do that earlier | 1777 | * established for this HFC, so don't do that earlier |
1778 | */ | 1778 | */ |
1779 | enable_hwirq(hc); | 1779 | enable_hwirq(hc); |
diff --git a/drivers/isdn/hardware/mISDN/mISDNinfineon.c b/drivers/isdn/hardware/mISDN/mISDNinfineon.c index 2a2181d58deb..d2dd61d65d51 100644 --- a/drivers/isdn/hardware/mISDN/mISDNinfineon.c +++ b/drivers/isdn/hardware/mISDN/mISDNinfineon.c | |||
@@ -1139,7 +1139,7 @@ inf_remove(struct pci_dev *pdev) | |||
1139 | if (card) | 1139 | if (card) |
1140 | release_card(card); | 1140 | release_card(card); |
1141 | else | 1141 | else |
1142 | pr_debug("%s: drvdata allready removed\n", __func__); | 1142 | pr_debug("%s: drvdata already removed\n", __func__); |
1143 | } | 1143 | } |
1144 | 1144 | ||
1145 | static struct pci_driver infineon_driver = { | 1145 | static struct pci_driver infineon_driver = { |
diff --git a/drivers/isdn/hardware/mISDN/speedfax.c b/drivers/isdn/hardware/mISDN/speedfax.c index d097a4e40e2b..9e07246bb9e7 100644 --- a/drivers/isdn/hardware/mISDN/speedfax.c +++ b/drivers/isdn/hardware/mISDN/speedfax.c | |||
@@ -484,7 +484,7 @@ sfax_remove_pci(struct pci_dev *pdev) | |||
484 | if (card) | 484 | if (card) |
485 | release_card(card); | 485 | release_card(card); |
486 | else | 486 | else |
487 | pr_debug("%s: drvdata allready removed\n", __func__); | 487 | pr_debug("%s: drvdata already removed\n", __func__); |
488 | } | 488 | } |
489 | 489 | ||
490 | static struct pci_device_id sfaxpci_ids[] __devinitdata = { | 490 | static struct pci_device_id sfaxpci_ids[] __devinitdata = { |
diff --git a/drivers/isdn/hardware/mISDN/w6692.c b/drivers/isdn/hardware/mISDN/w6692.c index 31f9d71fb22f..9e84870b971c 100644 --- a/drivers/isdn/hardware/mISDN/w6692.c +++ b/drivers/isdn/hardware/mISDN/w6692.c | |||
@@ -1402,7 +1402,7 @@ w6692_remove_pci(struct pci_dev *pdev) | |||
1402 | release_card(card); | 1402 | release_card(card); |
1403 | else | 1403 | else |
1404 | if (debug) | 1404 | if (debug) |
1405 | pr_notice("%s: drvdata allready removed\n", __func__); | 1405 | pr_notice("%s: drvdata already removed\n", __func__); |
1406 | } | 1406 | } |
1407 | 1407 | ||
1408 | static struct pci_device_id w6692_ids[] = { | 1408 | static struct pci_device_id w6692_ids[] = { |
diff --git a/drivers/isdn/hisax/callc.c b/drivers/isdn/hisax/callc.c index f58ded8f403f..f150330b5a23 100644 --- a/drivers/isdn/hisax/callc.c +++ b/drivers/isdn/hisax/callc.c | |||
@@ -1172,7 +1172,7 @@ CallcFreeChan(struct IsdnCardState *csta) | |||
1172 | kfree(csta->channel[i].b_st); | 1172 | kfree(csta->channel[i].b_st); |
1173 | csta->channel[i].b_st = NULL; | 1173 | csta->channel[i].b_st = NULL; |
1174 | } else | 1174 | } else |
1175 | printk(KERN_WARNING "CallcFreeChan b_st ch%d allready freed\n", i); | 1175 | printk(KERN_WARNING "CallcFreeChan b_st ch%d already freed\n", i); |
1176 | if (i || test_bit(FLG_TWO_DCHAN, &csta->HW_Flags)) { | 1176 | if (i || test_bit(FLG_TWO_DCHAN, &csta->HW_Flags)) { |
1177 | release_d_st(csta->channel + i); | 1177 | release_d_st(csta->channel + i); |
1178 | } else | 1178 | } else |
diff --git a/drivers/isdn/hisax/tei.c b/drivers/isdn/hisax/tei.c index f4cb178b0666..842f9c9e875d 100644 --- a/drivers/isdn/hisax/tei.c +++ b/drivers/isdn/hisax/tei.c | |||
@@ -130,7 +130,7 @@ tei_id_request(struct FsmInst *fi, int event, void *arg) | |||
130 | 130 | ||
131 | if (st->l2.tei != -1) { | 131 | if (st->l2.tei != -1) { |
132 | st->ma.tei_m.printdebug(&st->ma.tei_m, | 132 | st->ma.tei_m.printdebug(&st->ma.tei_m, |
133 | "assign request for allready asigned tei %d", | 133 | "assign request for already asigned tei %d", |
134 | st->l2.tei); | 134 | st->l2.tei); |
135 | return; | 135 | return; |
136 | } | 136 | } |
diff --git a/drivers/isdn/mISDN/tei.c b/drivers/isdn/mISDN/tei.c index 34e898fe2f4f..1b85d9d27496 100644 --- a/drivers/isdn/mISDN/tei.c +++ b/drivers/isdn/mISDN/tei.c | |||
@@ -457,7 +457,7 @@ tei_id_request(struct FsmInst *fi, int event, void *arg) | |||
457 | 457 | ||
458 | if (tm->l2->tei != GROUP_TEI) { | 458 | if (tm->l2->tei != GROUP_TEI) { |
459 | tm->tei_m.printdebug(&tm->tei_m, | 459 | tm->tei_m.printdebug(&tm->tei_m, |
460 | "assign request for allready assigned tei %d", | 460 | "assign request for already assigned tei %d", |
461 | tm->l2->tei); | 461 | tm->l2->tei); |
462 | return; | 462 | return; |
463 | } | 463 | } |
diff --git a/drivers/media/dvb/siano/smscoreapi.c b/drivers/media/dvb/siano/smscoreapi.c index 828bcc2e129b..7f2c94a15ab1 100644 --- a/drivers/media/dvb/siano/smscoreapi.c +++ b/drivers/media/dvb/siano/smscoreapi.c | |||
@@ -1295,7 +1295,7 @@ int smsclient_sendrequest(struct smscore_client_t *client, | |||
1295 | EXPORT_SYMBOL_GPL(smsclient_sendrequest); | 1295 | EXPORT_SYMBOL_GPL(smsclient_sendrequest); |
1296 | 1296 | ||
1297 | 1297 | ||
1298 | /* old GPIO managments implementation */ | 1298 | /* old GPIO managements implementation */ |
1299 | int smscore_configure_gpio(struct smscore_device_t *coredev, u32 pin, | 1299 | int smscore_configure_gpio(struct smscore_device_t *coredev, u32 pin, |
1300 | struct smscore_config_gpio *pinconfig) | 1300 | struct smscore_config_gpio *pinconfig) |
1301 | { | 1301 | { |
diff --git a/drivers/media/video/gspca/sunplus.c b/drivers/media/video/gspca/sunplus.c index 21d82bab0c2e..9494f86b9a85 100644 --- a/drivers/media/video/gspca/sunplus.c +++ b/drivers/media/video/gspca/sunplus.c | |||
@@ -805,7 +805,7 @@ static int sd_init(struct gspca_dev *gspca_dev) | |||
805 | /* Set AE AWB Banding Type 3-> 50Hz 2-> 60Hz */ | 805 | /* Set AE AWB Banding Type 3-> 50Hz 2-> 60Hz */ |
806 | spca504A_acknowledged_command(gspca_dev, 0x24, | 806 | spca504A_acknowledged_command(gspca_dev, 0x24, |
807 | 8, 3, 0x9e, 1); | 807 | 8, 3, 0x9e, 1); |
808 | /* Twice sequencial need status 0xff->0x9e->0x9d */ | 808 | /* Twice sequential need status 0xff->0x9e->0x9d */ |
809 | spca504A_acknowledged_command(gspca_dev, 0x24, | 809 | spca504A_acknowledged_command(gspca_dev, 0x24, |
810 | 8, 3, 0x9e, 0); | 810 | 8, 3, 0x9e, 0); |
811 | 811 | ||
@@ -877,7 +877,7 @@ static int sd_start(struct gspca_dev *gspca_dev) | |||
877 | /* Set AE AWB Banding Type 3-> 50Hz 2-> 60Hz */ | 877 | /* Set AE AWB Banding Type 3-> 50Hz 2-> 60Hz */ |
878 | spca504A_acknowledged_command(gspca_dev, 0x24, | 878 | spca504A_acknowledged_command(gspca_dev, 0x24, |
879 | 8, 3, 0x9e, 1); | 879 | 8, 3, 0x9e, 1); |
880 | /* Twice sequencial need status 0xff->0x9e->0x9d */ | 880 | /* Twice sequential need status 0xff->0x9e->0x9d */ |
881 | spca504A_acknowledged_command(gspca_dev, 0x24, | 881 | spca504A_acknowledged_command(gspca_dev, 0x24, |
882 | 8, 3, 0x9e, 0); | 882 | 8, 3, 0x9e, 0); |
883 | spca504A_acknowledged_command(gspca_dev, 0x24, | 883 | spca504A_acknowledged_command(gspca_dev, 0x24, |
diff --git a/drivers/media/video/usbvideo/vicam.c b/drivers/media/video/usbvideo/vicam.c index 6030410c6677..5d6fd01f918a 100644 --- a/drivers/media/video/usbvideo/vicam.c +++ b/drivers/media/video/usbvideo/vicam.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * USB ViCam WebCam driver | 2 | * USB ViCam WebCam driver |
3 | * Copyright (c) 2002 Joe Burks (jburks@wavicle.org), | 3 | * Copyright (c) 2002 Joe Burks (jburks@wavicle.org), |
4 | * Christopher L Cheney (ccheney@cheney.cx), | 4 | * Christopher L Cheney (ccheney@cheney.cx), |
5 | * Pavel Machek (pavel@suse.cz), | 5 | * Pavel Machek (pavel@ucw.cz), |
6 | * John Tyner (jtyner@cs.ucr.edu), | 6 | * John Tyner (jtyner@cs.ucr.edu), |
7 | * Monroe Williams (monroe@pobox.com) | 7 | * Monroe Williams (monroe@pobox.com) |
8 | * | 8 | * |
diff --git a/drivers/media/video/v4l2-compat-ioctl32.c b/drivers/media/video/v4l2-compat-ioctl32.c index 9004a5fe7643..d2f20c2acae2 100644 --- a/drivers/media/video/v4l2-compat-ioctl32.c +++ b/drivers/media/video/v4l2-compat-ioctl32.c | |||
@@ -5,7 +5,7 @@ | |||
5 | * Copyright (C) 1997-2000 Jakub Jelinek (jakub@redhat.com) | 5 | * Copyright (C) 1997-2000 Jakub Jelinek (jakub@redhat.com) |
6 | * Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be) | 6 | * Copyright (C) 1998 Eddie C. Dost (ecd@skynet.be) |
7 | * Copyright (C) 2001,2002 Andi Kleen, SuSE Labs | 7 | * Copyright (C) 2001,2002 Andi Kleen, SuSE Labs |
8 | * Copyright (C) 2003 Pavel Machek (pavel@suse.cz) | 8 | * Copyright (C) 2003 Pavel Machek (pavel@ucw.cz) |
9 | * Copyright (C) 2005 Philippe De Muyter (phdm@macqel.be) | 9 | * Copyright (C) 2005 Philippe De Muyter (phdm@macqel.be) |
10 | * Copyright (C) 2008 Hans Verkuil <hverkuil@xs4all.nl> | 10 | * Copyright (C) 2008 Hans Verkuil <hverkuil@xs4all.nl> |
11 | * | 11 | * |
diff --git a/drivers/media/video/zoran/zoran.h b/drivers/media/video/zoran/zoran.h index 8997add1248e..307e847fe1cd 100644 --- a/drivers/media/video/zoran/zoran.h +++ b/drivers/media/video/zoran/zoran.h | |||
@@ -391,7 +391,7 @@ struct zoran { | |||
391 | 391 | ||
392 | struct mutex resource_lock; /* prevent evil stuff */ | 392 | struct mutex resource_lock; /* prevent evil stuff */ |
393 | 393 | ||
394 | u8 initialized; /* flag if zoran has been correctly initalized */ | 394 | u8 initialized; /* flag if zoran has been correctly initialized */ |
395 | int user; /* number of current users */ | 395 | int user; /* number of current users */ |
396 | struct card_info card; | 396 | struct card_info card; |
397 | struct tvnorm *timing; | 397 | struct tvnorm *timing; |
diff --git a/drivers/media/video/zoran/zoran_device.c b/drivers/media/video/zoran/zoran_device.c index e6ad4b205611..6f846abee3e4 100644 --- a/drivers/media/video/zoran/zoran_device.c +++ b/drivers/media/video/zoran/zoran_device.c | |||
@@ -484,7 +484,7 @@ zr36057_overlay (struct zoran *zr, | |||
484 | zr->overlay_settings.format); | 484 | zr->overlay_settings.format); |
485 | 485 | ||
486 | /* Start and length of each line MUST be 4-byte aligned. | 486 | /* Start and length of each line MUST be 4-byte aligned. |
487 | * This should be allready checked before the call to this routine. | 487 | * This should be already checked before the call to this routine. |
488 | * All error messages are internal driver checking only! */ | 488 | * All error messages are internal driver checking only! */ |
489 | 489 | ||
490 | /* video display top and bottom registers */ | 490 | /* video display top and bottom registers */ |
diff --git a/drivers/media/video/zoran/zr36050.c b/drivers/media/video/zoran/zr36050.c index 639dd87c663f..e1985609af4b 100644 --- a/drivers/media/video/zoran/zr36050.c +++ b/drivers/media/video/zoran/zr36050.c | |||
@@ -236,7 +236,7 @@ zr36050_pushit (struct zr36050 *ptr, | |||
236 | 236 | ||
237 | Could be variable, but until it's not needed it they are just fixed to save | 237 | Could be variable, but until it's not needed it they are just fixed to save |
238 | memory. Otherwise expand zr36050 structure with arrays, push the values to | 238 | memory. Otherwise expand zr36050 structure with arrays, push the values to |
239 | it and initalize from there, as e.g. the linux zr36057/60 driver does it. | 239 | it and initialize from there, as e.g. the linux zr36057/60 driver does it. |
240 | ========================================================================= */ | 240 | ========================================================================= */ |
241 | 241 | ||
242 | static const char zr36050_dqt[0x86] = { | 242 | static const char zr36050_dqt[0x86] = { |
diff --git a/drivers/media/video/zoran/zr36060.c b/drivers/media/video/zoran/zr36060.c index 008746ff7746..5e4f57cbf314 100644 --- a/drivers/media/video/zoran/zr36060.c +++ b/drivers/media/video/zoran/zr36060.c | |||
@@ -227,7 +227,7 @@ zr36060_pushit (struct zr36060 *ptr, | |||
227 | 227 | ||
228 | Could be variable, but until it's not needed it they are just fixed to save | 228 | Could be variable, but until it's not needed it they are just fixed to save |
229 | memory. Otherwise expand zr36060 structure with arrays, push the values to | 229 | memory. Otherwise expand zr36060 structure with arrays, push the values to |
230 | it and initalize from there, as e.g. the linux zr36057/60 driver does it. | 230 | it and initialize from there, as e.g. the linux zr36057/60 driver does it. |
231 | ========================================================================= */ | 231 | ========================================================================= */ |
232 | 232 | ||
233 | static const char zr36060_dqt[0x86] = { | 233 | static const char zr36060_dqt[0x86] = { |
diff --git a/drivers/message/fusion/mptbase.c b/drivers/message/fusion/mptbase.c index 2a52559058a9..b88a244a1edd 100644 --- a/drivers/message/fusion/mptbase.c +++ b/drivers/message/fusion/mptbase.c | |||
@@ -1799,7 +1799,7 @@ mpt_attach(struct pci_dev *pdev, const struct pci_device_id *id) | |||
1799 | ioc->sh = NULL; | 1799 | ioc->sh = NULL; |
1800 | ioc->cached_fw = NULL; | 1800 | ioc->cached_fw = NULL; |
1801 | 1801 | ||
1802 | /* Initilize SCSI Config Data structure | 1802 | /* Initialize SCSI Config Data structure |
1803 | */ | 1803 | */ |
1804 | memset(&ioc->spi_data, 0, sizeof(SpiCfgData)); | 1804 | memset(&ioc->spi_data, 0, sizeof(SpiCfgData)); |
1805 | 1805 | ||
@@ -2478,7 +2478,7 @@ mpt_do_ioc_recovery(MPT_ADAPTER *ioc, u32 reason, int sleepFlag) | |||
2478 | if ((ret == 0) && (reason == MPT_HOSTEVENT_IOC_BRINGUP)) { | 2478 | if ((ret == 0) && (reason == MPT_HOSTEVENT_IOC_BRINGUP)) { |
2479 | 2479 | ||
2480 | /* | 2480 | /* |
2481 | * Initalize link list for inactive raid volumes. | 2481 | * Initialize link list for inactive raid volumes. |
2482 | */ | 2482 | */ |
2483 | mutex_init(&ioc->raid_data.inactive_list_mutex); | 2483 | mutex_init(&ioc->raid_data.inactive_list_mutex); |
2484 | INIT_LIST_HEAD(&ioc->raid_data.inactive_list); | 2484 | INIT_LIST_HEAD(&ioc->raid_data.inactive_list); |
diff --git a/drivers/mtd/nand/denali.c b/drivers/mtd/nand/denali.c index ca03428b59cc..3dfda9cc677d 100644 --- a/drivers/mtd/nand/denali.c +++ b/drivers/mtd/nand/denali.c | |||
@@ -1836,7 +1836,7 @@ static struct nand_bbt_descr bbt_mirror_descr = { | |||
1836 | .pattern = mirror_pattern, | 1836 | .pattern = mirror_pattern, |
1837 | }; | 1837 | }; |
1838 | 1838 | ||
1839 | /* initalize driver data structures */ | 1839 | /* initialize driver data structures */ |
1840 | void denali_drv_init(struct denali_nand_info *denali) | 1840 | void denali_drv_init(struct denali_nand_info *denali) |
1841 | { | 1841 | { |
1842 | denali->idx = 0; | 1842 | denali->idx = 0; |
diff --git a/drivers/net/3c527.c b/drivers/net/3c527.c index 38395dfa4963..70705d1306b9 100644 --- a/drivers/net/3c527.c +++ b/drivers/net/3c527.c | |||
@@ -729,14 +729,14 @@ static void mc32_halt_transceiver(struct net_device *dev) | |||
729 | * mc32_load_rx_ring - load the ring of receive buffers | 729 | * mc32_load_rx_ring - load the ring of receive buffers |
730 | * @dev: 3c527 to build the ring for | 730 | * @dev: 3c527 to build the ring for |
731 | * | 731 | * |
732 | * This initalises the on-card and driver datastructures to | 732 | * This initialises the on-card and driver datastructures to |
733 | * the point where mc32_start_transceiver() can be called. | 733 | * the point where mc32_start_transceiver() can be called. |
734 | * | 734 | * |
735 | * The card sets up the receive ring for us. We are required to use the | 735 | * The card sets up the receive ring for us. We are required to use the |
736 | * ring it provides, although the size of the ring is configurable. | 736 | * ring it provides, although the size of the ring is configurable. |
737 | * | 737 | * |
738 | * We allocate an sk_buff for each ring entry in turn and | 738 | * We allocate an sk_buff for each ring entry in turn and |
739 | * initalise its house-keeping info. At the same time, we read | 739 | * initialise its house-keeping info. At the same time, we read |
740 | * each 'next' pointer in our rx_ring array. This reduces slow | 740 | * each 'next' pointer in our rx_ring array. This reduces slow |
741 | * shared-memory reads and makes it easy to access predecessor | 741 | * shared-memory reads and makes it easy to access predecessor |
742 | * descriptors. | 742 | * descriptors. |
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c index 79636ee35829..0362c8d31a08 100644 --- a/drivers/net/appletalk/ipddp.c +++ b/drivers/net/appletalk/ipddp.c | |||
@@ -80,7 +80,7 @@ static struct net_device * __init ipddp_init(void) | |||
80 | if (version_printed++ == 0) | 80 | if (version_printed++ == 0) |
81 | printk(version); | 81 | printk(version); |
82 | 82 | ||
83 | /* Initalize the device structure. */ | 83 | /* Initialize the device structure. */ |
84 | dev->netdev_ops = &ipddp_netdev_ops; | 84 | dev->netdev_ops = &ipddp_netdev_ops; |
85 | 85 | ||
86 | dev->type = ARPHRD_IPDDP; /* IP over DDP tunnel */ | 86 | dev->type = ARPHRD_IPDDP; /* IP over DDP tunnel */ |
diff --git a/drivers/net/benet/be_hw.h b/drivers/net/benet/be_hw.h index 6c8f9bb8bfe6..5d38046402b2 100644 --- a/drivers/net/benet/be_hw.h +++ b/drivers/net/benet/be_hw.h | |||
@@ -52,7 +52,7 @@ | |||
52 | */ | 52 | */ |
53 | #define MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK (1 << 29) /* bit 29 */ | 53 | #define MEMBAR_CTRL_INT_CTRL_HOSTINTR_MASK (1 << 29) /* bit 29 */ |
54 | 54 | ||
55 | /********* Power managment (WOL) **********/ | 55 | /********* Power management (WOL) **********/ |
56 | #define PCICFG_PM_CONTROL_OFFSET 0x44 | 56 | #define PCICFG_PM_CONTROL_OFFSET 0x44 |
57 | #define PCICFG_PM_CONTROL_MASK 0x108 /* bits 3 & 8 */ | 57 | #define PCICFG_PM_CONTROL_MASK 0x108 /* bits 3 & 8 */ |
58 | 58 | ||
diff --git a/drivers/net/gianfar.c b/drivers/net/gianfar.c index 27f02970d898..a1b6301bc674 100644 --- a/drivers/net/gianfar.c +++ b/drivers/net/gianfar.c | |||
@@ -917,7 +917,7 @@ static void gfar_init_filer_table(struct gfar_private *priv) | |||
917 | rqfar = cluster_entry_per_class(priv, rqfar, RQFPR_IPV4 | RQFPR_UDP); | 917 | rqfar = cluster_entry_per_class(priv, rqfar, RQFPR_IPV4 | RQFPR_UDP); |
918 | rqfar = cluster_entry_per_class(priv, rqfar, RQFPR_IPV4 | RQFPR_TCP); | 918 | rqfar = cluster_entry_per_class(priv, rqfar, RQFPR_IPV4 | RQFPR_TCP); |
919 | 919 | ||
920 | /* cur_filer_idx indicated the fisrt non-masked rule */ | 920 | /* cur_filer_idx indicated the first non-masked rule */ |
921 | priv->cur_filer_idx = rqfar; | 921 | priv->cur_filer_idx = rqfar; |
922 | 922 | ||
923 | /* Rest are masked rules */ | 923 | /* Rest are masked rules */ |
diff --git a/drivers/net/hp100.c b/drivers/net/hp100.c index ce587f4c4203..095b17ecf609 100644 --- a/drivers/net/hp100.c +++ b/drivers/net/hp100.c | |||
@@ -1072,7 +1072,7 @@ static void hp100_mmuinit(struct net_device *dev) | |||
1072 | if (lp->mode == 1) | 1072 | if (lp->mode == 1) |
1073 | hp100_init_pdls(dev); | 1073 | hp100_init_pdls(dev); |
1074 | 1074 | ||
1075 | /* Go to performance page and initalize isr and imr registers */ | 1075 | /* Go to performance page and initialize isr and imr registers */ |
1076 | hp100_page(PERFORMANCE); | 1076 | hp100_page(PERFORMANCE); |
1077 | hp100_outw(0xfefe, IRQ_MASK); /* mask off all ints */ | 1077 | hp100_outw(0xfefe, IRQ_MASK); /* mask off all ints */ |
1078 | hp100_outw(0xffff, IRQ_STATUS); /* ack IRQ */ | 1078 | hp100_outw(0xffff, IRQ_STATUS); /* ack IRQ */ |
diff --git a/drivers/net/ibm_newemac/core.c b/drivers/net/ibm_newemac/core.c index b150c102ca5a..0f1d4e96cf89 100644 --- a/drivers/net/ibm_newemac/core.c +++ b/drivers/net/ibm_newemac/core.c | |||
@@ -1045,7 +1045,7 @@ static int emac_change_mtu(struct net_device *ndev, int new_mtu) | |||
1045 | DBG(dev, "change_mtu(%d)" NL, new_mtu); | 1045 | DBG(dev, "change_mtu(%d)" NL, new_mtu); |
1046 | 1046 | ||
1047 | if (netif_running(ndev)) { | 1047 | if (netif_running(ndev)) { |
1048 | /* Check if we really need to reinitalize RX ring */ | 1048 | /* Check if we really need to reinitialize RX ring */ |
1049 | if (emac_rx_skb_size(ndev->mtu) != emac_rx_skb_size(new_mtu)) | 1049 | if (emac_rx_skb_size(ndev->mtu) != emac_rx_skb_size(new_mtu)) |
1050 | ret = emac_resize_rx_ring(dev, new_mtu); | 1050 | ret = emac_resize_rx_ring(dev, new_mtu); |
1051 | } | 1051 | } |
diff --git a/drivers/net/ksz884x.c b/drivers/net/ksz884x.c index 8b32cc107f0f..37504a398906 100644 --- a/drivers/net/ksz884x.c +++ b/drivers/net/ksz884x.c | |||
@@ -6810,7 +6810,7 @@ static int stp; | |||
6810 | static int fast_aging; | 6810 | static int fast_aging; |
6811 | 6811 | ||
6812 | /** | 6812 | /** |
6813 | * netdev_init - initalize network device. | 6813 | * netdev_init - initialize network device. |
6814 | * @dev: Network device. | 6814 | * @dev: Network device. |
6815 | * | 6815 | * |
6816 | * This function initializes the network device. | 6816 | * This function initializes the network device. |
diff --git a/drivers/net/ll_temac_main.c b/drivers/net/ll_temac_main.c index b5c6279cc5a3..4eea3f70c5cf 100644 --- a/drivers/net/ll_temac_main.c +++ b/drivers/net/ll_temac_main.c | |||
@@ -497,7 +497,7 @@ static u32 temac_setoptions(struct net_device *ndev, u32 options) | |||
497 | return (0); | 497 | return (0); |
498 | } | 498 | } |
499 | 499 | ||
500 | /* Initilize temac */ | 500 | /* Initialize temac */ |
501 | static void temac_device_reset(struct net_device *ndev) | 501 | static void temac_device_reset(struct net_device *ndev) |
502 | { | 502 | { |
503 | struct temac_local *lp = netdev_priv(ndev); | 503 | struct temac_local *lp = netdev_priv(ndev); |
diff --git a/drivers/net/sh_eth.c b/drivers/net/sh_eth.c index 32f2deaa38bb..f5a9eb1df593 100644 --- a/drivers/net/sh_eth.c +++ b/drivers/net/sh_eth.c | |||
@@ -1376,7 +1376,7 @@ static int sh_mdio_init(struct net_device *ndev, int id) | |||
1376 | bitbang->mdc_msk = 0x01; | 1376 | bitbang->mdc_msk = 0x01; |
1377 | bitbang->ctrl.ops = &bb_ops; | 1377 | bitbang->ctrl.ops = &bb_ops; |
1378 | 1378 | ||
1379 | /* MII contorller setting */ | 1379 | /* MII controller setting */ |
1380 | mdp->mii_bus = alloc_mdio_bitbang(&bitbang->ctrl); | 1380 | mdp->mii_bus = alloc_mdio_bitbang(&bitbang->ctrl); |
1381 | if (!mdp->mii_bus) { | 1381 | if (!mdp->mii_bus) { |
1382 | ret = -ENOMEM; | 1382 | ret = -ENOMEM; |
diff --git a/drivers/net/tulip/dmfe.c b/drivers/net/tulip/dmfe.c index 29e6c63d39fd..0bc4f3030a80 100644 --- a/drivers/net/tulip/dmfe.c +++ b/drivers/net/tulip/dmfe.c | |||
@@ -589,7 +589,7 @@ static int dmfe_open(struct DEVICE *dev) | |||
589 | db->dm910x_chk_mode = 1; /* Enter the check mode */ | 589 | db->dm910x_chk_mode = 1; /* Enter the check mode */ |
590 | } | 590 | } |
591 | 591 | ||
592 | /* Initilize DM910X board */ | 592 | /* Initialize DM910X board */ |
593 | dmfe_init_dm910x(dev); | 593 | dmfe_init_dm910x(dev); |
594 | 594 | ||
595 | /* Active System Interface */ | 595 | /* Active System Interface */ |
@@ -606,9 +606,9 @@ static int dmfe_open(struct DEVICE *dev) | |||
606 | } | 606 | } |
607 | 607 | ||
608 | 608 | ||
609 | /* Initilize DM910X board | 609 | /* Initialize DM910X board |
610 | * Reset DM910X board | 610 | * Reset DM910X board |
611 | * Initilize TX/Rx descriptor chain structure | 611 | * Initialize TX/Rx descriptor chain structure |
612 | * Send the set-up frame | 612 | * Send the set-up frame |
613 | * Enable Tx/Rx machine | 613 | * Enable Tx/Rx machine |
614 | */ | 614 | */ |
@@ -649,7 +649,7 @@ static void dmfe_init_dm910x(struct DEVICE *dev) | |||
649 | if ( !(db->media_mode & DMFE_AUTO) ) | 649 | if ( !(db->media_mode & DMFE_AUTO) ) |
650 | db->op_mode = db->media_mode; /* Force Mode */ | 650 | db->op_mode = db->media_mode; /* Force Mode */ |
651 | 651 | ||
652 | /* Initiliaze Transmit/Receive decriptor and CR3/4 */ | 652 | /* Initialize Transmit/Receive decriptor and CR3/4 */ |
653 | dmfe_descriptor_init(db, ioaddr); | 653 | dmfe_descriptor_init(db, ioaddr); |
654 | 654 | ||
655 | /* Init CR6 to program DM910x operation */ | 655 | /* Init CR6 to program DM910x operation */ |
@@ -1288,7 +1288,7 @@ static void dmfe_timer(unsigned long data) | |||
1288 | * Stop DM910X board | 1288 | * Stop DM910X board |
1289 | * Free Tx/Rx allocated memory | 1289 | * Free Tx/Rx allocated memory |
1290 | * Reset DM910X board | 1290 | * Reset DM910X board |
1291 | * Re-initilize DM910X board | 1291 | * Re-initialize DM910X board |
1292 | */ | 1292 | */ |
1293 | 1293 | ||
1294 | static void dmfe_dynamic_reset(struct DEVICE *dev) | 1294 | static void dmfe_dynamic_reset(struct DEVICE *dev) |
@@ -1316,7 +1316,7 @@ static void dmfe_dynamic_reset(struct DEVICE *dev) | |||
1316 | netif_carrier_off(dev); | 1316 | netif_carrier_off(dev); |
1317 | db->wait_reset = 0; | 1317 | db->wait_reset = 0; |
1318 | 1318 | ||
1319 | /* Re-initilize DM910X board */ | 1319 | /* Re-initialize DM910X board */ |
1320 | dmfe_init_dm910x(dev); | 1320 | dmfe_init_dm910x(dev); |
1321 | 1321 | ||
1322 | /* Restart upper layer interface */ | 1322 | /* Restart upper layer interface */ |
@@ -1447,7 +1447,7 @@ static void update_cr6(u32 cr6_data, unsigned long ioaddr) | |||
1447 | 1447 | ||
1448 | /* | 1448 | /* |
1449 | * Send a setup frame for DM9132 | 1449 | * Send a setup frame for DM9132 |
1450 | * This setup frame initilize DM910X address filter mode | 1450 | * This setup frame initialize DM910X address filter mode |
1451 | */ | 1451 | */ |
1452 | 1452 | ||
1453 | static void dm9132_id_table(struct DEVICE *dev) | 1453 | static void dm9132_id_table(struct DEVICE *dev) |
@@ -1489,7 +1489,7 @@ static void dm9132_id_table(struct DEVICE *dev) | |||
1489 | 1489 | ||
1490 | /* | 1490 | /* |
1491 | * Send a setup frame for DM9102/DM9102A | 1491 | * Send a setup frame for DM9102/DM9102A |
1492 | * This setup frame initilize DM910X address filter mode | 1492 | * This setup frame initialize DM910X address filter mode |
1493 | */ | 1493 | */ |
1494 | 1494 | ||
1495 | static void send_filter_frame(struct DEVICE *dev) | 1495 | static void send_filter_frame(struct DEVICE *dev) |
@@ -2142,7 +2142,7 @@ static int dmfe_resume(struct pci_dev *pci_dev) | |||
2142 | pci_set_power_state(pci_dev, PCI_D0); | 2142 | pci_set_power_state(pci_dev, PCI_D0); |
2143 | pci_restore_state(pci_dev); | 2143 | pci_restore_state(pci_dev); |
2144 | 2144 | ||
2145 | /* Re-initilize DM910X board */ | 2145 | /* Re-initialize DM910X board */ |
2146 | dmfe_init_dm910x(dev); | 2146 | dmfe_init_dm910x(dev); |
2147 | 2147 | ||
2148 | /* Disable WOL */ | 2148 | /* Disable WOL */ |
@@ -2196,7 +2196,7 @@ MODULE_PARM_DESC(SF_mode, "Davicom DM9xxx special function " | |||
2196 | 2196 | ||
2197 | /* Description: | 2197 | /* Description: |
2198 | * when user used insmod to add module, system invoked init_module() | 2198 | * when user used insmod to add module, system invoked init_module() |
2199 | * to initilize and register. | 2199 | * to initialize and register. |
2200 | */ | 2200 | */ |
2201 | 2201 | ||
2202 | static int __init dmfe_init_module(void) | 2202 | static int __init dmfe_init_module(void) |
diff --git a/drivers/net/wimax/i2400m/control.c b/drivers/net/wimax/i2400m/control.c index 2f725d0cc762..9fb03082153a 100644 --- a/drivers/net/wimax/i2400m/control.c +++ b/drivers/net/wimax/i2400m/control.c | |||
@@ -50,7 +50,7 @@ | |||
50 | * | 50 | * |
51 | * ROADMAP | 51 | * ROADMAP |
52 | * | 52 | * |
53 | * i2400m_dev_initalize() Called by i2400m_dev_start() | 53 | * i2400m_dev_initialize() Called by i2400m_dev_start() |
54 | * i2400m_set_init_config() | 54 | * i2400m_set_init_config() |
55 | * i2400m_cmd_get_state() | 55 | * i2400m_cmd_get_state() |
56 | * i2400m_dev_shutdown() Called by i2400m_dev_stop() | 56 | * i2400m_dev_shutdown() Called by i2400m_dev_stop() |
diff --git a/drivers/net/wireless/hostap/hostap_ap.c b/drivers/net/wireless/hostap/hostap_ap.c index 9cadaa296fac..dbb986946e1a 100644 --- a/drivers/net/wireless/hostap/hostap_ap.c +++ b/drivers/net/wireless/hostap/hostap_ap.c | |||
@@ -1224,7 +1224,7 @@ static void ap_crypt_init(struct ap_data *ap) | |||
1224 | 1224 | ||
1225 | 1225 | ||
1226 | /* Generate challenge data for shared key authentication. IEEE 802.11 specifies | 1226 | /* Generate challenge data for shared key authentication. IEEE 802.11 specifies |
1227 | * that WEP algorithm is used for generating challange. This should be unique, | 1227 | * that WEP algorithm is used for generating challenge. This should be unique, |
1228 | * but otherwise there is not really need for randomness etc. Initialize WEP | 1228 | * but otherwise there is not really need for randomness etc. Initialize WEP |
1229 | * with pseudo random key and then use increasing IV to get unique challenge | 1229 | * with pseudo random key and then use increasing IV to get unique challenge |
1230 | * streams. | 1230 | * streams. |
diff --git a/drivers/net/wireless/hostap/hostap_hw.c b/drivers/net/wireless/hostap/hostap_hw.c index 2f999fc94f60..e9d9d622a9b0 100644 --- a/drivers/net/wireless/hostap/hostap_hw.c +++ b/drivers/net/wireless/hostap/hostap_hw.c | |||
@@ -1896,7 +1896,7 @@ fail: | |||
1896 | /* Some SMP systems have reported number of odd errors with hostap_pci. fid | 1896 | /* Some SMP systems have reported number of odd errors with hostap_pci. fid |
1897 | * register has changed values between consecutive reads for an unknown reason. | 1897 | * register has changed values between consecutive reads for an unknown reason. |
1898 | * This should really not happen, so more debugging is needed. This test | 1898 | * This should really not happen, so more debugging is needed. This test |
1899 | * version is a big slower, but it will detect most of such register changes | 1899 | * version is a bit slower, but it will detect most of such register changes |
1900 | * and will try to get the correct fid eventually. */ | 1900 | * and will try to get the correct fid eventually. */ |
1901 | #define EXTRA_FID_READ_TESTS | 1901 | #define EXTRA_FID_READ_TESTS |
1902 | 1902 | ||
diff --git a/drivers/parisc/ccio-dma.c b/drivers/parisc/ccio-dma.c index f511e70d454c..75a80e46b391 100644 --- a/drivers/parisc/ccio-dma.c +++ b/drivers/parisc/ccio-dma.c | |||
@@ -1241,10 +1241,10 @@ static struct parisc_driver ccio_driver = { | |||
1241 | }; | 1241 | }; |
1242 | 1242 | ||
1243 | /** | 1243 | /** |
1244 | * ccio_ioc_init - Initalize the I/O Controller | 1244 | * ccio_ioc_init - Initialize the I/O Controller |
1245 | * @ioc: The I/O Controller. | 1245 | * @ioc: The I/O Controller. |
1246 | * | 1246 | * |
1247 | * Initalize the I/O Controller which includes setting up the | 1247 | * Initialize the I/O Controller which includes setting up the |
1248 | * I/O Page Directory, the resource map, and initalizing the | 1248 | * I/O Page Directory, the resource map, and initalizing the |
1249 | * U2/Uturn chip into virtual mode. | 1249 | * U2/Uturn chip into virtual mode. |
1250 | */ | 1250 | */ |
diff --git a/drivers/pcmcia/sa11xx_base.c b/drivers/pcmcia/sa11xx_base.c index fa28d8911b00..0c62fe31a40e 100644 --- a/drivers/pcmcia/sa11xx_base.c +++ b/drivers/pcmcia/sa11xx_base.c | |||
@@ -231,7 +231,7 @@ int sa11xx_drv_pcmcia_probe(struct device *dev, struct pcmcia_low_level *ops, | |||
231 | 231 | ||
232 | sinfo->nskt = nr; | 232 | sinfo->nskt = nr; |
233 | 233 | ||
234 | /* Initiliaze processor specific parameters */ | 234 | /* Initialize processor specific parameters */ |
235 | for (i = 0; i < nr; i++) { | 235 | for (i = 0; i < nr; i++) { |
236 | skt = &sinfo->skt[i]; | 236 | skt = &sinfo->skt[i]; |
237 | 237 | ||
diff --git a/drivers/rapidio/rio.c b/drivers/rapidio/rio.c index 08fa453af974..74e9d22d95fb 100644 --- a/drivers/rapidio/rio.c +++ b/drivers/rapidio/rio.c | |||
@@ -808,7 +808,7 @@ int rio_std_route_add_entry(struct rio_mport *mport, u16 destid, u8 hopcount, | |||
808 | 808 | ||
809 | /** | 809 | /** |
810 | * rio_std_route_get_entry - Read switch route table entry (port number) | 810 | * rio_std_route_get_entry - Read switch route table entry (port number) |
811 | * assosiated with specified destID using standard registers defined in RIO | 811 | * associated with specified destID using standard registers defined in RIO |
812 | * specification rev.1.3 | 812 | * specification rev.1.3 |
813 | * @mport: Master port to issue transaction | 813 | * @mport: Master port to issue transaction |
814 | * @destid: Destination ID of the device | 814 | * @destid: Destination ID of the device |
diff --git a/drivers/rtc/rtc-fm3130.c b/drivers/rtc/rtc-fm3130.c index ff6fce61ea41..e4de8f37ae4a 100644 --- a/drivers/rtc/rtc-fm3130.c +++ b/drivers/rtc/rtc-fm3130.c | |||
@@ -104,7 +104,7 @@ static int fm3130_get_time(struct device *dev, struct rtc_time *t) | |||
104 | if (!fm3130->data_valid) { | 104 | if (!fm3130->data_valid) { |
105 | /* We have invalid data in RTC, probably due | 105 | /* We have invalid data in RTC, probably due |
106 | to battery faults or other problems. Return EIO | 106 | to battery faults or other problems. Return EIO |
107 | for now, it will allow us to set data later insted | 107 | for now, it will allow us to set data later instead |
108 | of error during probing which disables device */ | 108 | of error during probing which disables device */ |
109 | return -EIO; | 109 | return -EIO; |
110 | } | 110 | } |
diff --git a/drivers/rtc/rtc-rx8025.c b/drivers/rtc/rtc-rx8025.c index 789f62f9b47d..1146e3522d3c 100644 --- a/drivers/rtc/rtc-rx8025.c +++ b/drivers/rtc/rtc-rx8025.c | |||
@@ -461,7 +461,7 @@ static struct rtc_class_ops rx8025_rtc_ops = { | |||
461 | * Clock precision adjustment support | 461 | * Clock precision adjustment support |
462 | * | 462 | * |
463 | * According to the RX8025 SA/NB application manual the frequency and | 463 | * According to the RX8025 SA/NB application manual the frequency and |
464 | * temperature charateristics can be approximated using the following | 464 | * temperature characteristics can be approximated using the following |
465 | * equation: | 465 | * equation: |
466 | * | 466 | * |
467 | * df = a * (ut - t)**2 | 467 | * df = a * (ut - t)**2 |
diff --git a/drivers/scsi/advansys.c b/drivers/scsi/advansys.c index 7f87979da22d..0ec3da6f3e12 100644 --- a/drivers/scsi/advansys.c +++ b/drivers/scsi/advansys.c | |||
@@ -9717,7 +9717,7 @@ static ushort __devinit AscInitAscDvcVar(ASC_DVC_VAR *asc_dvc) | |||
9717 | asc_dvc->bug_fix_cntl = 0; | 9717 | asc_dvc->bug_fix_cntl = 0; |
9718 | asc_dvc->pci_fix_asyn_xfer = 0; | 9718 | asc_dvc->pci_fix_asyn_xfer = 0; |
9719 | asc_dvc->pci_fix_asyn_xfer_always = 0; | 9719 | asc_dvc->pci_fix_asyn_xfer_always = 0; |
9720 | /* asc_dvc->init_state initalized in AscInitGetConfig(). */ | 9720 | /* asc_dvc->init_state initialized in AscInitGetConfig(). */ |
9721 | asc_dvc->sdtr_done = 0; | 9721 | asc_dvc->sdtr_done = 0; |
9722 | asc_dvc->cur_total_qng = 0; | 9722 | asc_dvc->cur_total_qng = 0; |
9723 | asc_dvc->is_in_int = 0; | 9723 | asc_dvc->is_in_int = 0; |
diff --git a/drivers/scsi/aic7xxx_old/aic7xxx.seq b/drivers/scsi/aic7xxx_old/aic7xxx.seq index f6fc4b75b5a5..5997e7c3a191 100644 --- a/drivers/scsi/aic7xxx_old/aic7xxx.seq +++ b/drivers/scsi/aic7xxx_old/aic7xxx.seq | |||
@@ -615,7 +615,7 @@ ultra2_dmafifoflush: | |||
615 | * went empty and the next bit of data is copied from | 615 | * went empty and the next bit of data is copied from |
616 | * the SCSI fifo into the PCI fifo. It should only | 616 | * the SCSI fifo into the PCI fifo. It should only |
617 | * come on when both FIFOs (meaning the entire FIFO | 617 | * come on when both FIFOs (meaning the entire FIFO |
618 | * chain) are emtpy. Since it can take up to 4 cycles | 618 | * chain) are empty. Since it can take up to 4 cycles |
619 | * for new data to be copied from the SCSI fifo into | 619 | * for new data to be copied from the SCSI fifo into |
620 | * the PCI fifo, testing for FIFOEMP status for 4 | 620 | * the PCI fifo, testing for FIFOEMP status for 4 |
621 | * extra times gives the needed time for any | 621 | * extra times gives the needed time for any |
diff --git a/drivers/scsi/aic94xx/aic94xx_seq.c b/drivers/scsi/aic94xx/aic94xx_seq.c index d01dcc62b39a..74374618010c 100644 --- a/drivers/scsi/aic94xx/aic94xx_seq.c +++ b/drivers/scsi/aic94xx/aic94xx_seq.c | |||
@@ -588,7 +588,7 @@ static void asd_init_cseq_mdp(struct asd_ha_struct *asd_ha) | |||
588 | * asd_init_cseq_scratch -- setup and init CSEQ | 588 | * asd_init_cseq_scratch -- setup and init CSEQ |
589 | * @asd_ha: pointer to host adapter structure | 589 | * @asd_ha: pointer to host adapter structure |
590 | * | 590 | * |
591 | * Setup and initialize Central sequencers. Initialiaze the mode | 591 | * Setup and initialize Central sequencers. Initialize the mode |
592 | * independent and dependent scratch page to the default settings. | 592 | * independent and dependent scratch page to the default settings. |
593 | */ | 593 | */ |
594 | static void asd_init_cseq_scratch(struct asd_ha_struct *asd_ha) | 594 | static void asd_init_cseq_scratch(struct asd_ha_struct *asd_ha) |
@@ -782,7 +782,7 @@ static void asd_init_lseq_mdp(struct asd_ha_struct *asd_ha, int lseq) | |||
782 | asd_write_reg_word(asd_ha, LmSEQ_OOB_INT_ENABLES(lseq), 0); | 782 | asd_write_reg_word(asd_ha, LmSEQ_OOB_INT_ENABLES(lseq), 0); |
783 | /* | 783 | /* |
784 | * Set the desired interval between transmissions of the NOTIFY | 784 | * Set the desired interval between transmissions of the NOTIFY |
785 | * (ENABLE SPINUP) primitive. Must be initilized to val - 1. | 785 | * (ENABLE SPINUP) primitive. Must be initialized to val - 1. |
786 | */ | 786 | */ |
787 | asd_write_reg_word(asd_ha, LmSEQ_NOTIFY_TIMER_TIMEOUT(lseq), | 787 | asd_write_reg_word(asd_ha, LmSEQ_NOTIFY_TIMER_TIMEOUT(lseq), |
788 | ASD_NOTIFY_TIMEOUT - 1); | 788 | ASD_NOTIFY_TIMEOUT - 1); |
diff --git a/drivers/scsi/bfa/bfa_core.c b/drivers/scsi/bfa/bfa_core.c index bef70924d5c8..76fa5c5b40dd 100644 --- a/drivers/scsi/bfa/bfa_core.c +++ b/drivers/scsi/bfa/bfa_core.c | |||
@@ -336,7 +336,7 @@ bfa_get_pciids(struct bfa_pciid_s **pciids, int *npciids) | |||
336 | {BFA_PCI_VENDOR_ID_BROCADE, BFA_PCI_DEVICE_ID_CT_FC}, | 336 | {BFA_PCI_VENDOR_ID_BROCADE, BFA_PCI_DEVICE_ID_CT_FC}, |
337 | }; | 337 | }; |
338 | 338 | ||
339 | *npciids = sizeof(__pciids) / sizeof(__pciids[0]); | 339 | *npciids = ARRAY_SIZE(__pciids); |
340 | *pciids = __pciids; | 340 | *pciids = __pciids; |
341 | } | 341 | } |
342 | 342 | ||
diff --git a/drivers/scsi/bfa/bfa_fcs.c b/drivers/scsi/bfa/bfa_fcs.c index 3ec2f49de61d..d1a99209bf5f 100644 --- a/drivers/scsi/bfa/bfa_fcs.c +++ b/drivers/scsi/bfa/bfa_fcs.c | |||
@@ -86,7 +86,7 @@ bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad, | |||
86 | bfa_attach_fcs(bfa); | 86 | bfa_attach_fcs(bfa); |
87 | fcbuild_init(); | 87 | fcbuild_init(); |
88 | 88 | ||
89 | for (i = 0; i < sizeof(fcs_modules) / sizeof(fcs_modules[0]); i++) { | 89 | for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) { |
90 | mod = &fcs_modules[i]; | 90 | mod = &fcs_modules[i]; |
91 | if (mod->attach) | 91 | if (mod->attach) |
92 | mod->attach(fcs); | 92 | mod->attach(fcs); |
@@ -103,7 +103,7 @@ bfa_fcs_init(struct bfa_fcs_s *fcs) | |||
103 | struct bfa_fcs_mod_s *mod; | 103 | struct bfa_fcs_mod_s *mod; |
104 | struct bfi_pbc_vport_s pbc_vports[BFI_PBC_MAX_VPORTS]; | 104 | struct bfi_pbc_vport_s pbc_vports[BFI_PBC_MAX_VPORTS]; |
105 | 105 | ||
106 | for (i = 0; i < sizeof(fcs_modules) / sizeof(fcs_modules[0]); i++) { | 106 | for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) { |
107 | mod = &fcs_modules[i]; | 107 | mod = &fcs_modules[i]; |
108 | if (mod->modinit) | 108 | if (mod->modinit) |
109 | mod->modinit(fcs); | 109 | mod->modinit(fcs); |
@@ -171,13 +171,11 @@ void | |||
171 | bfa_fcs_exit(struct bfa_fcs_s *fcs) | 171 | bfa_fcs_exit(struct bfa_fcs_s *fcs) |
172 | { | 172 | { |
173 | struct bfa_fcs_mod_s *mod; | 173 | struct bfa_fcs_mod_s *mod; |
174 | int nmods, i; | 174 | int i; |
175 | 175 | ||
176 | bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs); | 176 | bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs); |
177 | 177 | ||
178 | nmods = sizeof(fcs_modules) / sizeof(fcs_modules[0]); | 178 | for (i = 0; i < ARRAY_SIZE(fcs_modules); i++) { |
179 | |||
180 | for (i = 0; i < nmods; i++) { | ||
181 | 179 | ||
182 | mod = &fcs_modules[i]; | 180 | mod = &fcs_modules[i]; |
183 | if (mod->modexit) { | 181 | if (mod->modexit) { |
diff --git a/drivers/scsi/bfa/bfa_ioim.c b/drivers/scsi/bfa/bfa_ioim.c index 4148ae09f998..bdfdc19915f8 100644 --- a/drivers/scsi/bfa/bfa_ioim.c +++ b/drivers/scsi/bfa/bfa_ioim.c | |||
@@ -520,7 +520,7 @@ bfa_ioim_sm_cleanup_qfull(struct bfa_ioim_s *ioim, enum bfa_ioim_event event) | |||
520 | 520 | ||
521 | case BFA_IOIM_SM_ABORT: | 521 | case BFA_IOIM_SM_ABORT: |
522 | /** | 522 | /** |
523 | * IO is alraedy being cleaned up implicitly | 523 | * IO is already being cleaned up implicitly |
524 | */ | 524 | */ |
525 | ioim->io_cbfn = __bfa_cb_ioim_abort; | 525 | ioim->io_cbfn = __bfa_cb_ioim_abort; |
526 | break; | 526 | break; |
diff --git a/drivers/scsi/bfa/vport.c b/drivers/scsi/bfa/vport.c index 66f30a0d61e0..b378ec79d386 100644 --- a/drivers/scsi/bfa/vport.c +++ b/drivers/scsi/bfa/vport.c | |||
@@ -835,7 +835,7 @@ bfa_cb_lps_fdisc_comp(void *bfad, void *uarg, bfa_status_t status) | |||
835 | switch (status) { | 835 | switch (status) { |
836 | case BFA_STATUS_OK: | 836 | case BFA_STATUS_OK: |
837 | /* | 837 | /* |
838 | * Initialiaze the V-Port fields | 838 | * Initialize the V-Port fields |
839 | */ | 839 | */ |
840 | __vport_fcid(vport) = bfa_lps_get_pid(vport->lps); | 840 | __vport_fcid(vport) = bfa_lps_get_pid(vport->lps); |
841 | vport->vport_stats.fdisc_accepts++; | 841 | vport->vport_stats.fdisc_accepts++; |
diff --git a/drivers/scsi/fcoe/fcoe.c b/drivers/scsi/fcoe/fcoe.c index e79605a61155..844d618b84bd 100644 --- a/drivers/scsi/fcoe/fcoe.c +++ b/drivers/scsi/fcoe/fcoe.c | |||
@@ -2499,7 +2499,7 @@ module_exit(fcoe_exit); | |||
2499 | * @fp: response frame, or error encoded in a pointer (timeout) | 2499 | * @fp: response frame, or error encoded in a pointer (timeout) |
2500 | * @arg: pointer the the fcoe_ctlr structure | 2500 | * @arg: pointer the the fcoe_ctlr structure |
2501 | * | 2501 | * |
2502 | * This handles MAC address managment for FCoE, then passes control on to | 2502 | * This handles MAC address management for FCoE, then passes control on to |
2503 | * the libfc FLOGI response handler. | 2503 | * the libfc FLOGI response handler. |
2504 | */ | 2504 | */ |
2505 | static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) | 2505 | static void fcoe_flogi_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) |
@@ -2531,7 +2531,7 @@ done: | |||
2531 | * @fp: response frame, or error encoded in a pointer (timeout) | 2531 | * @fp: response frame, or error encoded in a pointer (timeout) |
2532 | * @arg: pointer the the fcoe_ctlr structure | 2532 | * @arg: pointer the the fcoe_ctlr structure |
2533 | * | 2533 | * |
2534 | * This handles MAC address managment for FCoE, then passes control on to | 2534 | * This handles MAC address management for FCoE, then passes control on to |
2535 | * the libfc LOGO response handler. | 2535 | * the libfc LOGO response handler. |
2536 | */ | 2536 | */ |
2537 | static void fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) | 2537 | static void fcoe_logo_resp(struct fc_seq *seq, struct fc_frame *fp, void *arg) |
diff --git a/drivers/scsi/libfc/fc_exch.c b/drivers/scsi/libfc/fc_exch.c index b8560ad8cf66..ec2a1aec2350 100644 --- a/drivers/scsi/libfc/fc_exch.c +++ b/drivers/scsi/libfc/fc_exch.c | |||
@@ -219,8 +219,6 @@ static void fc_exch_els_rrq(struct fc_frame *); | |||
219 | */ | 219 | */ |
220 | static char *fc_exch_rctl_names[] = FC_RCTL_NAMES_INIT; | 220 | static char *fc_exch_rctl_names[] = FC_RCTL_NAMES_INIT; |
221 | 221 | ||
222 | #define FC_TABLE_SIZE(x) (sizeof(x) / sizeof(x[0])) | ||
223 | |||
224 | /** | 222 | /** |
225 | * fc_exch_name_lookup() - Lookup name by opcode | 223 | * fc_exch_name_lookup() - Lookup name by opcode |
226 | * @op: Opcode to be looked up | 224 | * @op: Opcode to be looked up |
@@ -249,7 +247,7 @@ static inline const char *fc_exch_name_lookup(unsigned int op, char **table, | |||
249 | static const char *fc_exch_rctl_name(unsigned int op) | 247 | static const char *fc_exch_rctl_name(unsigned int op) |
250 | { | 248 | { |
251 | return fc_exch_name_lookup(op, fc_exch_rctl_names, | 249 | return fc_exch_name_lookup(op, fc_exch_rctl_names, |
252 | FC_TABLE_SIZE(fc_exch_rctl_names)); | 250 | ARRAY_SIZE(fc_exch_rctl_names)); |
253 | } | 251 | } |
254 | 252 | ||
255 | /** | 253 | /** |
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index 6eb334a8a7fa..d9b6e11b0e88 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c | |||
@@ -32,11 +32,11 @@ | |||
32 | * invalid SID. We also need to ensure that states don't change unexpectedly | 32 | * invalid SID. We also need to ensure that states don't change unexpectedly |
33 | * while processing another state. | 33 | * while processing another state. |
34 | * | 34 | * |
35 | * HEIRARCHY | 35 | * HIERARCHY |
36 | * | 36 | * |
37 | * The following heirarchy defines the locking rules. A greater lock | 37 | * The following hierarchy defines the locking rules. A greater lock |
38 | * may be held before acquiring a lesser lock, but a lesser lock should never | 38 | * may be held before acquiring a lesser lock, but a lesser lock should never |
39 | * be held while attempting to acquire a greater lock. Here is the heirarchy- | 39 | * be held while attempting to acquire a greater lock. Here is the hierarchy- |
40 | * | 40 | * |
41 | * lport > disc, lport > rport, disc > rport | 41 | * lport > disc, lport > rport, disc > rport |
42 | * | 42 | * |
diff --git a/drivers/scsi/libfc/fc_rport.c b/drivers/scsi/libfc/fc_rport.c index 25479cc7f170..b9f2286fe0cb 100644 --- a/drivers/scsi/libfc/fc_rport.c +++ b/drivers/scsi/libfc/fc_rport.c | |||
@@ -34,7 +34,7 @@ | |||
34 | * The rport should never hold the rport mutex and then attempt to acquire | 34 | * The rport should never hold the rport mutex and then attempt to acquire |
35 | * either the lport or disc mutexes. The rport's mutex is considered lesser | 35 | * either the lport or disc mutexes. The rport's mutex is considered lesser |
36 | * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for | 36 | * than both the lport's mutex and the disc mutex. Refer to fc_lport.c for |
37 | * more comments on the heirarchy. | 37 | * more comments on the hierarchy. |
38 | * | 38 | * |
39 | * The locking strategy is similar to the lport's strategy. The lock protects | 39 | * The locking strategy is similar to the lport's strategy. The lock protects |
40 | * the rport's states and is held and released by the entry points to the rport | 40 | * the rport's states and is held and released by the entry points to the rport |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_base.h b/drivers/scsi/mpt2sas/mpt2sas_base.h index 0ebef0c0d949..0b15a8bdebfc 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_base.h +++ b/drivers/scsi/mpt2sas/mpt2sas_base.h | |||
@@ -475,7 +475,7 @@ typedef void (*MPT_ADD_SGE)(void *paddr, u32 flags_length, dma_addr_t dma_addr); | |||
475 | * @shost_recovery: host reset in progress | 475 | * @shost_recovery: host reset in progress |
476 | * @ioc_reset_in_progress_lock: | 476 | * @ioc_reset_in_progress_lock: |
477 | * @ioc_link_reset_in_progress: phy/hard reset in progress | 477 | * @ioc_link_reset_in_progress: phy/hard reset in progress |
478 | * @ignore_loginfos: ignore loginfos during task managment | 478 | * @ignore_loginfos: ignore loginfos during task management |
479 | * @remove_host: flag for when driver unloads, to avoid sending dev resets | 479 | * @remove_host: flag for when driver unloads, to avoid sending dev resets |
480 | * @pci_error_recovery: flag to prevent ioc access until slot reset completes | 480 | * @pci_error_recovery: flag to prevent ioc access until slot reset completes |
481 | * @wait_for_port_enable_to_complete: | 481 | * @wait_for_port_enable_to_complete: |
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 6273abd0535e..16e99b686354 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c | |||
@@ -3349,7 +3349,7 @@ _scsih_qcmd(struct scsi_cmnd *scmd, void (*done)(struct scsi_cmnd *)) | |||
3349 | /* host recovery or link resets sent via IOCTLs */ | 3349 | /* host recovery or link resets sent via IOCTLs */ |
3350 | if (ioc->shost_recovery || ioc->ioc_link_reset_in_progress) | 3350 | if (ioc->shost_recovery || ioc->ioc_link_reset_in_progress) |
3351 | return SCSI_MLQUEUE_HOST_BUSY; | 3351 | return SCSI_MLQUEUE_HOST_BUSY; |
3352 | /* device busy with task managment */ | 3352 | /* device busy with task management */ |
3353 | else if (sas_device_priv_data->block || sas_target_priv_data->tm_busy) | 3353 | else if (sas_device_priv_data->block || sas_target_priv_data->tm_busy) |
3354 | return SCSI_MLQUEUE_DEVICE_BUSY; | 3354 | return SCSI_MLQUEUE_DEVICE_BUSY; |
3355 | /* device has been deleted */ | 3355 | /* device has been deleted */ |
@@ -7226,7 +7226,7 @@ _scsih_init(void) | |||
7226 | /* queuecommand callback hander */ | 7226 | /* queuecommand callback hander */ |
7227 | scsi_io_cb_idx = mpt2sas_base_register_callback_handler(_scsih_io_done); | 7227 | scsi_io_cb_idx = mpt2sas_base_register_callback_handler(_scsih_io_done); |
7228 | 7228 | ||
7229 | /* task managment callback handler */ | 7229 | /* task management callback handler */ |
7230 | tm_cb_idx = mpt2sas_base_register_callback_handler(_scsih_tm_done); | 7230 | tm_cb_idx = mpt2sas_base_register_callback_handler(_scsih_tm_done); |
7231 | 7231 | ||
7232 | /* base internal commands callback handler */ | 7232 | /* base internal commands callback handler */ |
diff --git a/drivers/scsi/pm8001/pm8001_hwi.c b/drivers/scsi/pm8001/pm8001_hwi.c index 356ad268de6d..58d1134935ef 100644 --- a/drivers/scsi/pm8001/pm8001_hwi.c +++ b/drivers/scsi/pm8001/pm8001_hwi.c | |||
@@ -1082,7 +1082,7 @@ static void pm8001_hw_chip_rst(struct pm8001_hba_info *pm8001_ha) | |||
1082 | } | 1082 | } |
1083 | 1083 | ||
1084 | /** | 1084 | /** |
1085 | * pm8001_chip_iounmap - which maped when initilized. | 1085 | * pm8001_chip_iounmap - which maped when initialized. |
1086 | * @pm8001_ha: our hba card information | 1086 | * @pm8001_ha: our hba card information |
1087 | */ | 1087 | */ |
1088 | static void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha) | 1088 | static void pm8001_chip_iounmap(struct pm8001_hba_info *pm8001_ha) |
@@ -4152,7 +4152,7 @@ static int pm8001_chip_abort_task(struct pm8001_hba_info *pm8001_ha, | |||
4152 | } | 4152 | } |
4153 | 4153 | ||
4154 | /** | 4154 | /** |
4155 | * pm8001_chip_ssp_tm_req - built the task managment command. | 4155 | * pm8001_chip_ssp_tm_req - built the task management command. |
4156 | * @pm8001_ha: our hba card information. | 4156 | * @pm8001_ha: our hba card information. |
4157 | * @ccb: the ccb information. | 4157 | * @ccb: the ccb information. |
4158 | * @tmf: task management function. | 4158 | * @tmf: task management function. |
diff --git a/drivers/scsi/qla2xxx/qla_iocb.c b/drivers/scsi/qla2xxx/qla_iocb.c index 4e4c21fafe3a..579f02854665 100644 --- a/drivers/scsi/qla2xxx/qla_iocb.c +++ b/drivers/scsi/qla2xxx/qla_iocb.c | |||
@@ -1068,7 +1068,7 @@ qla24xx_build_scsi_crc_2_iocbs(srb_t *sp, struct cmd_type_crc_2 *cmd_pkt, | |||
1068 | cmd_pkt->fcp_cmnd_dseg_address[1] = cpu_to_le32( | 1068 | cmd_pkt->fcp_cmnd_dseg_address[1] = cpu_to_le32( |
1069 | MSD(crc_ctx_dma + CRC_CONTEXT_FCPCMND_OFF)); | 1069 | MSD(crc_ctx_dma + CRC_CONTEXT_FCPCMND_OFF)); |
1070 | fcp_cmnd->task_attribute = 0; | 1070 | fcp_cmnd->task_attribute = 0; |
1071 | fcp_cmnd->task_managment = 0; | 1071 | fcp_cmnd->task_management = 0; |
1072 | 1072 | ||
1073 | cmd_pkt->fcp_rsp_dseg_len = 0; /* Let response come in status iocb */ | 1073 | cmd_pkt->fcp_rsp_dseg_len = 0; /* Let response come in status iocb */ |
1074 | 1074 | ||
diff --git a/drivers/scsi/qla2xxx/qla_nx.h b/drivers/scsi/qla2xxx/qla_nx.h index 569232b45502..15559cab39f8 100644 --- a/drivers/scsi/qla2xxx/qla_nx.h +++ b/drivers/scsi/qla2xxx/qla_nx.h | |||
@@ -865,7 +865,7 @@ struct fcp_cmnd { | |||
865 | struct scsi_lun lun; | 865 | struct scsi_lun lun; |
866 | uint8_t crn; | 866 | uint8_t crn; |
867 | uint8_t task_attribute; | 867 | uint8_t task_attribute; |
868 | uint8_t task_managment; | 868 | uint8_t task_management; |
869 | uint8_t additional_cdb_len; | 869 | uint8_t additional_cdb_len; |
870 | uint8_t cdb[260]; /* 256 for CDB len and 4 for FCP_DL */ | 870 | uint8_t cdb[260]; /* 256 for CDB len and 4 for FCP_DL */ |
871 | }; | 871 | }; |
diff --git a/drivers/scsi/qla4xxx/ql4_init.c b/drivers/scsi/qla4xxx/ql4_init.c index 266ebd45396d..30073577c3a4 100644 --- a/drivers/scsi/qla4xxx/ql4_init.c +++ b/drivers/scsi/qla4xxx/ql4_init.c | |||
@@ -214,7 +214,7 @@ exit_get_sys_info_no_free: | |||
214 | **/ | 214 | **/ |
215 | static int qla4xxx_init_local_data(struct scsi_qla_host *ha) | 215 | static int qla4xxx_init_local_data(struct scsi_qla_host *ha) |
216 | { | 216 | { |
217 | /* Initilize aen queue */ | 217 | /* Initialize aen queue */ |
218 | ha->aen_q_count = MAX_AEN_ENTRIES; | 218 | ha->aen_q_count = MAX_AEN_ENTRIES; |
219 | 219 | ||
220 | return qla4xxx_get_firmware_status(ha); | 220 | return qla4xxx_get_firmware_status(ha); |
diff --git a/drivers/scsi/scsi_transport_fc.c b/drivers/scsi/scsi_transport_fc.c index 06813789145c..edb6b362a8fa 100644 --- a/drivers/scsi/scsi_transport_fc.c +++ b/drivers/scsi/scsi_transport_fc.c | |||
@@ -965,7 +965,7 @@ static FC_DEVICE_ATTR(rport, fast_io_fail_tmo, S_IRUGO | S_IWUSR, | |||
965 | 965 | ||
966 | /* | 966 | /* |
967 | * Note: in the target show function we recognize when the remote | 967 | * Note: in the target show function we recognize when the remote |
968 | * port is in the heirarchy and do not allow the driver to get | 968 | * port is in the hierarchy and do not allow the driver to get |
969 | * involved in sysfs functions. The driver only gets involved if | 969 | * involved in sysfs functions. The driver only gets involved if |
970 | * it's the "old" style that doesn't use rports. | 970 | * it's the "old" style that doesn't use rports. |
971 | */ | 971 | */ |
diff --git a/drivers/serial/68360serial.c b/drivers/serial/68360serial.c index 24661cd5e4fb..768612f8e41e 100644 --- a/drivers/serial/68360serial.c +++ b/drivers/serial/68360serial.c | |||
@@ -2649,7 +2649,7 @@ static int __init rs_360_init(void) | |||
2649 | sup->tfcr = SMC_EB; | 2649 | sup->tfcr = SMC_EB; |
2650 | 2650 | ||
2651 | /* Set this to 1 for now, so we get single | 2651 | /* Set this to 1 for now, so we get single |
2652 | * character interrupts. Using idle charater | 2652 | * character interrupts. Using idle character |
2653 | * time requires some additional tuning. | 2653 | * time requires some additional tuning. |
2654 | */ | 2654 | */ |
2655 | sup->mrblr = 1; | 2655 | sup->mrblr = 1; |
@@ -2728,7 +2728,7 @@ static int __init rs_360_init(void) | |||
2728 | up->tfcr = SMC_EB; | 2728 | up->tfcr = SMC_EB; |
2729 | 2729 | ||
2730 | /* Set this to 1 for now, so we get single | 2730 | /* Set this to 1 for now, so we get single |
2731 | * character interrupts. Using idle charater | 2731 | * character interrupts. Using idle character |
2732 | * time requires some additional tuning. | 2732 | * time requires some additional tuning. |
2733 | */ | 2733 | */ |
2734 | up->mrblr = 1; | 2734 | up->mrblr = 1; |
@@ -2886,7 +2886,7 @@ int serial_console_setup( struct console *co, char *options) | |||
2886 | sup->tfcr = SMC_EB; | 2886 | sup->tfcr = SMC_EB; |
2887 | 2887 | ||
2888 | /* Set this to 1 for now, so we get single | 2888 | /* Set this to 1 for now, so we get single |
2889 | * character interrupts. Using idle charater | 2889 | * character interrupts. Using idle character |
2890 | * time requires some additional tuning. | 2890 | * time requires some additional tuning. |
2891 | */ | 2891 | */ |
2892 | sup->mrblr = 1; | 2892 | sup->mrblr = 1; |
diff --git a/drivers/serial/cpm_uart/cpm_uart_core.c b/drivers/serial/cpm_uart/cpm_uart_core.c index cd6cf575902e..6016179db533 100644 --- a/drivers/serial/cpm_uart/cpm_uart_core.c +++ b/drivers/serial/cpm_uart/cpm_uart_core.c | |||
@@ -852,7 +852,7 @@ static void cpm_uart_init_smc(struct uart_cpm_port *pinfo) | |||
852 | */ | 852 | */ |
853 | cpm_set_smc_fcr(up); | 853 | cpm_set_smc_fcr(up); |
854 | 854 | ||
855 | /* Using idle charater time requires some additional tuning. */ | 855 | /* Using idle character time requires some additional tuning. */ |
856 | out_be16(&up->smc_mrblr, pinfo->rx_fifosize); | 856 | out_be16(&up->smc_mrblr, pinfo->rx_fifosize); |
857 | out_be16(&up->smc_maxidl, pinfo->rx_fifosize); | 857 | out_be16(&up->smc_maxidl, pinfo->rx_fifosize); |
858 | out_be16(&up->smc_brklen, 0); | 858 | out_be16(&up->smc_brklen, 0); |
diff --git a/drivers/serial/nwpserial.c b/drivers/serial/nwpserial.c index 3c02fa96f282..e65b0d9202a5 100644 --- a/drivers/serial/nwpserial.c +++ b/drivers/serial/nwpserial.c | |||
@@ -81,7 +81,7 @@ nwpserial_console_write(struct console *co, const char *s, unsigned int count) | |||
81 | 81 | ||
82 | uart_console_write(&up->port, s, count, nwpserial_console_putchar); | 82 | uart_console_write(&up->port, s, count, nwpserial_console_putchar); |
83 | 83 | ||
84 | /* wait for transmitter to become emtpy */ | 84 | /* wait for transmitter to become empty */ |
85 | while ((dcr_read(up->dcr_host, UART_LSR) & UART_LSR_THRE) == 0) | 85 | while ((dcr_read(up->dcr_host, UART_LSR) & UART_LSR_THRE) == 0) |
86 | cpu_relax(); | 86 | cpu_relax(); |
87 | 87 | ||
diff --git a/drivers/serial/sn_console.c b/drivers/serial/sn_console.c index 9794e0cd3dcc..7e5e5efea4e2 100644 --- a/drivers/serial/sn_console.c +++ b/drivers/serial/sn_console.c | |||
@@ -470,7 +470,7 @@ sn_receive_chars(struct sn_cons_port *port, unsigned long flags) | |||
470 | } | 470 | } |
471 | 471 | ||
472 | if (port->sc_port.state) { | 472 | if (port->sc_port.state) { |
473 | /* The serial_core stuffs are initilized, use them */ | 473 | /* The serial_core stuffs are initialized, use them */ |
474 | tty = port->sc_port.state->port.tty; | 474 | tty = port->sc_port.state->port.tty; |
475 | } | 475 | } |
476 | else { | 476 | else { |
@@ -551,11 +551,11 @@ static void sn_transmit_chars(struct sn_cons_port *port, int raw) | |||
551 | BUG_ON(!port->sc_is_asynch); | 551 | BUG_ON(!port->sc_is_asynch); |
552 | 552 | ||
553 | if (port->sc_port.state) { | 553 | if (port->sc_port.state) { |
554 | /* We're initilized, using serial core infrastructure */ | 554 | /* We're initialized, using serial core infrastructure */ |
555 | xmit = &port->sc_port.state->xmit; | 555 | xmit = &port->sc_port.state->xmit; |
556 | } else { | 556 | } else { |
557 | /* Probably sn_sal_switch_to_asynch has been run but serial core isn't | 557 | /* Probably sn_sal_switch_to_asynch has been run but serial core isn't |
558 | * initilized yet. Just return. Writes are going through | 558 | * initialized yet. Just return. Writes are going through |
559 | * sn_sal_console_write (due to register_console) at this time. | 559 | * sn_sal_console_write (due to register_console) at this time. |
560 | */ | 560 | */ |
561 | return; | 561 | return; |
diff --git a/drivers/staging/winbond/wbusb.c b/drivers/staging/winbond/wbusb.c index 681419d6856e..251caa052eee 100644 --- a/drivers/staging/winbond/wbusb.c +++ b/drivers/staging/winbond/wbusb.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright 2008 Pavel Machek <pavel@suse.cz> | 2 | * Copyright 2008 Pavel Machek <pavel@ucw.cz> |
3 | * | 3 | * |
4 | * Distribute under GPLv2. | 4 | * Distribute under GPLv2. |
5 | * | 5 | * |
diff --git a/drivers/usb/class/cdc-acm.c b/drivers/usb/class/cdc-acm.c index 162c95a088ed..89d260d6b031 100644 --- a/drivers/usb/class/cdc-acm.c +++ b/drivers/usb/class/cdc-acm.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * cdc-acm.c | 2 | * cdc-acm.c |
3 | * | 3 | * |
4 | * Copyright (c) 1999 Armin Fuerst <fuerst@in.tum.de> | 4 | * Copyright (c) 1999 Armin Fuerst <fuerst@in.tum.de> |
5 | * Copyright (c) 1999 Pavel Machek <pavel@suse.cz> | 5 | * Copyright (c) 1999 Pavel Machek <pavel@ucw.cz> |
6 | * Copyright (c) 1999 Johannes Erdfelt <johannes@erdfelt.com> | 6 | * Copyright (c) 1999 Johannes Erdfelt <johannes@erdfelt.com> |
7 | * Copyright (c) 2000 Vojtech Pavlik <vojtech@suse.cz> | 7 | * Copyright (c) 2000 Vojtech Pavlik <vojtech@suse.cz> |
8 | * Copyright (c) 2004 Oliver Neukum <oliver@neukum.name> | 8 | * Copyright (c) 2004 Oliver Neukum <oliver@neukum.name> |
diff --git a/drivers/usb/class/usblp.c b/drivers/usb/class/usblp.c index 2250095db0a0..84f9e52327f2 100644 --- a/drivers/usb/class/usblp.c +++ b/drivers/usb/class/usblp.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * usblp.c | 2 | * usblp.c |
3 | * | 3 | * |
4 | * Copyright (c) 1999 Michael Gee <michael@linuxspecific.com> | 4 | * Copyright (c) 1999 Michael Gee <michael@linuxspecific.com> |
5 | * Copyright (c) 1999 Pavel Machek <pavel@suse.cz> | 5 | * Copyright (c) 1999 Pavel Machek <pavel@ucw.cz> |
6 | * Copyright (c) 2000 Randy Dunlap <rdunlap@xenotime.net> | 6 | * Copyright (c) 2000 Randy Dunlap <rdunlap@xenotime.net> |
7 | * Copyright (c) 2000 Vojtech Pavlik <vojtech@suse.cz> | 7 | * Copyright (c) 2000 Vojtech Pavlik <vojtech@suse.cz> |
8 | # Copyright (c) 2001 Pete Zaitcev <zaitcev@redhat.com> | 8 | # Copyright (c) 2001 Pete Zaitcev <zaitcev@redhat.com> |
diff --git a/drivers/usb/host/fhci-sched.c b/drivers/usb/host/fhci-sched.c index 4f2cbdcc0273..a42ef380e917 100644 --- a/drivers/usb/host/fhci-sched.c +++ b/drivers/usb/host/fhci-sched.c | |||
@@ -125,7 +125,7 @@ void fhci_transaction_confirm(struct fhci_usb *usb, struct packet *pkt) | |||
125 | /* | 125 | /* |
126 | * Flush all transmitted packets from BDs | 126 | * Flush all transmitted packets from BDs |
127 | * This routine is called when disabling the USB port to flush all | 127 | * This routine is called when disabling the USB port to flush all |
128 | * transmissions that are allready scheduled in the BDs | 128 | * transmissions that are already scheduled in the BDs |
129 | */ | 129 | */ |
130 | void fhci_flush_all_transmissions(struct fhci_usb *usb) | 130 | void fhci_flush_all_transmissions(struct fhci_usb *usb) |
131 | { | 131 | { |
diff --git a/drivers/usb/serial/kl5kusb105.c b/drivers/usb/serial/kl5kusb105.c index cdbe8bf7f674..e8a65ce45a2f 100644 --- a/drivers/usb/serial/kl5kusb105.c +++ b/drivers/usb/serial/kl5kusb105.c | |||
@@ -261,7 +261,7 @@ static int klsi_105_startup(struct usb_serial *serial) | |||
261 | 261 | ||
262 | spin_lock_init(&priv->lock); | 262 | spin_lock_init(&priv->lock); |
263 | 263 | ||
264 | /* priv->termios is left uninitalized until port opening */ | 264 | /* priv->termios is left uninitialized until port opening */ |
265 | init_waitqueue_head(&serial->port[i]->write_wait); | 265 | init_waitqueue_head(&serial->port[i]->write_wait); |
266 | } | 266 | } |
267 | 267 | ||
diff --git a/drivers/usb/wusbcore/wusbhc.c b/drivers/usb/wusbcore/wusbhc.c index eab86e4bc770..2054d4ee9774 100644 --- a/drivers/usb/wusbcore/wusbhc.c +++ b/drivers/usb/wusbcore/wusbhc.c | |||
@@ -26,7 +26,7 @@ | |||
26 | * the one that requires (phase B, wusbhc_b_{create,destroy}). | 26 | * the one that requires (phase B, wusbhc_b_{create,destroy}). |
27 | * | 27 | * |
28 | * This is so because usb_add_hcd() will start the HC, and thus, all | 28 | * This is so because usb_add_hcd() will start the HC, and thus, all |
29 | * the HC specific stuff has to be already initialiazed (like sysfs | 29 | * the HC specific stuff has to be already initialized (like sysfs |
30 | * thingies). | 30 | * thingies). |
31 | */ | 31 | */ |
32 | #include <linux/device.h> | 32 | #include <linux/device.h> |
diff --git a/drivers/uwb/wlp/wss-lc.c b/drivers/uwb/wlp/wss-lc.c index 90accdd54c07..a005d2a03b5d 100644 --- a/drivers/uwb/wlp/wss-lc.c +++ b/drivers/uwb/wlp/wss-lc.c | |||
@@ -180,7 +180,7 @@ error_kobject_register: | |||
180 | * If memory was allocated for the kobject's name then it will | 180 | * If memory was allocated for the kobject's name then it will |
181 | * be freed by the kobject system during this time. | 181 | * be freed by the kobject system during this time. |
182 | * | 182 | * |
183 | * The EDA cache is removed and reinitilized when the WSS is removed. We | 183 | * The EDA cache is removed and reinitialized when the WSS is removed. We |
184 | * thus loose knowledge of members of this WSS at that time and need not do | 184 | * thus loose knowledge of members of this WSS at that time and need not do |
185 | * it here. | 185 | * it here. |
186 | */ | 186 | */ |
diff --git a/drivers/video/backlight/locomolcd.c b/drivers/video/backlight/locomolcd.c index 7571bc26071e..d2f59015d517 100644 --- a/drivers/video/backlight/locomolcd.c +++ b/drivers/video/backlight/locomolcd.c | |||
@@ -2,7 +2,7 @@ | |||
2 | * Backlight control code for Sharp Zaurus SL-5500 | 2 | * Backlight control code for Sharp Zaurus SL-5500 |
3 | * | 3 | * |
4 | * Copyright 2005 John Lenz <lenz@cs.wisc.edu> | 4 | * Copyright 2005 John Lenz <lenz@cs.wisc.edu> |
5 | * Maintainer: Pavel Machek <pavel@suse.cz> (unless John wants to :-) | 5 | * Maintainer: Pavel Machek <pavel@ucw.cz> (unless John wants to :-) |
6 | * GPL v2 | 6 | * GPL v2 |
7 | * | 7 | * |
8 | * This driver assumes single CPU. That's okay, because collie is | 8 | * This driver assumes single CPU. That's okay, because collie is |
@@ -246,6 +246,6 @@ static void __exit locomolcd_exit(void) | |||
246 | module_init(locomolcd_init); | 246 | module_init(locomolcd_init); |
247 | module_exit(locomolcd_exit); | 247 | module_exit(locomolcd_exit); |
248 | 248 | ||
249 | MODULE_AUTHOR("John Lenz <lenz@cs.wisc.edu>, Pavel Machek <pavel@suse.cz>"); | 249 | MODULE_AUTHOR("John Lenz <lenz@cs.wisc.edu>, Pavel Machek <pavel@ucw.cz>"); |
250 | MODULE_DESCRIPTION("Collie LCD driver"); | 250 | MODULE_DESCRIPTION("Collie LCD driver"); |
251 | MODULE_LICENSE("GPL"); | 251 | MODULE_LICENSE("GPL"); |
diff --git a/drivers/video/carminefb.c b/drivers/video/carminefb.c index d8345fcc4fe3..6b19136aa181 100644 --- a/drivers/video/carminefb.c +++ b/drivers/video/carminefb.c | |||
@@ -432,7 +432,7 @@ static int init_hardware(struct carmine_hw *hw) | |||
432 | u32 loops; | 432 | u32 loops; |
433 | u32 ret; | 433 | u32 ret; |
434 | 434 | ||
435 | /* Initalize Carmine */ | 435 | /* Initialize Carmine */ |
436 | /* Sets internal clock */ | 436 | /* Sets internal clock */ |
437 | c_set_hw_reg(hw, CARMINE_CTL_REG + CARMINE_CTL_REG_CLOCK_ENABLE, | 437 | c_set_hw_reg(hw, CARMINE_CTL_REG + CARMINE_CTL_REG_CLOCK_ENABLE, |
438 | CARMINE_DFLT_IP_CLOCK_ENABLE); | 438 | CARMINE_DFLT_IP_CLOCK_ENABLE); |
diff --git a/drivers/video/tgafb.c b/drivers/video/tgafb.c index 1b3b1c718e80..aba7686b1a32 100644 --- a/drivers/video/tgafb.c +++ b/drivers/video/tgafb.c | |||
@@ -305,7 +305,7 @@ tgafb_set_par(struct fb_info *info) | |||
305 | TGA_WRITE_REG(par, htimings, TGA_HORIZ_REG); | 305 | TGA_WRITE_REG(par, htimings, TGA_HORIZ_REG); |
306 | TGA_WRITE_REG(par, vtimings, TGA_VERT_REG); | 306 | TGA_WRITE_REG(par, vtimings, TGA_VERT_REG); |
307 | 307 | ||
308 | /* Initalise RAMDAC. */ | 308 | /* Initialise RAMDAC. */ |
309 | if (tga_type == TGA_TYPE_8PLANE && tga_bus_pci) { | 309 | if (tga_type == TGA_TYPE_8PLANE && tga_bus_pci) { |
310 | 310 | ||
311 | /* Init BT485 RAMDAC registers. */ | 311 | /* Init BT485 RAMDAC registers. */ |