diff options
author | Jiri Kosina <jkosina@suse.cz> | 2009-12-07 12:36:35 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2009-12-07 12:36:35 -0500 |
commit | d014d043869cdc591f3a33243d3481fa4479c2d0 (patch) | |
tree | 63626829498e647ba058a1ce06419fe7e4d5f97d /drivers/scsi | |
parent | 6ec22f9b037fc0c2e00ddb7023fad279c365324d (diff) | |
parent | 6070d81eb5f2d4943223c96e7609a53cdc984364 (diff) |
Merge branch 'for-next' into for-linus
Conflicts:
kernel/irq/chip.c
Diffstat (limited to 'drivers/scsi')
40 files changed, 86 insertions, 86 deletions
diff --git a/drivers/scsi/3w-9xxx.c b/drivers/scsi/3w-9xxx.c index 36c21b19e5d7..b59e240f2385 100644 --- a/drivers/scsi/3w-9xxx.c +++ b/drivers/scsi/3w-9xxx.c | |||
@@ -732,7 +732,7 @@ static int twa_chrdev_ioctl(struct inode *inode, struct file *file, unsigned int | |||
732 | break; | 732 | break; |
733 | case TW_IOCTL_GET_COMPATIBILITY_INFO: | 733 | case TW_IOCTL_GET_COMPATIBILITY_INFO: |
734 | tw_ioctl->driver_command.status = 0; | 734 | tw_ioctl->driver_command.status = 0; |
735 | /* Copy compatiblity struct into ioctl data buffer */ | 735 | /* Copy compatibility struct into ioctl data buffer */ |
736 | tw_compat_info = (TW_Compatibility_Info *)tw_ioctl->data_buffer; | 736 | tw_compat_info = (TW_Compatibility_Info *)tw_ioctl->data_buffer; |
737 | memcpy(tw_compat_info, &tw_dev->tw_compat_info, sizeof(TW_Compatibility_Info)); | 737 | memcpy(tw_compat_info, &tw_dev->tw_compat_info, sizeof(TW_Compatibility_Info)); |
738 | break; | 738 | break; |
diff --git a/drivers/scsi/3w-xxxx.c b/drivers/scsi/3w-xxxx.c index faa0fcfed71e..ff04821549aa 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 f5a9addb7050..07ce9bfcdf06 100644 --- a/drivers/scsi/53c700.c +++ b/drivers/scsi/53c700.c | |||
@@ -1491,7 +1491,7 @@ NCR_700_intr(int irq, void *dev_id) | |||
1491 | unsigned long flags; | 1491 | unsigned long flags; |
1492 | int handled = 0; | 1492 | int handled = 0; |
1493 | 1493 | ||
1494 | /* Use the host lock to serialise acess to the 53c700 | 1494 | /* Use the host lock to serialise access to the 53c700 |
1495 | * hardware. Note: In future, we may need to take the queue | 1495 | * hardware. Note: In future, we may need to take the queue |
1496 | * lock to enter the done routines. When that happens, we | 1496 | * lock to enter the done routines. When that happens, we |
1497 | * need to ensure that for this driver, the host lock and the | 1497 | * need to ensure that for this driver, the host lock and the |
diff --git a/drivers/scsi/aacraid/aacraid.h b/drivers/scsi/aacraid/aacraid.h index cdbdec9f4fb2..83986ed86556 100644 --- a/drivers/scsi/aacraid/aacraid.h +++ b/drivers/scsi/aacraid/aacraid.h | |||
@@ -526,10 +526,10 @@ struct aac_driver_ident | |||
526 | 526 | ||
527 | /* | 527 | /* |
528 | * The adapter interface specs all queues to be located in the same | 528 | * The adapter interface specs all queues to be located in the same |
529 | * physically contigous block. The host structure that defines the | 529 | * physically contiguous block. The host structure that defines the |
530 | * commuication queues will assume they are each a separate physically | 530 | * commuication queues will assume they are each a separate physically |
531 | * contigous memory region that will support them all being one big | 531 | * contiguous memory region that will support them all being one big |
532 | * contigous block. | 532 | * contiguous block. |
533 | * There is a command and response queue for each level and direction of | 533 | * There is a command and response queue for each level and direction of |
534 | * commuication. These regions are accessed by both the host and adapter. | 534 | * commuication. These regions are accessed by both the host and adapter. |
535 | */ | 535 | */ |
diff --git a/drivers/scsi/aacraid/comminit.c b/drivers/scsi/aacraid/comminit.c index d598eba630d0..666d5151d628 100644 --- a/drivers/scsi/aacraid/comminit.c +++ b/drivers/scsi/aacraid/comminit.c | |||
@@ -226,7 +226,7 @@ static int aac_comm_init(struct aac_dev * dev) | |||
226 | spin_lock_init(&dev->fib_lock); | 226 | spin_lock_init(&dev->fib_lock); |
227 | 227 | ||
228 | /* | 228 | /* |
229 | * Allocate the physically contigous space for the commuication | 229 | * Allocate the physically contiguous space for the commuication |
230 | * queue headers. | 230 | * queue headers. |
231 | */ | 231 | */ |
232 | 232 | ||
diff --git a/drivers/scsi/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; | |||
217 | scbdma_tohost_done: | 217 | scbdma_tohost_done: |
218 | test CCSCBCTL, CCARREN jz fill_qoutfifo_dmadone; | 218 | test CCSCBCTL, CCARREN jz fill_qoutfifo_dmadone; |
219 | /* | 219 | /* |
220 | * An SCB has been succesfully uploaded to the host. | 220 | * An SCB has been successfully uploaded to the host. |
221 | * If the SCB was uploaded for some reason other than | 221 | * If the SCB was uploaded for some reason other than |
222 | * bad SCSI status (currently only for underruns), we | 222 | * bad SCSI status (currently only for underruns), we |
223 | * queue the SCB for normal completion. Otherwise, we | 223 | * queue the SCB for normal completion. Otherwise, we |
@@ -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 | */ |
1286 | mesgin_disconnect: | 1286 | mesgin_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 | */ |
1698 | mesgin_disconnect: | 1698 | mesgin_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 | */ |
63 | enum bfa_pport_type { | 63 | enum bfa_pport_type { |
64 | BFA_PPORT_TYPE_UNKNOWN = 1, /* port type is unkown */ | 64 | BFA_PPORT_TYPE_UNKNOWN = 1, /* port type is unknown */ |
65 | BFA_PPORT_TYPE_TRUNKED = 2, /* Trunked mode */ | 65 | BFA_PPORT_TYPE_TRUNKED = 2, /* Trunked mode */ |
66 | BFA_PPORT_TYPE_NPORT = 5, /* P2P with switched fabric */ | 66 | BFA_PPORT_TYPE_NPORT = 5, /* P2P with switched fabric */ |
67 | BFA_PPORT_TYPE_NLPORT = 6, /* public loop */ | 67 | BFA_PPORT_TYPE_NLPORT = 6, /* public loop */ |
diff --git a/drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h b/drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h index 31881d218515..ade763dbc8ce 100644 --- a/drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h +++ b/drivers/scsi/bfa/include/defs/bfa_defs_tsensor.h | |||
@@ -25,7 +25,7 @@ | |||
25 | * Temperature sensor status values | 25 | * Temperature sensor status values |
26 | */ | 26 | */ |
27 | enum bfa_tsensor_status { | 27 | enum bfa_tsensor_status { |
28 | BFA_TSENSOR_STATUS_UNKNOWN = 1, /* unkown status */ | 28 | BFA_TSENSOR_STATUS_UNKNOWN = 1, /* unknown status */ |
29 | BFA_TSENSOR_STATUS_FAULTY = 2, /* sensor is faulty */ | 29 | BFA_TSENSOR_STATUS_FAULTY = 2, /* sensor is faulty */ |
30 | BFA_TSENSOR_STATUS_BELOW_MIN = 3, /* temperature below mininum */ | 30 | BFA_TSENSOR_STATUS_BELOW_MIN = 3, /* temperature below mininum */ |
31 | BFA_TSENSOR_STATUS_NOMINAL = 4, /* normal temperature */ | 31 | BFA_TSENSOR_STATUS_NOMINAL = 4, /* normal temperature */ |
diff --git a/drivers/scsi/bfa/include/protocol/ct.h b/drivers/scsi/bfa/include/protocol/ct.h index c59d6630b070..79d16a9ab281 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 | */ |
87 | enum { | 87 | enum { |
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 | */ |
134 | enum { | 134 | enum { |
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 cafb888c2376..10110be7c0ff 100644 --- a/drivers/scsi/bnx2i/bnx2i_iscsi.c +++ b/drivers/scsi/bnx2i/bnx2i_iscsi.c | |||
@@ -1883,7 +1883,7 @@ static void bnx2i_ep_disconnect(struct iscsi_endpoint *ep) | |||
1883 | 1883 | ||
1884 | bnx2i_ep = ep->dd_data; | 1884 | bnx2i_ep = ep->dd_data; |
1885 | 1885 | ||
1886 | /* driver should not attempt connection cleanup untill TCP_CONNECT | 1886 | /* driver should not attempt connection cleanup until TCP_CONNECT |
1887 | * completes either successfully or fails. Timeout is 9-secs, so | 1887 | * completes either successfully or fails. Timeout is 9-secs, so |
1888 | * wait for it to complete | 1888 | * wait for it to complete |
1889 | */ | 1889 | */ |
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 a0e7e711ff9d..5be67a6fca93 100644 --- a/drivers/scsi/hptiop.c +++ b/drivers/scsi/hptiop.c | |||
@@ -834,7 +834,7 @@ static int hptiop_reset_hba(struct hptiop_hba *hba) | |||
834 | atomic_read(&hba->resetting) == 0, 60 * HZ); | 834 | atomic_read(&hba->resetting) == 0, 60 * HZ); |
835 | 835 | ||
836 | if (atomic_read(&hba->resetting)) { | 836 | if (atomic_read(&hba->resetting)) { |
837 | /* IOP is in unkown state, abort reset */ | 837 | /* IOP is in unknown state, abort reset */ |
838 | printk(KERN_ERR "scsi%d: reset failed\n", hba->host->host_no); | 838 | printk(KERN_ERR "scsi%d: reset failed\n", hba->host->host_no); |
839 | return -1; | 839 | return -1; |
840 | } | 840 | } |
diff --git a/drivers/scsi/libfc/fc_lport.c b/drivers/scsi/libfc/fc_lport.c index bd2f77197447..6486ae4591b8 100644 --- a/drivers/scsi/libfc/fc_lport.c +++ b/drivers/scsi/libfc/fc_lport.c | |||
@@ -56,7 +56,7 @@ | |||
56 | * at the same time. | 56 | * at the same time. |
57 | * | 57 | * |
58 | * When discovery succeeds or fails a callback is made to the lport as | 58 | * When discovery succeeds or fails a callback is made to the lport as |
59 | * notification. Currently, succesful discovery causes the lport to take no | 59 | * notification. Currently, successful discovery causes the lport to take no |
60 | * action. A failure will cause the lport to reset. There is likely a circular | 60 | * action. A failure will cause the lport to reset. There is likely a circular |
61 | * locking problem with this implementation. | 61 | * locking problem with this implementation. |
62 | */ | 62 | */ |
diff --git a/drivers/scsi/libiscsi_tcp.c b/drivers/scsi/libiscsi_tcp.c index 2e0746d70303..ca25ee5190b0 100644 --- a/drivers/scsi/libiscsi_tcp.c +++ b/drivers/scsi/libiscsi_tcp.c | |||
@@ -1004,7 +1004,7 @@ static struct iscsi_r2t_info *iscsi_tcp_get_curr_r2t(struct iscsi_task *task) | |||
1004 | * iscsi_tcp_task_xmit - xmit normal PDU task | 1004 | * iscsi_tcp_task_xmit - xmit normal PDU task |
1005 | * @task: iscsi command task | 1005 | * @task: iscsi command task |
1006 | * | 1006 | * |
1007 | * We're expected to return 0 when everything was transmitted succesfully, | 1007 | * We're expected to return 0 when everything was transmitted successfully, |
1008 | * -EAGAIN if there's still data in the queue, or != 0 for any other kind | 1008 | * -EAGAIN if there's still data in the queue, or != 0 for any other kind |
1009 | * of error. | 1009 | * of error. |
1010 | */ | 1010 | */ |
diff --git a/drivers/scsi/lpfc/lpfc_attr.c b/drivers/scsi/lpfc/lpfc_attr.c index e1a30a16a9fa..9bd19aa14249 100644 --- a/drivers/scsi/lpfc/lpfc_attr.c +++ b/drivers/scsi/lpfc/lpfc_attr.c | |||
@@ -654,7 +654,7 @@ lpfc_selective_reset(struct lpfc_hba *phba) | |||
654 | * Notes: | 654 | * Notes: |
655 | * Assumes any error from lpfc_selective_reset() will be negative. | 655 | * Assumes any error from lpfc_selective_reset() will be negative. |
656 | * If lpfc_selective_reset() returns zero then the length of the buffer | 656 | * If lpfc_selective_reset() returns zero then the length of the buffer |
657 | * is returned which indicates succcess | 657 | * is returned which indicates success |
658 | * | 658 | * |
659 | * Returns: | 659 | * Returns: |
660 | * -EINVAL if the buffer does not contain the string "selective" | 660 | * -EINVAL if the buffer does not contain the string "selective" |
@@ -3147,7 +3147,7 @@ sysfs_ctlreg_write(struct kobject *kobj, struct bin_attribute *bin_attr, | |||
3147 | * sysfs_ctlreg_read - Read method for reading from ctlreg | 3147 | * sysfs_ctlreg_read - Read method for reading from ctlreg |
3148 | * @kobj: kernel kobject that contains the kernel class device. | 3148 | * @kobj: kernel kobject that contains the kernel class device. |
3149 | * @bin_attr: kernel attributes passed to us. | 3149 | * @bin_attr: kernel attributes passed to us. |
3150 | * @buf: if succesful contains the data from the adapter IOREG space. | 3150 | * @buf: if successful contains the data from the adapter IOREG space. |
3151 | * @off: offset into buffer to beginning of data. | 3151 | * @off: offset into buffer to beginning of data. |
3152 | * @count: bytes to transfer. | 3152 | * @count: bytes to transfer. |
3153 | * | 3153 | * |
diff --git a/drivers/scsi/lpfc/lpfc_els.c b/drivers/scsi/lpfc/lpfc_els.c index 45337cd23feb..a14ab4580d4e 100644 --- a/drivers/scsi/lpfc/lpfc_els.c +++ b/drivers/scsi/lpfc/lpfc_els.c | |||
@@ -802,7 +802,7 @@ lpfc_cmpl_els_flogi(struct lpfc_hba *phba, struct lpfc_iocbq *cmdiocb, | |||
802 | 802 | ||
803 | /* FLOGI completes successfully */ | 803 | /* FLOGI completes successfully */ |
804 | lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, | 804 | lpfc_printf_vlog(vport, KERN_INFO, LOG_ELS, |
805 | "0101 FLOGI completes sucessfully " | 805 | "0101 FLOGI completes successfully " |
806 | "Data: x%x x%x x%x x%x\n", | 806 | "Data: x%x x%x x%x x%x\n", |
807 | irsp->un.ulpWord[4], sp->cmn.e_d_tov, | 807 | irsp->un.ulpWord[4], sp->cmn.e_d_tov, |
808 | sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution); | 808 | sp->cmn.w2.r_a_tov, sp->cmn.edtovResolution); |
@@ -4133,7 +4133,7 @@ lpfc_els_rcv_rscn(struct lpfc_vport *vport, struct lpfc_iocbq *cmdiocb, | |||
4133 | /* Indicate we are walking fc_rscn_id_list on this vport */ | 4133 | /* Indicate we are walking fc_rscn_id_list on this vport */ |
4134 | vport->fc_rscn_flush = 1; | 4134 | vport->fc_rscn_flush = 1; |
4135 | spin_unlock_irq(shost->host_lock); | 4135 | spin_unlock_irq(shost->host_lock); |
4136 | /* Get the array count after sucessfully have the token */ | 4136 | /* Get the array count after successfully have the token */ |
4137 | rscn_cnt = vport->fc_rscn_id_cnt; | 4137 | rscn_cnt = vport->fc_rscn_id_cnt; |
4138 | /* If we are already processing an RSCN, save the received | 4138 | /* If we are already processing an RSCN, save the received |
4139 | * RSCN payload buffer, cmdiocb->context2 to process later. | 4139 | * RSCN payload buffer, cmdiocb->context2 to process later. |
diff --git a/drivers/scsi/lpfc/lpfc_init.c b/drivers/scsi/lpfc/lpfc_init.c index 562d8cee874b..82f8ab5c72cd 100644 --- a/drivers/scsi/lpfc/lpfc_init.c +++ b/drivers/scsi/lpfc/lpfc_init.c | |||
@@ -645,7 +645,7 @@ lpfc_hba_down_prep(struct lpfc_hba *phba) | |||
645 | * down the SLI Layer. | 645 | * down the SLI Layer. |
646 | * | 646 | * |
647 | * Return codes | 647 | * Return codes |
648 | * 0 - sucess. | 648 | * 0 - success. |
649 | * Any other value - error. | 649 | * Any other value - error. |
650 | **/ | 650 | **/ |
651 | static int | 651 | static int |
@@ -700,7 +700,7 @@ lpfc_hba_down_post_s3(struct lpfc_hba *phba) | |||
700 | * down the SLI Layer. | 700 | * down the SLI Layer. |
701 | * | 701 | * |
702 | * Return codes | 702 | * Return codes |
703 | * 0 - sucess. | 703 | * 0 - success. |
704 | * Any other value - error. | 704 | * Any other value - error. |
705 | **/ | 705 | **/ |
706 | static int | 706 | static int |
@@ -755,7 +755,7 @@ lpfc_hba_down_post_s4(struct lpfc_hba *phba) | |||
755 | * uninitialization after the HBA is reset when bring down the SLI Layer. | 755 | * uninitialization after the HBA is reset when bring down the SLI Layer. |
756 | * | 756 | * |
757 | * Return codes | 757 | * Return codes |
758 | * 0 - sucess. | 758 | * 0 - success. |
759 | * Any other value - error. | 759 | * Any other value - error. |
760 | **/ | 760 | **/ |
761 | int | 761 | int |
@@ -1254,7 +1254,7 @@ lpfc_handle_eratt_s4(struct lpfc_hba *phba) | |||
1254 | * routine from the API jump table function pointer from the lpfc_hba struct. | 1254 | * routine from the API jump table function pointer from the lpfc_hba struct. |
1255 | * | 1255 | * |
1256 | * Return codes | 1256 | * Return codes |
1257 | * 0 - sucess. | 1257 | * 0 - success. |
1258 | * Any other value - error. | 1258 | * Any other value - error. |
1259 | **/ | 1259 | **/ |
1260 | void | 1260 | void |
@@ -3124,7 +3124,7 @@ static void lpfc_log_intr_mode(struct lpfc_hba *phba, uint32_t intr_mode) | |||
3124 | * PCI devices. | 3124 | * PCI devices. |
3125 | * | 3125 | * |
3126 | * Return codes | 3126 | * Return codes |
3127 | * 0 - sucessful | 3127 | * 0 - successful |
3128 | * other values - error | 3128 | * other values - error |
3129 | **/ | 3129 | **/ |
3130 | static int | 3130 | static int |
@@ -3220,7 +3220,7 @@ lpfc_reset_hba(struct lpfc_hba *phba) | |||
3220 | * support the SLI-3 HBA device it attached to. | 3220 | * support the SLI-3 HBA device it attached to. |
3221 | * | 3221 | * |
3222 | * Return codes | 3222 | * Return codes |
3223 | * 0 - sucessful | 3223 | * 0 - successful |
3224 | * other values - error | 3224 | * other values - error |
3225 | **/ | 3225 | **/ |
3226 | static int | 3226 | static int |
@@ -3321,7 +3321,7 @@ lpfc_sli_driver_resource_unset(struct lpfc_hba *phba) | |||
3321 | * support the SLI-4 HBA device it attached to. | 3321 | * support the SLI-4 HBA device it attached to. |
3322 | * | 3322 | * |
3323 | * Return codes | 3323 | * Return codes |
3324 | * 0 - sucessful | 3324 | * 0 - successful |
3325 | * other values - error | 3325 | * other values - error |
3326 | **/ | 3326 | **/ |
3327 | static int | 3327 | static int |
@@ -3642,7 +3642,7 @@ lpfc_init_api_table_setup(struct lpfc_hba *phba, uint8_t dev_grp) | |||
3642 | * device specific resource setup to support the HBA device it attached to. | 3642 | * device specific resource setup to support the HBA device it attached to. |
3643 | * | 3643 | * |
3644 | * Return codes | 3644 | * Return codes |
3645 | * 0 - sucessful | 3645 | * 0 - successful |
3646 | * other values - error | 3646 | * other values - error |
3647 | **/ | 3647 | **/ |
3648 | static int | 3648 | static int |
@@ -3688,7 +3688,7 @@ lpfc_setup_driver_resource_phase1(struct lpfc_hba *phba) | |||
3688 | * device specific resource setup to support the HBA device it attached to. | 3688 | * device specific resource setup to support the HBA device it attached to. |
3689 | * | 3689 | * |
3690 | * Return codes | 3690 | * Return codes |
3691 | * 0 - sucessful | 3691 | * 0 - successful |
3692 | * other values - error | 3692 | * other values - error |
3693 | **/ | 3693 | **/ |
3694 | static int | 3694 | static int |
@@ -3753,7 +3753,7 @@ lpfc_free_iocb_list(struct lpfc_hba *phba) | |||
3753 | * list and set up the IOCB tag array accordingly. | 3753 | * list and set up the IOCB tag array accordingly. |
3754 | * | 3754 | * |
3755 | * Return codes | 3755 | * Return codes |
3756 | * 0 - sucessful | 3756 | * 0 - successful |
3757 | * other values - error | 3757 | * other values - error |
3758 | **/ | 3758 | **/ |
3759 | static int | 3759 | static int |
@@ -3872,7 +3872,7 @@ lpfc_free_active_sgl(struct lpfc_hba *phba) | |||
3872 | * list and set up the sgl xritag tag array accordingly. | 3872 | * list and set up the sgl xritag tag array accordingly. |
3873 | * | 3873 | * |
3874 | * Return codes | 3874 | * Return codes |
3875 | * 0 - sucessful | 3875 | * 0 - successful |
3876 | * other values - error | 3876 | * other values - error |
3877 | **/ | 3877 | **/ |
3878 | static int | 3878 | static int |
@@ -3986,7 +3986,7 @@ out_free_mem: | |||
3986 | * enabled and the driver is reinitializing the device. | 3986 | * enabled and the driver is reinitializing the device. |
3987 | * | 3987 | * |
3988 | * Return codes | 3988 | * Return codes |
3989 | * 0 - sucessful | 3989 | * 0 - successful |
3990 | * ENOMEM - No availble memory | 3990 | * ENOMEM - No availble memory |
3991 | * EIO - The mailbox failed to complete successfully. | 3991 | * EIO - The mailbox failed to complete successfully. |
3992 | **/ | 3992 | **/ |
@@ -4146,7 +4146,7 @@ lpfc_sli4_remove_rpi_hdrs(struct lpfc_hba *phba) | |||
4146 | * PCI device data structure is set. | 4146 | * PCI device data structure is set. |
4147 | * | 4147 | * |
4148 | * Return codes | 4148 | * Return codes |
4149 | * pointer to @phba - sucessful | 4149 | * pointer to @phba - successful |
4150 | * NULL - error | 4150 | * NULL - error |
4151 | **/ | 4151 | **/ |
4152 | static struct lpfc_hba * | 4152 | static struct lpfc_hba * |
@@ -4202,7 +4202,7 @@ lpfc_hba_free(struct lpfc_hba *phba) | |||
4202 | * host with it. | 4202 | * host with it. |
4203 | * | 4203 | * |
4204 | * Return codes | 4204 | * Return codes |
4205 | * 0 - sucessful | 4205 | * 0 - successful |
4206 | * other values - error | 4206 | * other values - error |
4207 | **/ | 4207 | **/ |
4208 | static int | 4208 | static int |
@@ -4365,7 +4365,7 @@ lpfc_post_init_setup(struct lpfc_hba *phba) | |||
4365 | * with SLI-3 interface spec. | 4365 | * with SLI-3 interface spec. |
4366 | * | 4366 | * |
4367 | * Return codes | 4367 | * Return codes |
4368 | * 0 - sucessful | 4368 | * 0 - successful |
4369 | * other values - error | 4369 | * other values - error |
4370 | **/ | 4370 | **/ |
4371 | static int | 4371 | static int |
@@ -4662,7 +4662,7 @@ lpfc_sli4_bar2_register_memmap(struct lpfc_hba *phba, uint32_t vf) | |||
4662 | * this routine. | 4662 | * this routine. |
4663 | * | 4663 | * |
4664 | * Return codes | 4664 | * Return codes |
4665 | * 0 - sucessful | 4665 | * 0 - successful |
4666 | * ENOMEM - could not allocated memory. | 4666 | * ENOMEM - could not allocated memory. |
4667 | **/ | 4667 | **/ |
4668 | static int | 4668 | static int |
@@ -4761,7 +4761,7 @@ lpfc_destroy_bootstrap_mbox(struct lpfc_hba *phba) | |||
4761 | * allocation for the port. | 4761 | * allocation for the port. |
4762 | * | 4762 | * |
4763 | * Return codes | 4763 | * Return codes |
4764 | * 0 - sucessful | 4764 | * 0 - successful |
4765 | * ENOMEM - No availble memory | 4765 | * ENOMEM - No availble memory |
4766 | * EIO - The mailbox failed to complete successfully. | 4766 | * EIO - The mailbox failed to complete successfully. |
4767 | **/ | 4767 | **/ |
@@ -4861,7 +4861,7 @@ lpfc_sli4_read_config(struct lpfc_hba *phba) | |||
4861 | * HBA consistent with the SLI-4 interface spec. | 4861 | * HBA consistent with the SLI-4 interface spec. |
4862 | * | 4862 | * |
4863 | * Return codes | 4863 | * Return codes |
4864 | * 0 - sucessful | 4864 | * 0 - successful |
4865 | * ENOMEM - No availble memory | 4865 | * ENOMEM - No availble memory |
4866 | * EIO - The mailbox failed to complete successfully. | 4866 | * EIO - The mailbox failed to complete successfully. |
4867 | **/ | 4867 | **/ |
@@ -4910,7 +4910,7 @@ lpfc_setup_endian_order(struct lpfc_hba *phba) | |||
4910 | * we just use some constant number as place holder. | 4910 | * we just use some constant number as place holder. |
4911 | * | 4911 | * |
4912 | * Return codes | 4912 | * Return codes |
4913 | * 0 - sucessful | 4913 | * 0 - successful |
4914 | * ENOMEM - No availble memory | 4914 | * ENOMEM - No availble memory |
4915 | * EIO - The mailbox failed to complete successfully. | 4915 | * EIO - The mailbox failed to complete successfully. |
4916 | **/ | 4916 | **/ |
@@ -5218,7 +5218,7 @@ out_error: | |||
5218 | * operation. | 5218 | * operation. |
5219 | * | 5219 | * |
5220 | * Return codes | 5220 | * Return codes |
5221 | * 0 - sucessful | 5221 | * 0 - successful |
5222 | * ENOMEM - No availble memory | 5222 | * ENOMEM - No availble memory |
5223 | * EIO - The mailbox failed to complete successfully. | 5223 | * EIO - The mailbox failed to complete successfully. |
5224 | **/ | 5224 | **/ |
@@ -5286,7 +5286,7 @@ lpfc_sli4_queue_destroy(struct lpfc_hba *phba) | |||
5286 | * operation. | 5286 | * operation. |
5287 | * | 5287 | * |
5288 | * Return codes | 5288 | * Return codes |
5289 | * 0 - sucessful | 5289 | * 0 - successful |
5290 | * ENOMEM - No availble memory | 5290 | * ENOMEM - No availble memory |
5291 | * EIO - The mailbox failed to complete successfully. | 5291 | * EIO - The mailbox failed to complete successfully. |
5292 | **/ | 5292 | **/ |
@@ -5552,7 +5552,7 @@ out_error: | |||
5552 | * operation. | 5552 | * operation. |
5553 | * | 5553 | * |
5554 | * Return codes | 5554 | * Return codes |
5555 | * 0 - sucessful | 5555 | * 0 - successful |
5556 | * ENOMEM - No availble memory | 5556 | * ENOMEM - No availble memory |
5557 | * EIO - The mailbox failed to complete successfully. | 5557 | * EIO - The mailbox failed to complete successfully. |
5558 | **/ | 5558 | **/ |
@@ -5599,7 +5599,7 @@ lpfc_sli4_queue_unset(struct lpfc_hba *phba) | |||
5599 | * Later, this can be used for all the slow-path events. | 5599 | * Later, this can be used for all the slow-path events. |
5600 | * | 5600 | * |
5601 | * Return codes | 5601 | * Return codes |
5602 | * 0 - sucessful | 5602 | * 0 - successful |
5603 | * -ENOMEM - No availble memory | 5603 | * -ENOMEM - No availble memory |
5604 | **/ | 5604 | **/ |
5605 | static int | 5605 | static int |
@@ -5760,7 +5760,7 @@ lpfc_sli4_cq_event_release_all(struct lpfc_hba *phba) | |||
5760 | * all resources assigned to the PCI function which originates this request. | 5760 | * all resources assigned to the PCI function which originates this request. |
5761 | * | 5761 | * |
5762 | * Return codes | 5762 | * Return codes |
5763 | * 0 - sucessful | 5763 | * 0 - successful |
5764 | * ENOMEM - No availble memory | 5764 | * ENOMEM - No availble memory |
5765 | * EIO - The mailbox failed to complete successfully. | 5765 | * EIO - The mailbox failed to complete successfully. |
5766 | **/ | 5766 | **/ |
@@ -5923,7 +5923,7 @@ lpfc_sli4_fcfi_unreg(struct lpfc_hba *phba, uint16_t fcfi) | |||
5923 | * with SLI-4 interface spec. | 5923 | * with SLI-4 interface spec. |
5924 | * | 5924 | * |
5925 | * Return codes | 5925 | * Return codes |
5926 | * 0 - sucessful | 5926 | * 0 - successful |
5927 | * other values - error | 5927 | * other values - error |
5928 | **/ | 5928 | **/ |
5929 | static int | 5929 | static int |
@@ -6052,7 +6052,7 @@ lpfc_sli4_pci_mem_unset(struct lpfc_hba *phba) | |||
6052 | * will be left with MSI-X enabled and leaks its vectors. | 6052 | * will be left with MSI-X enabled and leaks its vectors. |
6053 | * | 6053 | * |
6054 | * Return codes | 6054 | * Return codes |
6055 | * 0 - sucessful | 6055 | * 0 - successful |
6056 | * other values - error | 6056 | * other values - error |
6057 | **/ | 6057 | **/ |
6058 | static int | 6058 | static int |
@@ -6184,7 +6184,7 @@ lpfc_sli_disable_msix(struct lpfc_hba *phba) | |||
6184 | * is done in this function. | 6184 | * is done in this function. |
6185 | * | 6185 | * |
6186 | * Return codes | 6186 | * Return codes |
6187 | * 0 - sucessful | 6187 | * 0 - successful |
6188 | * other values - error | 6188 | * other values - error |
6189 | */ | 6189 | */ |
6190 | static int | 6190 | static int |
@@ -6243,7 +6243,7 @@ lpfc_sli_disable_msi(struct lpfc_hba *phba) | |||
6243 | * MSI-X -> MSI -> IRQ. | 6243 | * MSI-X -> MSI -> IRQ. |
6244 | * | 6244 | * |
6245 | * Return codes | 6245 | * Return codes |
6246 | * 0 - sucessful | 6246 | * 0 - successful |
6247 | * other values - error | 6247 | * other values - error |
6248 | **/ | 6248 | **/ |
6249 | static uint32_t | 6249 | static uint32_t |
@@ -6333,7 +6333,7 @@ lpfc_sli_disable_intr(struct lpfc_hba *phba) | |||
6333 | * enabled and leaks its vectors. | 6333 | * enabled and leaks its vectors. |
6334 | * | 6334 | * |
6335 | * Return codes | 6335 | * Return codes |
6336 | * 0 - sucessful | 6336 | * 0 - successful |
6337 | * other values - error | 6337 | * other values - error |
6338 | **/ | 6338 | **/ |
6339 | static int | 6339 | static int |
@@ -6443,7 +6443,7 @@ lpfc_sli4_disable_msix(struct lpfc_hba *phba) | |||
6443 | * which is done in this function. | 6443 | * which is done in this function. |
6444 | * | 6444 | * |
6445 | * Return codes | 6445 | * Return codes |
6446 | * 0 - sucessful | 6446 | * 0 - successful |
6447 | * other values - error | 6447 | * other values - error |
6448 | **/ | 6448 | **/ |
6449 | static int | 6449 | static int |
@@ -6508,7 +6508,7 @@ lpfc_sli4_disable_msi(struct lpfc_hba *phba) | |||
6508 | * MSI-X -> MSI -> IRQ. | 6508 | * MSI-X -> MSI -> IRQ. |
6509 | * | 6509 | * |
6510 | * Return codes | 6510 | * Return codes |
6511 | * 0 - sucessful | 6511 | * 0 - successful |
6512 | * other values - error | 6512 | * other values - error |
6513 | **/ | 6513 | **/ |
6514 | static uint32_t | 6514 | static uint32_t |
diff --git a/drivers/scsi/lpfc/lpfc_sli.c b/drivers/scsi/lpfc/lpfc_sli.c index 43cbe336f1f8..42d4f3dae1d6 100644 --- a/drivers/scsi/lpfc/lpfc_sli.c +++ b/drivers/scsi/lpfc/lpfc_sli.c | |||
@@ -1794,7 +1794,7 @@ lpfc_sli_handle_mb_event(struct lpfc_hba *phba) | |||
1794 | */ | 1794 | */ |
1795 | if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) == | 1795 | if (lpfc_sli_chk_mbx_command(pmbox->mbxCommand) == |
1796 | MBX_SHUTDOWN) { | 1796 | MBX_SHUTDOWN) { |
1797 | /* Unknow mailbox command compl */ | 1797 | /* Unknown mailbox command compl */ |
1798 | lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI, | 1798 | lpfc_printf_log(phba, KERN_ERR, LOG_MBOX | LOG_SLI, |
1799 | "(%d):0323 Unknown Mailbox command " | 1799 | "(%d):0323 Unknown Mailbox command " |
1800 | "x%x (x%x) Cmpl\n", | 1800 | "x%x (x%x) Cmpl\n", |
@@ -4163,7 +4163,7 @@ lpfc_sli4_read_fcoe_params(struct lpfc_hba *phba, | |||
4163 | * addition, this routine gets the port vpd data. | 4163 | * addition, this routine gets the port vpd data. |
4164 | * | 4164 | * |
4165 | * Return codes | 4165 | * Return codes |
4166 | * 0 - sucessful | 4166 | * 0 - successful |
4167 | * ENOMEM - could not allocated memory. | 4167 | * ENOMEM - could not allocated memory. |
4168 | **/ | 4168 | **/ |
4169 | static int | 4169 | static int |
@@ -11091,7 +11091,7 @@ lpfc_sli4_handle_received_buffer(struct lpfc_hba *phba) | |||
11091 | * sequential. | 11091 | * sequential. |
11092 | * | 11092 | * |
11093 | * Return codes | 11093 | * Return codes |
11094 | * 0 - sucessful | 11094 | * 0 - successful |
11095 | * EIO - The mailbox failed to complete successfully. | 11095 | * EIO - The mailbox failed to complete successfully. |
11096 | * When this error occurs, the driver is not guaranteed | 11096 | * When this error occurs, the driver is not guaranteed |
11097 | * to have any rpi regions posted to the device and | 11097 | * to have any rpi regions posted to the device and |
@@ -11129,7 +11129,7 @@ lpfc_sli4_post_all_rpi_hdrs(struct lpfc_hba *phba) | |||
11129 | * maps up to 64 rpi context regions. | 11129 | * maps up to 64 rpi context regions. |
11130 | * | 11130 | * |
11131 | * Return codes | 11131 | * Return codes |
11132 | * 0 - sucessful | 11132 | * 0 - successful |
11133 | * ENOMEM - No available memory | 11133 | * ENOMEM - No available memory |
11134 | * EIO - The mailbox failed to complete successfully. | 11134 | * EIO - The mailbox failed to complete successfully. |
11135 | **/ | 11135 | **/ |
@@ -11191,7 +11191,7 @@ lpfc_sli4_post_rpi_hdr(struct lpfc_hba *phba, struct lpfc_rpi_hdr *rpi_page) | |||
11191 | * PAGE_SIZE modulo 64 rpi context headers. | 11191 | * PAGE_SIZE modulo 64 rpi context headers. |
11192 | * | 11192 | * |
11193 | * Returns | 11193 | * Returns |
11194 | * A nonzero rpi defined as rpi_base <= rpi < max_rpi if sucessful | 11194 | * A nonzero rpi defined as rpi_base <= rpi < max_rpi if successful |
11195 | * LPFC_RPI_ALLOC_ERROR if no rpis are available. | 11195 | * LPFC_RPI_ALLOC_ERROR if no rpis are available. |
11196 | **/ | 11196 | **/ |
11197 | int | 11197 | int |
diff --git a/drivers/scsi/megaraid.h b/drivers/scsi/megaraid.h index 512c2cc1a33f..d310f49d077e 100644 --- a/drivers/scsi/megaraid.h +++ b/drivers/scsi/megaraid.h | |||
@@ -381,7 +381,7 @@ typedef struct { | |||
381 | u8 battery_status; /* | 381 | u8 battery_status; /* |
382 | * BIT 0: battery module missing | 382 | * BIT 0: battery module missing |
383 | * BIT 1: VBAD | 383 | * BIT 1: VBAD |
384 | * BIT 2: temprature high | 384 | * BIT 2: temperature high |
385 | * BIT 3: battery pack missing | 385 | * BIT 3: battery pack missing |
386 | * BIT 4,5: | 386 | * BIT 4,5: |
387 | * 00 - charge complete | 387 | * 00 - charge complete |
diff --git a/drivers/scsi/megaraid/mbox_defs.h b/drivers/scsi/megaraid/mbox_defs.h index b25b74764ec3..ce2487a888ed 100644 --- a/drivers/scsi/megaraid/mbox_defs.h +++ b/drivers/scsi/megaraid/mbox_defs.h | |||
@@ -497,7 +497,7 @@ typedef struct { | |||
497 | * @inserted_drive : channel:Id of inserted drive | 497 | * @inserted_drive : channel:Id of inserted drive |
498 | * @battery_status : bit 0: battery module missing | 498 | * @battery_status : bit 0: battery module missing |
499 | * bit 1: VBAD | 499 | * bit 1: VBAD |
500 | * bit 2: temprature high | 500 | * bit 2: temperature high |
501 | * bit 3: battery pack missing | 501 | * bit 3: battery pack missing |
502 | * bit 4,5: | 502 | * bit 4,5: |
503 | * 00 - charge complete | 503 | * 00 - charge complete |
diff --git a/drivers/scsi/megaraid/megaraid_mbox.c b/drivers/scsi/megaraid/megaraid_mbox.c index 234f0b7eb21c..f9ae8037a710 100644 --- a/drivers/scsi/megaraid/megaraid_mbox.c +++ b/drivers/scsi/megaraid/megaraid_mbox.c | |||
@@ -2704,7 +2704,7 @@ megaraid_reset_handler(struct scsi_cmnd *scp) | |||
2704 | } | 2704 | } |
2705 | else { | 2705 | else { |
2706 | con_log(CL_ANN, (KERN_NOTICE | 2706 | con_log(CL_ANN, (KERN_NOTICE |
2707 | "megaraid mbox: reset sequence completed sucessfully\n")); | 2707 | "megaraid mbox: reset sequence completed successfully\n")); |
2708 | } | 2708 | } |
2709 | 2709 | ||
2710 | 2710 | ||
diff --git a/drivers/scsi/mpt2sas/mpt2sas_scsih.c b/drivers/scsi/mpt2sas/mpt2sas_scsih.c index 86ab32d7ab15..756e509d495c 100644 --- a/drivers/scsi/mpt2sas/mpt2sas_scsih.c +++ b/drivers/scsi/mpt2sas/mpt2sas_scsih.c | |||
@@ -2894,7 +2894,7 @@ _scsih_normalize_sense(char *sense_buffer, struct sense_info *data) | |||
2894 | 2894 | ||
2895 | #ifdef CONFIG_SCSI_MPT2SAS_LOGGING | 2895 | #ifdef CONFIG_SCSI_MPT2SAS_LOGGING |
2896 | /** | 2896 | /** |
2897 | * _scsih_scsi_ioc_info - translated non-succesfull SCSI_IO request | 2897 | * _scsih_scsi_ioc_info - translated non-successfull SCSI_IO request |
2898 | * @ioc: per adapter object | 2898 | * @ioc: per adapter object |
2899 | * @scmd: pointer to scsi command object | 2899 | * @scmd: pointer to scsi command object |
2900 | * @mpi_reply: reply mf payload returned from firmware | 2900 | * @mpi_reply: reply mf payload returned from firmware |
diff --git a/drivers/scsi/ncr53c8xx.c b/drivers/scsi/ncr53c8xx.c index e3c482aa87b5..a2d569828308 100644 --- a/drivers/scsi/ncr53c8xx.c +++ b/drivers/scsi/ncr53c8xx.c | |||
@@ -6495,7 +6495,7 @@ static void ncr_int_ma (struct ncb *np) | |||
6495 | ** we force a SIR_NEGO_PROTO interrupt (it is a hack that avoids | 6495 | ** we force a SIR_NEGO_PROTO interrupt (it is a hack that avoids |
6496 | ** bloat for such a should_not_happen situation). | 6496 | ** bloat for such a should_not_happen situation). |
6497 | ** In all other situation, we reset the BUS. | 6497 | ** In all other situation, we reset the BUS. |
6498 | ** Are these assumptions reasonnable ? (Wait and see ...) | 6498 | ** Are these assumptions reasonable ? (Wait and see ...) |
6499 | */ | 6499 | */ |
6500 | unexpected_phase: | 6500 | unexpected_phase: |
6501 | dsp -= 8; | 6501 | dsp -= 8; |
diff --git a/drivers/scsi/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 0a97bc9074bb..0e24abd0d302 100644 --- a/drivers/scsi/pmcraid.c +++ b/drivers/scsi/pmcraid.c | |||
@@ -3342,7 +3342,7 @@ static int pmcraid_chr_fasync(int fd, struct file *filep, int mode) | |||
3342 | * @direction : data transfer direction | 3342 | * @direction : data transfer direction |
3343 | * | 3343 | * |
3344 | * Return value | 3344 | * Return value |
3345 | * 0 on sucess, non-zero error code on failure | 3345 | * 0 on success, non-zero error code on failure |
3346 | */ | 3346 | */ |
3347 | static int pmcraid_build_passthrough_ioadls( | 3347 | static int pmcraid_build_passthrough_ioadls( |
3348 | struct pmcraid_cmd *cmd, | 3348 | struct pmcraid_cmd *cmd, |
@@ -3401,7 +3401,7 @@ static int pmcraid_build_passthrough_ioadls( | |||
3401 | * @direction: data transfer direction | 3401 | * @direction: data transfer direction |
3402 | * | 3402 | * |
3403 | * Return value | 3403 | * Return value |
3404 | * 0 on sucess, non-zero error code on failure | 3404 | * 0 on success, non-zero error code on failure |
3405 | */ | 3405 | */ |
3406 | static void pmcraid_release_passthrough_ioadls( | 3406 | static void pmcraid_release_passthrough_ioadls( |
3407 | struct pmcraid_cmd *cmd, | 3407 | struct pmcraid_cmd *cmd, |
@@ -3429,7 +3429,7 @@ static void pmcraid_release_passthrough_ioadls( | |||
3429 | * @arg: pointer to pmcraid_passthrough_buffer user buffer | 3429 | * @arg: pointer to pmcraid_passthrough_buffer user buffer |
3430 | * | 3430 | * |
3431 | * Return value | 3431 | * Return value |
3432 | * 0 on sucess, non-zero error code on failure | 3432 | * 0 on success, non-zero error code on failure |
3433 | */ | 3433 | */ |
3434 | static long pmcraid_ioctl_passthrough( | 3434 | static long pmcraid_ioctl_passthrough( |
3435 | struct pmcraid_instance *pinstance, | 3435 | struct pmcraid_instance *pinstance, |
diff --git a/drivers/scsi/pmcraid.h b/drivers/scsi/pmcraid.h index 3441b3f90827..2752b56cad56 100644 --- a/drivers/scsi/pmcraid.h +++ b/drivers/scsi/pmcraid.h | |||
@@ -771,11 +771,11 @@ static struct pmcraid_ioasc_error pmcraid_ioasc_error_table[] = { | |||
771 | {0x01180600, IOASC_LOG_LEVEL_MUST, | 771 | {0x01180600, IOASC_LOG_LEVEL_MUST, |
772 | "Recovered Error, soft media error, sector reassignment suggested"}, | 772 | "Recovered Error, soft media error, sector reassignment suggested"}, |
773 | {0x015D0000, IOASC_LOG_LEVEL_MUST, | 773 | {0x015D0000, IOASC_LOG_LEVEL_MUST, |
774 | "Recovered Error, failure prediction thresold exceeded"}, | 774 | "Recovered Error, failure prediction threshold exceeded"}, |
775 | {0x015D9200, IOASC_LOG_LEVEL_MUST, | 775 | {0x015D9200, IOASC_LOG_LEVEL_MUST, |
776 | "Recovered Error, soft Cache Card Battery error thresold"}, | 776 | "Recovered Error, soft Cache Card Battery error threshold"}, |
777 | {0x015D9200, IOASC_LOG_LEVEL_MUST, | 777 | {0x015D9200, IOASC_LOG_LEVEL_MUST, |
778 | "Recovered Error, soft Cache Card Battery error thresold"}, | 778 | "Recovered Error, soft Cache Card Battery error threshold"}, |
779 | {0x02048000, IOASC_LOG_LEVEL_MUST, | 779 | {0x02048000, IOASC_LOG_LEVEL_MUST, |
780 | "Not Ready, IOA Reset Required"}, | 780 | "Not Ready, IOA Reset Required"}, |
781 | {0x02408500, IOASC_LOG_LEVEL_MUST, | 781 | {0x02408500, IOASC_LOG_LEVEL_MUST, |
diff --git a/drivers/scsi/scsi_netlink.c b/drivers/scsi/scsi_netlink.c index 723fdecd91bd..0fd6ae6911ad 100644 --- a/drivers/scsi/scsi_netlink.c +++ b/drivers/scsi/scsi_netlink.c | |||
@@ -613,7 +613,7 @@ EXPORT_SYMBOL_GPL(scsi_nl_send_transport_msg); | |||
613 | * @data_buf: pointer to vendor unique data buffer | 613 | * @data_buf: pointer to vendor unique data buffer |
614 | * | 614 | * |
615 | * Returns: | 615 | * Returns: |
616 | * 0 on succesful return | 616 | * 0 on successful return |
617 | * otherwise, failing error code | 617 | * otherwise, failing error code |
618 | * | 618 | * |
619 | * Notes: | 619 | * Notes: |
diff --git a/drivers/scsi/scsi_transport_sas.c b/drivers/scsi/scsi_transport_sas.c index fd47cb1bee1b..f27e52d963d3 100644 --- a/drivers/scsi/scsi_transport_sas.c +++ b/drivers/scsi/scsi_transport_sas.c | |||
@@ -666,7 +666,7 @@ EXPORT_SYMBOL(sas_phy_add); | |||
666 | * | 666 | * |
667 | * Note: | 667 | * Note: |
668 | * This function must only be called on a PHY that has not | 668 | * This function must only be called on a PHY that has not |
669 | * sucessfully been added using sas_phy_add(). | 669 | * successfully been added using sas_phy_add(). |
670 | */ | 670 | */ |
671 | void sas_phy_free(struct sas_phy *phy) | 671 | void sas_phy_free(struct sas_phy *phy) |
672 | { | 672 | { |
@@ -896,7 +896,7 @@ EXPORT_SYMBOL(sas_port_add); | |||
896 | * | 896 | * |
897 | * Note: | 897 | * Note: |
898 | * This function must only be called on a PORT that has not | 898 | * This function must only be called on a PORT that has not |
899 | * sucessfully been added using sas_port_add(). | 899 | * successfully been added using sas_port_add(). |
900 | */ | 900 | */ |
901 | void sas_port_free(struct sas_port *port) | 901 | void sas_port_free(struct sas_port *port) |
902 | { | 902 | { |
@@ -1476,7 +1476,7 @@ EXPORT_SYMBOL(sas_rphy_add); | |||
1476 | * | 1476 | * |
1477 | * Note: | 1477 | * Note: |
1478 | * This function must only be called on a remote | 1478 | * This function must only be called on a remote |
1479 | * PHY that has not sucessfully been added using | 1479 | * PHY that has not successfully been added using |
1480 | * sas_rphy_add() (or has been sas_rphy_remove()'d) | 1480 | * sas_rphy_add() (or has been sas_rphy_remove()'d) |
1481 | */ | 1481 | */ |
1482 | void sas_rphy_free(struct sas_rphy *rphy) | 1482 | void sas_rphy_free(struct sas_rphy *rphy) |
diff --git a/drivers/scsi/sym53c8xx_2/sym_glue.c b/drivers/scsi/sym53c8xx_2/sym_glue.c index 45374d66d26a..2b38f6ad6e11 100644 --- a/drivers/scsi/sym53c8xx_2/sym_glue.c +++ b/drivers/scsi/sym53c8xx_2/sym_glue.c | |||
@@ -1864,7 +1864,7 @@ static pci_ers_result_t sym2_io_slot_dump(struct pci_dev *pdev) | |||
1864 | * | 1864 | * |
1865 | * This routine is similar to sym_set_workarounds(), except | 1865 | * This routine is similar to sym_set_workarounds(), except |
1866 | * that, at this point, we already know that the device was | 1866 | * that, at this point, we already know that the device was |
1867 | * succesfully intialized at least once before, and so most | 1867 | * successfully intialized at least once before, and so most |
1868 | * of the steps taken there are un-needed here. | 1868 | * of the steps taken there are un-needed here. |
1869 | */ | 1869 | */ |
1870 | static void sym2_reset_workarounds(struct pci_dev *pdev) | 1870 | static void sym2_reset_workarounds(struct pci_dev *pdev) |
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.c b/drivers/scsi/sym53c8xx_2/sym_hipd.c index 297deb817a5d..a7bc8b7b09ac 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.c +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.c | |||
@@ -2692,7 +2692,7 @@ static void sym_int_ma (struct sym_hcb *np) | |||
2692 | * we force a SIR_NEGO_PROTO interrupt (it is a hack that avoids | 2692 | * we force a SIR_NEGO_PROTO interrupt (it is a hack that avoids |
2693 | * bloat for such a should_not_happen situation). | 2693 | * bloat for such a should_not_happen situation). |
2694 | * In all other situation, we reset the BUS. | 2694 | * In all other situation, we reset the BUS. |
2695 | * Are these assumptions reasonnable ? (Wait and see ...) | 2695 | * Are these assumptions reasonable ? (Wait and see ...) |
2696 | */ | 2696 | */ |
2697 | unexpected_phase: | 2697 | unexpected_phase: |
2698 | dsp -= 8; | 2698 | dsp -= 8; |
diff --git a/drivers/scsi/sym53c8xx_2/sym_hipd.h b/drivers/scsi/sym53c8xx_2/sym_hipd.h index 053e63c86822..5a80cbac3f92 100644 --- a/drivers/scsi/sym53c8xx_2/sym_hipd.h +++ b/drivers/scsi/sym53c8xx_2/sym_hipd.h | |||
@@ -54,7 +54,7 @@ | |||
54 | * | 54 | * |
55 | * SYM_OPT_LIMIT_COMMAND_REORDERING | 55 | * SYM_OPT_LIMIT_COMMAND_REORDERING |
56 | * When this option is set, the driver tries to limit tagged | 56 | * When this option is set, the driver tries to limit tagged |
57 | * command reordering to some reasonnable value. | 57 | * command reordering to some reasonable value. |
58 | * (set for Linux) | 58 | * (set for Linux) |
59 | */ | 59 | */ |
60 | #if 0 | 60 | #if 0 |
diff --git a/drivers/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 | ||