aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-12-09 22:43:33 -0500
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-09 22:43:33 -0500
commit4ef58d4e2ad1fa2a3e5bbf41af2284671fca8cf8 (patch)
tree856ba96302a36014736747e8464f80eeb827bbdd /drivers/scsi
parentf6c4c8195b5e7878823caa1181be404d9e86d369 (diff)
parentd014d043869cdc591f3a33243d3481fa4479c2d0 (diff)
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (42 commits) tree-wide: fix misspelling of "definition" in comments reiserfs: fix misspelling of "journaled" doc: Fix a typo in slub.txt. inotify: remove superfluous return code check hdlc: spelling fix in find_pvc() comment doc: fix regulator docs cut-and-pasteism mtd: Fix comment in Kconfig doc: Fix IRQ chip docs tree-wide: fix assorted typos all over the place drivers/ata/libata-sff.c: comment spelling fixes fix typos/grammos in Documentation/edac.txt sysctl: add missing comments fs/debugfs/inode.c: fix comment typos sgivwfb: Make use of ARRAY_SIZE. sky2: fix sky2_link_down copy/paste comment error tree-wide: fix typos "couter" -> "counter" tree-wide: fix typos "offest" -> "offset" fix kerneldoc for set_irq_msi() spidev: fix double "of of" in comment comment typo fix: sybsystem -> subsystem ...
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/3w-9xxx.c2
-rw-r--r--drivers/scsi/3w-xxxx.c2
-rw-r--r--drivers/scsi/53c700.c2
-rw-r--r--drivers/scsi/aacraid/aacraid.h6
-rw-r--r--drivers/scsi/aacraid/comminit.c2
-rw-r--r--drivers/scsi/advansys.c2
-rw-r--r--drivers/scsi/aic7xxx/aic79xx.seq4
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_core.c2
-rw-r--r--drivers/scsi/aic7xxx/aic79xx_osm.c2
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx.seq2
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_core.c2
-rw-r--r--drivers/scsi/aic7xxx/aic7xxx_osm.c2
-rw-r--r--drivers/scsi/aic94xx/aic94xx_reg_def.h2
-rw-r--r--drivers/scsi/bfa/include/defs/bfa_defs_pport.h2
-rw-r--r--drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h2
-rw-r--r--drivers/scsi/bfa/include/protocol/ct.h4
-rw-r--r--drivers/scsi/bnx2i/bnx2i_iscsi.c2
-rw-r--r--drivers/scsi/dc395x.c2
-rw-r--r--drivers/scsi/dmx3191d.c2
-rw-r--r--drivers/scsi/hptiop.c2
-rw-r--r--drivers/scsi/libfc/fc_lport.c2
-rw-r--r--drivers/scsi/libiscsi_tcp.c2
-rw-r--r--drivers/scsi/lpfc/lpfc_attr.c4
-rw-r--r--drivers/scsi/lpfc/lpfc_els.c4
-rw-r--r--drivers/scsi/lpfc/lpfc_init.c62
-rw-r--r--drivers/scsi/lpfc/lpfc_sli.c10
-rw-r--r--drivers/scsi/megaraid.h2
-rw-r--r--drivers/scsi/megaraid/mbox_defs.h2
-rw-r--r--drivers/scsi/megaraid/megaraid_mbox.c2
-rw-r--r--drivers/scsi/mpt2sas/mpt2sas_scsih.c2
-rw-r--r--drivers/scsi/ncr53c8xx.c2
-rw-r--r--drivers/scsi/nsp32.c2
-rw-r--r--drivers/scsi/pmcraid.c6
-rw-r--r--drivers/scsi/pmcraid.h6
-rw-r--r--drivers/scsi/scsi_netlink.c2
-rw-r--r--drivers/scsi/scsi_transport_sas.c6
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_glue.c2
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_hipd.c2
-rw-r--r--drivers/scsi/sym53c8xx_2/sym_hipd.h2
-rw-r--r--drivers/scsi/wd7000.c2
40 files changed, 86 insertions, 86 deletions
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c
index 2d16d49fd3cd..3bf75924741f 100644
--- a/drivers/scsi/3w-9xxx.c
+++ b/drivers/scsi/3w-9xxx.c
@@ -736,7 +736,7 @@ static int twa_chrdev_ioctl(struct inode *inode, struct file *file, unsigned int
736 break; 736 break;
737 case TW_IOCTL_GET_COMPATIBILITY_INFO: 737 case TW_IOCTL_GET_COMPATIBILITY_INFO:
738 tw_ioctl->driver_command.status = 0; 738 tw_ioctl->driver_command.status = 0;
739 /* Copy compatiblity struct into ioctl data buffer */ 739 /* Copy compatibility struct into ioctl data buffer */
740 tw_compat_info = (TW_Compatibility_Info *)tw_ioctl->data_buffer; 740 tw_compat_info = (TW_Compatibility_Info *)tw_ioctl->data_buffer;
741 memcpy(tw_compat_info, &tw_dev->tw_compat_info, sizeof(TW_Compatibility_Info)); 741 memcpy(tw_compat_info, &tw_dev->tw_compat_info, sizeof(TW_Compatibility_Info));
742 break; 742 break;
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c
index d224294c38fb..f65a1e92340c 100644
--- a/drivers/scsi/3w-xxxx.c
+++ b/drivers/scsi/3w-xxxx.c
@@ -8,7 +8,7 @@
8 8
9 Copyright (C) 1999-2009 3ware Inc. 9 Copyright (C) 1999-2009 3ware Inc.
10 10
11 Kernel compatiblity By: Andre Hedrick <andre@suse.com> 11 Kernel compatibility By: Andre Hedrick <andre@suse.com>
12 Non-Copyright (C) 2000 Andre Hedrick <andre@suse.com> 12 Non-Copyright (C) 2000 Andre Hedrick <andre@suse.com>
13 13
14 Further tiny build fixes and trivial hoovering Alan Cox 14 Further tiny build fixes and trivial hoovering Alan Cox
diff --git a/drivers/scsi/53c700.c b/drivers/scsi/53c700.c
index 6c60a8060c58..9f4a911a6d8c 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/advansys.c b/drivers/scsi/advansys.c
index b756041f0b26..22626abdb630 100644
--- a/drivers/scsi/advansys.c
+++ b/drivers/scsi/advansys.c
@@ -7969,7 +7969,7 @@ static int advansys_reset(struct scsi_cmnd *scp)
7969 ASC_DBG(1, "before AscInitAsc1000Driver()\n"); 7969 ASC_DBG(1, "before AscInitAsc1000Driver()\n");
7970 status = AscInitAsc1000Driver(asc_dvc); 7970 status = AscInitAsc1000Driver(asc_dvc);
7971 7971
7972 /* Refer to ASC_IERR_* defintions for meaning of 'err_code'. */ 7972 /* Refer to ASC_IERR_* definitions for meaning of 'err_code'. */
7973 if (asc_dvc->err_code) { 7973 if (asc_dvc->err_code) {
7974 scmd_printk(KERN_INFO, scp, "SCSI bus reset error: " 7974 scmd_printk(KERN_INFO, scp, "SCSI bus reset error: "
7975 "0x%x\n", asc_dvc->err_code); 7975 "0x%x\n", asc_dvc->err_code);
diff --git a/drivers/scsi/aic7xxx/aic79xx.seq b/drivers/scsi/aic7xxx/aic79xx.seq
index 58bc17591b54..2fb78e35a9e5 100644
--- a/drivers/scsi/aic7xxx/aic79xx.seq
+++ b/drivers/scsi/aic7xxx/aic79xx.seq
@@ -217,7 +217,7 @@ BEGIN_CRITICAL;
217scbdma_tohost_done: 217scbdma_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
@@ -1281,7 +1281,7 @@ END_CRITICAL;
1281 * Is it a disconnect message? Set a flag in the SCB to remind us 1281 * Is it a disconnect message? Set a flag in the SCB to remind us
1282 * and await the bus going free. If this is an untagged transaction 1282 * and await the bus going free. If this is an untagged transaction
1283 * store the SCB id for it in our untagged target table for lookup on 1283 * store the SCB id for it in our untagged target table for lookup on
1284 * a reselction. 1284 * a reselection.
1285 */ 1285 */
1286mesgin_disconnect: 1286mesgin_disconnect:
1287 /* 1287 /*
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/aic79xx_osm.c b/drivers/scsi/aic7xxx/aic79xx_osm.c
index 75b23317bd26..1222a7ac698a 100644
--- a/drivers/scsi/aic7xxx/aic79xx_osm.c
+++ b/drivers/scsi/aic7xxx/aic79xx_osm.c
@@ -2335,7 +2335,7 @@ ahd_linux_queue_abort_cmd(struct scsi_cmnd *cmd)
2335 /* 2335 /*
2336 * The sequencer will never re-reference the 2336 * The sequencer will never re-reference the
2337 * in-core SCB. To make sure we are notified 2337 * in-core SCB. To make sure we are notified
2338 * during reslection, set the MK_MESSAGE flag in 2338 * during reselection, set the MK_MESSAGE flag in
2339 * the card's copy of the SCB. 2339 * the card's copy of the SCB.
2340 */ 2340 */
2341 ahd_outb(ahd, SCB_CONTROL, 2341 ahd_outb(ahd, SCB_CONTROL,
diff --git a/drivers/scsi/aic7xxx/aic7xxx.seq b/drivers/scsi/aic7xxx/aic7xxx.seq
index 15196390e28d..5a4cfc954a9f 100644
--- a/drivers/scsi/aic7xxx/aic7xxx.seq
+++ b/drivers/scsi/aic7xxx/aic7xxx.seq
@@ -1693,7 +1693,7 @@ if ((ahc->flags & AHC_INITIATORROLE) != 0) {
1693 * Is it a disconnect message? Set a flag in the SCB to remind us 1693 * Is it a disconnect message? Set a flag in the SCB to remind us
1694 * and await the bus going free. If this is an untagged transaction 1694 * and await the bus going free. If this is an untagged transaction
1695 * store the SCB id for it in our untagged target table for lookup on 1695 * store the SCB id for it in our untagged target table for lookup on
1696 * a reselction. 1696 * a reselection.
1697 */ 1697 */
1698mesgin_disconnect: 1698mesgin_disconnect:
1699 /* 1699 /*
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/aic7xxx/aic7xxx_osm.c b/drivers/scsi/aic7xxx/aic7xxx_osm.c
index fd2b9785ff4f..8cb05dc8e6a1 100644
--- a/drivers/scsi/aic7xxx/aic7xxx_osm.c
+++ b/drivers/scsi/aic7xxx/aic7xxx_osm.c
@@ -2290,7 +2290,7 @@ ahc_linux_queue_recovery_cmd(struct scsi_cmnd *cmd, scb_flag flag)
2290 * In the non-paging case, the sequencer will 2290 * In the non-paging case, the sequencer will
2291 * never re-reference the in-core SCB. 2291 * never re-reference the in-core SCB.
2292 * To make sure we are notified during 2292 * To make sure we are notified during
2293 * reslection, set the MK_MESSAGE flag in 2293 * reselection, set the MK_MESSAGE flag in
2294 * the card's copy of the SCB. 2294 * the card's copy of the SCB.
2295 */ 2295 */
2296 if ((ahc->flags & AHC_PAGESCBS) == 0) { 2296 if ((ahc->flags & AHC_PAGESCBS) == 0) {
diff --git a/drivers/scsi/aic94xx/aic94xx_reg_def.h b/drivers/scsi/aic94xx/aic94xx_reg_def.h
index a43e8cdf4ee4..28aaf349c111 100644
--- a/drivers/scsi/aic94xx/aic94xx_reg_def.h
+++ b/drivers/scsi/aic94xx/aic94xx_reg_def.h
@@ -1,5 +1,5 @@
1/* 1/*
2 * Aic94xx SAS/SATA driver hardware registers defintions. 2 * Aic94xx SAS/SATA driver hardware registers definitions.
3 * 3 *
4 * Copyright (C) 2004 Adaptec, Inc. All rights reserved. 4 * Copyright (C) 2004 Adaptec, Inc. All rights reserved.
5 * Copyright (C) 2004 David Chaw <david_chaw@adaptec.com> 5 * Copyright (C) 2004 David Chaw <david_chaw@adaptec.com>
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 */
63enum bfa_pport_type { 63enum 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 */
27enum bfa_tsensor_status { 27enum 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/bfa/include/protocol/ct.h b/drivers/scsi/bfa/include/protocol/ct.h
index c8648bcba41a..b82540a230c4 100644
--- a/drivers/scsi/bfa/include/protocol/ct.h
+++ b/drivers/scsi/bfa/include/protocol/ct.h
@@ -82,7 +82,7 @@ enum {
82}; 82};
83 83
84/* 84/*
85 * defintions for CT reason code 85 * definitions for CT reason code
86 */ 86 */
87enum { 87enum {
88 CT_RSN_INV_CMD = 0x01, 88 CT_RSN_INV_CMD = 0x01,
@@ -129,7 +129,7 @@ enum {
129}; 129};
130 130
131/* 131/*
132 * defintions for the explanation code for all servers 132 * definitions for the explanation code for all servers
133 */ 133 */
134enum { 134enum {
135 CT_EXP_AUTH_EXCEPTION = 0xF1, 135 CT_EXP_AUTH_EXCEPTION = 0xF1,
diff --git a/drivers/scsi/bnx2i/bnx2i_iscsi.c b/drivers/scsi/bnx2i/bnx2i_iscsi.c
index 070118a8f184..132898c88d5e 100644
--- a/drivers/scsi/bnx2i/bnx2i_iscsi.c
+++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c
@@ -1879,7 +1879,7 @@ static void bnx2i_ep_disconnect(struct iscsi_endpoint *ep)
1879 1879
1880 bnx2i_ep = ep->dd_data; 1880 bnx2i_ep = ep->dd_data;
1881 1881
1882 /* driver should not attempt connection cleanup untill TCP_CONNECT 1882 /* driver should not attempt connection cleanup until TCP_CONNECT
1883 * completes either successfully or fails. Timeout is 9-secs, so 1883 * completes either successfully or fails. Timeout is 9-secs, so
1884 * wait for it to complete 1884 * wait for it to complete
1885 */ 1885 */
diff --git a/drivers/scsi/dc395x.c b/drivers/scsi/dc395x.c
index 075e2397273c..6c59c02c1ed9 100644
--- a/drivers/scsi/dc395x.c
+++ b/drivers/scsi/dc395x.c
@@ -1509,7 +1509,7 @@ static u8 start_scsi(struct AdapterCtlBlk* acb, struct DeviceCtlBlk* dcb,
1509 * Try anyway? 1509 * Try anyway?
1510 * 1510 *
1511 * We could, BUT: Sometimes the TRM_S1040 misses to produce a Selection 1511 * We could, BUT: Sometimes the TRM_S1040 misses to produce a Selection
1512 * Timeout, a Disconnect or a Reselction IRQ, so we would be screwed! 1512 * Timeout, a Disconnect or a Reselection IRQ, so we would be screwed!
1513 * (This is likely to be a bug in the hardware. Obviously, most people 1513 * (This is likely to be a bug in the hardware. Obviously, most people
1514 * only have one initiator per SCSI bus.) 1514 * only have one initiator per SCSI bus.)
1515 * Instead let this fail and have the timer make sure the command is 1515 * Instead let this fail and have the timer make sure the command is
diff --git a/drivers/scsi/dmx3191d.c b/drivers/scsi/dmx3191d.c
index fa738ec8692a..207352cc70cc 100644
--- a/drivers/scsi/dmx3191d.c
+++ b/drivers/scsi/dmx3191d.c
@@ -31,7 +31,7 @@
31#include <scsi/scsi_host.h> 31#include <scsi/scsi_host.h>
32 32
33/* 33/*
34 * Defintions for the generic 5380 driver. 34 * Definitions for the generic 5380 driver.
35 */ 35 */
36#define AUTOSENSE 36#define AUTOSENSE
37 37
diff --git a/drivers/scsi/hptiop.c b/drivers/scsi/hptiop.c
index 901a3daeb36b..4f0556571f80 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 bbf4152c9c69..74338c83ad0a 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 75523603b91c..91542f786edf 100644
--- a/drivers/scsi/lpfc/lpfc_attr.c
+++ b/drivers/scsi/lpfc/lpfc_attr.c
@@ -678,7 +678,7 @@ lpfc_selective_reset(struct lpfc_hba *phba)
678 * Notes: 678 * Notes:
679 * Assumes any error from lpfc_selective_reset() will be negative. 679 * Assumes any error from lpfc_selective_reset() will be negative.
680 * If lpfc_selective_reset() returns zero then the length of the buffer 680 * If lpfc_selective_reset() returns zero then the length of the buffer
681 * is returned which indicates succcess 681 * is returned which indicates success
682 * 682 *
683 * Returns: 683 * Returns:
684 * -EINVAL if the buffer does not contain the string "selective" 684 * -EINVAL if the buffer does not contain the string "selective"
@@ -3363,7 +3363,7 @@ sysfs_ctlreg_write(struct kobject *kobj, struct bin_attribute *bin_attr,
3363 * sysfs_ctlreg_read - Read method for reading from ctlreg 3363 * sysfs_ctlreg_read - Read method for reading from ctlreg
3364 * @kobj: kernel kobject that contains the kernel class device. 3364 * @kobj: kernel kobject that contains the kernel class device.
3365 * @bin_attr: kernel attributes passed to us. 3365 * @bin_attr: kernel attributes passed to us.
3366 * @buf: if succesful contains the data from the adapter IOREG space. 3366 * @buf: if successful contains the data from the adapter IOREG space.
3367 * @off: offset into buffer to beginning of data. 3367 * @off: offset into buffer to beginning of data.
3368 * @count: bytes to transfer. 3368 * @count: bytes to transfer.
3369 * 3369 *
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c
index a079bbc03cf8..ce522702a6c1 100644
--- a/drivers/scsi/lpfc/lpfc_els.c
+++ b/drivers/scsi/lpfc/lpfc_els.c
@@ -815,7 +815,7 @@ lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb,
815 815
816 /* FLOGI completes successfully */ 816 /* FLOGI completes successfully */
817 lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, 817 lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS,
818 "0101 FLOGI completes sucessfully " 818 "0101 FLOGI completes successfully "
819 "Data: x%x x%x x%x x%x\n", 819 "Data: x%x x%x x%x x%x\n",
820 irsp->un.ulpWord[4], sp->cmn.e_d_tov, 820 irsp->un.ulpWord[4], sp->cmn.e_d_tov,
821 sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution); 821 sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution);
@@ -4151,7 +4151,7 @@ lpfc_els_rcv_rscn(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb,
4151 /* Indicate we are walking fc_rscn_id_list on this vport */ 4151 /* Indicate we are walking fc_rscn_id_list on this vport */
4152 vport->fc_rscn_flush = 1; 4152 vport->fc_rscn_flush = 1;
4153 spin_unlock_irq(shost->host_lock); 4153 spin_unlock_irq(shost->host_lock);
4154 /* Get the array count after sucessfully have the token */ 4154 /* Get the array count after successfully have the token */
4155 rscn_cnt = vport->fc_rscn_id_cnt; 4155 rscn_cnt = vport->fc_rscn_id_cnt;
4156 /* If we are already processing an RSCN, save the received 4156 /* If we are already processing an RSCN, save the received
4157 * RSCN payload buffer, cmdiocb->context2 to process later. 4157 * 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 0ba35a9a5c5f..226920d15ea1 100644
--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -646,7 +646,7 @@ lpfc_hba_down_prep(struct lpfc_hba *phba)
646 * down the SLI Layer. 646 * down the SLI Layer.
647 * 647 *
648 * Return codes 648 * Return codes
649 * 0 - sucess. 649 * 0 - success.
650 * Any other value - error. 650 * Any other value - error.
651 **/ 651 **/
652static int 652static int
@@ -701,7 +701,7 @@ lpfc_hba_down_post_s3(struct lpfc_hba *phba)
701 * down the SLI Layer. 701 * down the SLI Layer.
702 * 702 *
703 * Return codes 703 * Return codes
704 * 0 - sucess. 704 * 0 - success.
705 * Any other value - error. 705 * Any other value - error.
706 **/ 706 **/
707static int 707static int
@@ -756,7 +756,7 @@ lpfc_hba_down_post_s4(struct lpfc_hba *phba)
756 * uninitialization after the HBA is reset when bring down the SLI Layer. 756 * uninitialization after the HBA is reset when bring down the SLI Layer.
757 * 757 *
758 * Return codes 758 * Return codes
759 * 0 - sucess. 759 * 0 - success.
760 * Any other value - error. 760 * Any other value - error.
761 **/ 761 **/
762int 762int
@@ -1262,7 +1262,7 @@ lpfc_handle_eratt_s4(struct lpfc_hba *phba)
1262 * routine from the API jump table function pointer from the lpfc_hba struct. 1262 * routine from the API jump table function pointer from the lpfc_hba struct.
1263 * 1263 *
1264 * Return codes 1264 * Return codes
1265 * 0 - sucess. 1265 * 0 - success.
1266 * Any other value - error. 1266 * Any other value - error.
1267 **/ 1267 **/
1268void 1268void
@@ -3234,7 +3234,7 @@ static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode)
3234 * PCI devices. 3234 * PCI devices.
3235 * 3235 *
3236 * Return codes 3236 * Return codes
3237 * 0 - sucessful 3237 * 0 - successful
3238 * other values - error 3238 * other values - error
3239 **/ 3239 **/
3240static int 3240static int
@@ -3330,7 +3330,7 @@ lpfc_reset_hba(struct lpfc_hba *phba)
3330 * support the SLI-3 HBA device it attached to. 3330 * support the SLI-3 HBA device it attached to.
3331 * 3331 *
3332 * Return codes 3332 * Return codes
3333 * 0 - sucessful 3333 * 0 - successful
3334 * other values - error 3334 * other values - error
3335 **/ 3335 **/
3336static int 3336static int
@@ -3431,7 +3431,7 @@ lpfc_sli_driver_resource_unset(struct lpfc_hba *phba)
3431 * support the SLI-4 HBA device it attached to. 3431 * support the SLI-4 HBA device it attached to.
3432 * 3432 *
3433 * Return codes 3433 * Return codes
3434 * 0 - sucessful 3434 * 0 - successful
3435 * other values - error 3435 * other values - error
3436 **/ 3436 **/
3437static int 3437static int
@@ -3758,7 +3758,7 @@ lpfc_init_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp)
3758 * device specific resource setup to support the HBA device it attached to. 3758 * device specific resource setup to support the HBA device it attached to.
3759 * 3759 *
3760 * Return codes 3760 * Return codes
3761 * 0 - sucessful 3761 * 0 - successful
3762 * other values - error 3762 * other values - error
3763 **/ 3763 **/
3764static int 3764static int
@@ -3804,7 +3804,7 @@ lpfc_setup_driver_resource_phase1(struct lpfc_hba *phba)
3804 * device specific resource setup to support the HBA device it attached to. 3804 * device specific resource setup to support the HBA device it attached to.
3805 * 3805 *
3806 * Return codes 3806 * Return codes
3807 * 0 - sucessful 3807 * 0 - successful
3808 * other values - error 3808 * other values - error
3809 **/ 3809 **/
3810static int 3810static int
@@ -3869,7 +3869,7 @@ lpfc_free_iocb_list(struct lpfc_hba *phba)
3869 * list and set up the IOCB tag array accordingly. 3869 * list and set up the IOCB tag array accordingly.
3870 * 3870 *
3871 * Return codes 3871 * Return codes
3872 * 0 - sucessful 3872 * 0 - successful
3873 * other values - error 3873 * other values - error
3874 **/ 3874 **/
3875static int 3875static int
@@ -3988,7 +3988,7 @@ lpfc_free_active_sgl(struct lpfc_hba *phba)
3988 * list and set up the sgl xritag tag array accordingly. 3988 * list and set up the sgl xritag tag array accordingly.
3989 * 3989 *
3990 * Return codes 3990 * Return codes
3991 * 0 - sucessful 3991 * 0 - successful
3992 * other values - error 3992 * other values - error
3993 **/ 3993 **/
3994static int 3994static int
@@ -4102,7 +4102,7 @@ out_free_mem:
4102 * enabled and the driver is reinitializing the device. 4102 * enabled and the driver is reinitializing the device.
4103 * 4103 *
4104 * Return codes 4104 * Return codes
4105 * 0 - sucessful 4105 * 0 - successful
4106 * ENOMEM - No availble memory 4106 * ENOMEM - No availble memory
4107 * EIO - The mailbox failed to complete successfully. 4107 * EIO - The mailbox failed to complete successfully.
4108 **/ 4108 **/
@@ -4262,7 +4262,7 @@ lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba *phba)
4262 * PCI device data structure is set. 4262 * PCI device data structure is set.
4263 * 4263 *
4264 * Return codes 4264 * Return codes
4265 * pointer to @phba - sucessful 4265 * pointer to @phba - successful
4266 * NULL - error 4266 * NULL - error
4267 **/ 4267 **/
4268static struct lpfc_hba * 4268static struct lpfc_hba *
@@ -4318,7 +4318,7 @@ lpfc_hba_free(struct lpfc_hba *phba)
4318 * host with it. 4318 * host with it.
4319 * 4319 *
4320 * Return codes 4320 * Return codes
4321 * 0 - sucessful 4321 * 0 - successful
4322 * other values - error 4322 * other values - error
4323 **/ 4323 **/
4324static int 4324static int
@@ -4487,7 +4487,7 @@ lpfc_post_init_setup(struct lpfc_hba *phba)
4487 * with SLI-3 interface spec. 4487 * with SLI-3 interface spec.
4488 * 4488 *
4489 * Return codes 4489 * Return codes
4490 * 0 - sucessful 4490 * 0 - successful
4491 * other values - error 4491 * other values - error
4492 **/ 4492 **/
4493static int 4493static int
@@ -4782,7 +4782,7 @@ lpfc_sli4_bar2_register_memmap(struct lpfc_hba *phba, uint32_t vf)
4782 * this routine. 4782 * this routine.
4783 * 4783 *
4784 * Return codes 4784 * Return codes
4785 * 0 - sucessful 4785 * 0 - successful
4786 * ENOMEM - could not allocated memory. 4786 * ENOMEM - could not allocated memory.
4787 **/ 4787 **/
4788static int 4788static int
@@ -4881,7 +4881,7 @@ lpfc_destroy_bootstrap_mbox(struct lpfc_hba *phba)
4881 * allocation for the port. 4881 * allocation for the port.
4882 * 4882 *
4883 * Return codes 4883 * Return codes
4884 * 0 - sucessful 4884 * 0 - successful
4885 * ENOMEM - No availble memory 4885 * ENOMEM - No availble memory
4886 * EIO - The mailbox failed to complete successfully. 4886 * EIO - The mailbox failed to complete successfully.
4887 **/ 4887 **/
@@ -4982,7 +4982,7 @@ lpfc_sli4_read_config(struct lpfc_hba *phba)
4982 * HBA consistent with the SLI-4 interface spec. 4982 * HBA consistent with the SLI-4 interface spec.
4983 * 4983 *
4984 * Return codes 4984 * Return codes
4985 * 0 - sucessful 4985 * 0 - successful
4986 * ENOMEM - No availble memory 4986 * ENOMEM - No availble memory
4987 * EIO - The mailbox failed to complete successfully. 4987 * EIO - The mailbox failed to complete successfully.
4988 **/ 4988 **/
@@ -5031,7 +5031,7 @@ lpfc_setup_endian_order(struct lpfc_hba *phba)
5031 * we just use some constant number as place holder. 5031 * we just use some constant number as place holder.
5032 * 5032 *
5033 * Return codes 5033 * Return codes
5034 * 0 - sucessful 5034 * 0 - successful
5035 * ENOMEM - No availble memory 5035 * ENOMEM - No availble memory
5036 * EIO - The mailbox failed to complete successfully. 5036 * EIO - The mailbox failed to complete successfully.
5037 **/ 5037 **/
@@ -5326,7 +5326,7 @@ out_error:
5326 * operation. 5326 * operation.
5327 * 5327 *
5328 * Return codes 5328 * Return codes
5329 * 0 - sucessful 5329 * 0 - successful
5330 * ENOMEM - No availble memory 5330 * ENOMEM - No availble memory
5331 * EIO - The mailbox failed to complete successfully. 5331 * EIO - The mailbox failed to complete successfully.
5332 **/ 5332 **/
@@ -5390,7 +5390,7 @@ lpfc_sli4_queue_destroy(struct lpfc_hba *phba)
5390 * operation. 5390 * operation.
5391 * 5391 *
5392 * Return codes 5392 * Return codes
5393 * 0 - sucessful 5393 * 0 - successful
5394 * ENOMEM - No availble memory 5394 * ENOMEM - No availble memory
5395 * EIO - The mailbox failed to complete successfully. 5395 * EIO - The mailbox failed to complete successfully.
5396 **/ 5396 **/
@@ -5635,7 +5635,7 @@ out_error:
5635 * operation. 5635 * operation.
5636 * 5636 *
5637 * Return codes 5637 * Return codes
5638 * 0 - sucessful 5638 * 0 - successful
5639 * ENOMEM - No availble memory 5639 * ENOMEM - No availble memory
5640 * EIO - The mailbox failed to complete successfully. 5640 * EIO - The mailbox failed to complete successfully.
5641 **/ 5641 **/
@@ -5680,7 +5680,7 @@ lpfc_sli4_queue_unset(struct lpfc_hba *phba)
5680 * Later, this can be used for all the slow-path events. 5680 * Later, this can be used for all the slow-path events.
5681 * 5681 *
5682 * Return codes 5682 * Return codes
5683 * 0 - sucessful 5683 * 0 - successful
5684 * -ENOMEM - No availble memory 5684 * -ENOMEM - No availble memory
5685 **/ 5685 **/
5686static int 5686static int
@@ -5841,7 +5841,7 @@ lpfc_sli4_cq_event_release_all(struct lpfc_hba *phba)
5841 * all resources assigned to the PCI function which originates this request. 5841 * all resources assigned to the PCI function which originates this request.
5842 * 5842 *
5843 * Return codes 5843 * Return codes
5844 * 0 - sucessful 5844 * 0 - successful
5845 * ENOMEM - No availble memory 5845 * ENOMEM - No availble memory
5846 * EIO - The mailbox failed to complete successfully. 5846 * EIO - The mailbox failed to complete successfully.
5847 **/ 5847 **/
@@ -6004,7 +6004,7 @@ lpfc_sli4_fcfi_unreg(struct lpfc_hba *phba, uint16_t fcfi)
6004 * with SLI-4 interface spec. 6004 * with SLI-4 interface spec.
6005 * 6005 *
6006 * Return codes 6006 * Return codes
6007 * 0 - sucessful 6007 * 0 - successful
6008 * other values - error 6008 * other values - error
6009 **/ 6009 **/
6010static int 6010static int
@@ -6133,7 +6133,7 @@ lpfc_sli4_pci_mem_unset(struct lpfc_hba *phba)
6133 * will be left with MSI-X enabled and leaks its vectors. 6133 * will be left with MSI-X enabled and leaks its vectors.
6134 * 6134 *
6135 * Return codes 6135 * Return codes
6136 * 0 - sucessful 6136 * 0 - successful
6137 * other values - error 6137 * other values - error
6138 **/ 6138 **/
6139static int 6139static int
@@ -6265,7 +6265,7 @@ lpfc_sli_disable_msix(struct lpfc_hba *phba)
6265 * is done in this function. 6265 * is done in this function.
6266 * 6266 *
6267 * Return codes 6267 * Return codes
6268 * 0 - sucessful 6268 * 0 - successful
6269 * other values - error 6269 * other values - error
6270 */ 6270 */
6271static int 6271static int
@@ -6324,7 +6324,7 @@ lpfc_sli_disable_msi(struct lpfc_hba *phba)
6324 * MSI-X -> MSI -> IRQ. 6324 * MSI-X -> MSI -> IRQ.
6325 * 6325 *
6326 * Return codes 6326 * Return codes
6327 * 0 - sucessful 6327 * 0 - successful
6328 * other values - error 6328 * other values - error
6329 **/ 6329 **/
6330static uint32_t 6330static uint32_t
@@ -6414,7 +6414,7 @@ lpfc_sli_disable_intr(struct lpfc_hba *phba)
6414 * enabled and leaks its vectors. 6414 * enabled and leaks its vectors.
6415 * 6415 *
6416 * Return codes 6416 * Return codes
6417 * 0 - sucessful 6417 * 0 - successful
6418 * other values - error 6418 * other values - error
6419 **/ 6419 **/
6420static int 6420static int
@@ -6524,7 +6524,7 @@ lpfc_sli4_disable_msix(struct lpfc_hba *phba)
6524 * which is done in this function. 6524 * which is done in this function.
6525 * 6525 *
6526 * Return codes 6526 * Return codes
6527 * 0 - sucessful 6527 * 0 - successful
6528 * other values - error 6528 * other values - error
6529 **/ 6529 **/
6530static int 6530static int
@@ -6589,7 +6589,7 @@ lpfc_sli4_disable_msi(struct lpfc_hba *phba)
6589 * MSI-X -> MSI -> IRQ. 6589 * MSI-X -> MSI -> IRQ.
6590 * 6590 *
6591 * Return codes 6591 * Return codes
6592 * 0 - sucessful 6592 * 0 - successful
6593 * other values - error 6593 * other values - error
6594 **/ 6594 **/
6595static uint32_t 6595static uint32_t
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c
index b3a69f984d95..7935667b81a5 100644
--- a/drivers/scsi/lpfc/lpfc_sli.c
+++ b/drivers/scsi/lpfc/lpfc_sli.c
@@ -1804,7 +1804,7 @@ lpfc_sli_handle_mb_event(struct lpfc_hba *phba)
1804 */ 1804 */
1805 if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) == 1805 if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) ==
1806 MBX_SHUTDOWN) { 1806 MBX_SHUTDOWN) {
1807 /* Unknow mailbox command compl */ 1807 /* Unknown mailbox command compl */
1808 lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI, 1808 lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI,
1809 "(%d):0323 Unknown Mailbox command " 1809 "(%d):0323 Unknown Mailbox command "
1810 "x%x (x%x) Cmpl\n", 1810 "x%x (x%x) Cmpl\n",
@@ -4062,7 +4062,7 @@ lpfc_sli4_read_fcoe_params(struct lpfc_hba *phba,
4062 * addition, this routine gets the port vpd data. 4062 * addition, this routine gets the port vpd data.
4063 * 4063 *
4064 * Return codes 4064 * Return codes
4065 * 0 - sucessful 4065 * 0 - successful
4066 * ENOMEM - could not allocated memory. 4066 * ENOMEM - could not allocated memory.
4067 **/ 4067 **/
4068static int 4068static int
@@ -11428,7 +11428,7 @@ lpfc_sli4_handle_received_buffer(struct lpfc_hba *phba,
11428 * sequential. 11428 * sequential.
11429 * 11429 *
11430 * Return codes 11430 * Return codes
11431 * 0 - sucessful 11431 * 0 - successful
11432 * EIO - The mailbox failed to complete successfully. 11432 * EIO - The mailbox failed to complete successfully.
11433 * When this error occurs, the driver is not guaranteed 11433 * When this error occurs, the driver is not guaranteed
11434 * to have any rpi regions posted to the device and 11434 * to have any rpi regions posted to the device and
@@ -11466,7 +11466,7 @@ lpfc_sli4_post_all_rpi_hdrs(struct lpfc_hba *phba)
11466 * maps up to 64 rpi context regions. 11466 * maps up to 64 rpi context regions.
11467 * 11467 *
11468 * Return codes 11468 * Return codes
11469 * 0 - sucessful 11469 * 0 - successful
11470 * ENOMEM - No available memory 11470 * ENOMEM - No available memory
11471 * EIO - The mailbox failed to complete successfully. 11471 * EIO - The mailbox failed to complete successfully.
11472 **/ 11472 **/
@@ -11528,7 +11528,7 @@ lpfc_sli4_post_rpi_hdr(struct lpfc_hba *phba, struct lpfc_rpi_hdr *rpi_page)
11528 * PAGE_SIZE modulo 64 rpi context headers. 11528 * PAGE_SIZE modulo 64 rpi context headers.
11529 * 11529 *
11530 * Returns 11530 * Returns
11531 * A nonzero rpi defined as rpi_base <= rpi < max_rpi if sucessful 11531 * A nonzero rpi defined as rpi_base <= rpi < max_rpi if successful
11532 * LPFC_RPI_ALLOC_ERROR if no rpis are available. 11532 * LPFC_RPI_ALLOC_ERROR if no rpis are available.
11533 **/ 11533 **/
11534int 11534int
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 fd181c2a8ae4..7f977967b884 100644
--- a/drivers/scsi/megaraid/megaraid_mbox.c
+++ b/drivers/scsi/megaraid/megaraid_mbox.c
@@ -2709,7 +2709,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp)
2709 } 2709 }
2710 else { 2710 else {
2711 con_log(CL_ANN, (KERN_NOTICE 2711 con_log(CL_ANN, (KERN_NOTICE
2712 "megaraid mbox: reset sequence completed sucessfully\n")); 2712 "megaraid mbox: reset sequence completed successfully\n"));
2713 } 2713 }
2714 2714
2715 2715
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
index 55ee014a7e08..efabea1a3ce4 100644
--- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c
+++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c
@@ -2987,7 +2987,7 @@ _scsih_normalize_sense(char *sense_buffer, struct sense_info *data)
2987 2987
2988#ifdef CONFIG_SCSI_MPT2SAS_LOGGING 2988#ifdef CONFIG_SCSI_MPT2SAS_LOGGING
2989/** 2989/**
2990 * _scsih_scsi_ioc_info - translated non-succesfull SCSI_IO request 2990 * _scsih_scsi_ioc_info - translated non-successfull SCSI_IO request
2991 * @ioc: per adapter object 2991 * @ioc: per adapter object
2992 * @scmd: pointer to scsi command object 2992 * @scmd: pointer to scsi command object
2993 * @mpi_reply: reply mf payload returned from firmware 2993 * @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 */
6500unexpected_phase: 6500unexpected_phase:
6501 dsp -= 8; 6501 dsp -= 8;
diff --git a/drivers/scsi/nsp32.c b/drivers/scsi/nsp32.c
index 2be7d5b018d2..2c98a6ee973b 100644
--- a/drivers/scsi/nsp32.c
+++ b/drivers/scsi/nsp32.c
@@ -1419,7 +1419,7 @@ static irqreturn_t do_nsp32_isr(int irq, void *dev_id)
1419 nsp32_msg(KERN_ERR, "Received unexpected BMCNTERR IRQ! "); 1419 nsp32_msg(KERN_ERR, "Received unexpected BMCNTERR IRQ! ");
1420 /* 1420 /*
1421 * TODO: To be implemented improving bus master 1421 * TODO: To be implemented improving bus master
1422 * transfer reliablity when BMCNTERR is occurred in 1422 * transfer reliability when BMCNTERR is occurred in
1423 * AutoSCSI phase described in specification. 1423 * AutoSCSI phase described in specification.
1424 */ 1424 */
1425 } 1425 }
diff --git a/drivers/scsi/pmcraid.c b/drivers/scsi/pmcraid.c
index 4874dd62a62f..34c6b896a91b 100644
--- a/drivers/scsi/pmcraid.c
+++ b/drivers/scsi/pmcraid.c
@@ -3347,7 +3347,7 @@ static int pmcraid_chr_fasync(int fd, struct file *filep, int mode)
3347 * @direction : data transfer direction 3347 * @direction : data transfer direction
3348 * 3348 *
3349 * Return value 3349 * Return value
3350 * 0 on sucess, non-zero error code on failure 3350 * 0 on success, non-zero error code on failure
3351 */ 3351 */
3352static int pmcraid_build_passthrough_ioadls( 3352static int pmcraid_build_passthrough_ioadls(
3353 struct pmcraid_cmd *cmd, 3353 struct pmcraid_cmd *cmd,
@@ -3406,7 +3406,7 @@ static int pmcraid_build_passthrough_ioadls(
3406 * @direction: data transfer direction 3406 * @direction: data transfer direction
3407 * 3407 *
3408 * Return value 3408 * Return value
3409 * 0 on sucess, non-zero error code on failure 3409 * 0 on success, non-zero error code on failure
3410 */ 3410 */
3411static void pmcraid_release_passthrough_ioadls( 3411static void pmcraid_release_passthrough_ioadls(
3412 struct pmcraid_cmd *cmd, 3412 struct pmcraid_cmd *cmd,
@@ -3434,7 +3434,7 @@ static void pmcraid_release_passthrough_ioadls(
3434 * @arg: pointer to pmcraid_passthrough_buffer user buffer 3434 * @arg: pointer to pmcraid_passthrough_buffer user buffer
3435 * 3435 *
3436 * Return value 3436 * Return value
3437 * 0 on sucess, non-zero error code on failure 3437 * 0 on success, non-zero error code on failure
3438 */ 3438 */
3439static long pmcraid_ioctl_passthrough( 3439static long pmcraid_ioctl_passthrough(
3440 struct pmcraid_instance *pinstance, 3440 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 */
671void sas_phy_free(struct sas_phy *phy) 671void 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 */
901void sas_port_free(struct sas_port *port) 901void 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 */
1482void sas_rphy_free(struct sas_rphy *rphy) 1482void 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 */
1870static void sym2_reset_workarounds(struct pci_dev *pdev) 1870static 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 */
2697unexpected_phase: 2697unexpected_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/scsi/wd7000.c b/drivers/scsi/wd7000.c
index 093610bcfcce..2f6e9d8eaf71 100644
--- a/drivers/scsi/wd7000.c
+++ b/drivers/scsi/wd7000.c
@@ -161,7 +161,7 @@
161 * 161 *
162 * 2003/02/12 - Christoph Hellwig <hch@infradead.org> 162 * 2003/02/12 - Christoph Hellwig <hch@infradead.org>
163 * 163 *
164 * Cleaned up host template defintion 164 * Cleaned up host template definition
165 * Removed now obsolete wd7000.h 165 * Removed now obsolete wd7000.h
166 */ 166 */
167 167